This action might not be possible to undo. Are you sure you want to continue?
1. Create a structure for address with the following fields a. SuiteNo, StreetNo, StreetName, Region, City, Country, Zipcode, tele_home, tele_business, tele_fax. 2. Create a Vendor database table with fields, Id, name, and address structure created in Q1. 3. Create a maintenance screen for the above table and assign a transaction code. Use the transaction code to maintain the table and create entries in it. 4. Create a database view V_DBMARA for MARA and try to maintain it creating entries through the view and see if the table MARA gets updated. 5. Create a database view V_DBSO for EKKO and EKPO and try to maintain it updating the records in it through the view and see if the tables EKKO and EKPO gets updated. 6. Create a Projection view V_PJLFA1 for LFA1. What’s the difference do you observe? 7. Create a maintenance view V_MTPO for EBELN and EBELP and try to maintain its records through the view and see if the tables EBELN and EBELP get updated. 8. Create a Help view V_HLPKNA1 for KNA1 9. List the differences between a Maintenance view, Database view and a Help view 10.Create elementary search help for a. Vendors by company b. Vendors by material c. Vendors by country 11.Create a collective search help and include all the elementary search helps created in Q10. 12.Create lock objects for the table created in Q1. Check the function modules created. 13.Write a program to update the table you have created in Q1. Use the lock objects created for the tale in Q12. Internal Tables
. Determine for each material type (MTART) the 5 table entries with the highest gross weight (as a ranked list). document number. Allow the user to specify the Material type as a parameter on the selection screen. document type and date of document. Read table TABNA into internal table and output the fields. document number. Read the internal table with entry with the key CARRID = LH and CONNID = 0400. use data. explore all possible methods to create the internal table with header line without header line.. To do this read the table SFLIGHT and store the airline carried id (CARRID) and the maximum number of seats (SEATSMAX) in an internal table. Create an internal table called T_BSIS having a similar structure as table BSIS. account type and tax code from table BSEG and display the same with column heading. Delete all the internal table entries where the airline carrier (CARRID) is not equal to LH.. Read the table SFLIGHT into an internal table and then output the internal table with the fields CARRID. name of the user and sales document type from table VBAK and price group and customer group from table VBKD Sort the table according to material number and display the contents 4. Sales document and material from table VBAP Date. include structure...) Also create a field string F_BSIS.1. 7. - 6...Etc. Then output the internal table. Populate the internal table with the contents of BSIS. (use ALV and use REUSE_FIELD_CATALOGUE_MERGE Function Module) 2. To do this read the table MARA and store the material type (MTART) material number (MATNR). 5. Create an internal table taking all the fields from BKPF and display fields company code.. . Data.End of data.. FLDATE and PRICE. Create and internal table taking fields company code. (Classical report) 3. Determine the total number of seats for each airline carrier when filling the internal table. multiply the price by 3 and write the modified entry back to the internal table. 8. begin of. Sort the table according to company code and display contents. unit of measure (MEINS) and gross weight (BRGEW) into an internal table. Create and internal table with following fields. Like. Create a list of the maximum number of available seats for each CARRIER.
- Country. Material: select-options. Put back the record into the table Delete first three records of internal table Clear header for internal table each time your access a record. Sort the internal table LIFNR Read the internal table with LIFNR = ‘xxxxxxxx‘and change name to trainee. 9. Plant data should start at new page. 10. Use LFA1. Output as Plant Storage location Material number Description Stock (unrestricted) . Input: selection screen which will allow. sort the table with country Delete all internal table lines with sales lower that 50. selecting a range of materials. name1 and sales. LFB1 AND LFM1 Define an internal table with the following LIFNR like LFA1-LIFNR BUKRS like LFB1-BUKRS EKORG like LFM1-EKORG. Add data from these tables into the internal tables.Create a report which will give the existing stock for a material. The report should have subtotal of the stock for each storage location and grand total of the stock at the end of the plant.000 Read internal table with key ’GB’ and ‘00000003’ and multiply the sales by 3 and change table entry Insert any one record of your choice Find out how many lines are there in the internal table Remove all the contents of the table De-allocate the memory associated with the table. id.
Excel application should execute and should be displayed to the user. plant and storage data Input: material number (MARA-MATNR) Choose any 5 materials. MAKT. 13. Read the internal tables for a specific record given in the second input field ‘Search Item’ in the selection screen and print the time taken for reading / searching the specified value through each internal tables. c.Generate a report for displaying material description . QUANTITY) b. Show into the HTML format and should be displayed in the browser. Output format Material no. Each table contains 2 fields.Test for performance of internal tables.GrandTotal xxxxxxxxx 11. and hashed). c. (Use EXCEL_OLE_STANDARD_DAT) b. d. Show the data into Standard XML format. . Unrestricted stock Xxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx All texts are to be generated using Text Elements only Use tables MARA. Excel Sheet. The excel sheet should contain the Field Names in the first column. Description Xxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx Plant: Storage loc. and MARD. The internal tables should be populated with number of records which the user gives in the selection screen. (INDEX. Create program to declare 3 internal tables of different kind (standard.Pull the data from EKKO and EKPO into an internal table with a selection criteria as sales document number as the range (select options) and display the data in a. MARC. - 12. a. Selection screen should accept a 2 parameter for ‘Number of records’ and ‘Search item’. sorted.
For example : if the number is 66 the output should be SIXTY SIX Accept the input number as a parameter 4. iii. Write a subroutine CENTER-STRING which will output a string on the centre of a line. Symbols: i. Subroutines 1. Checked. .. Icons and Formatting 1. Send the data as an attachment to your own email id... Symbols. Use a subroutine for the output by passing the internal table as the parameter. vi. Ex if limit = 67 and digit = 4 then sum should be the sum of 4.d. For each flight connection calculate the sales for all flights of an airline carrier. v. Caution. Icons: i. Hand pointing right. Write a program to show the following using system variables (hint: use include<symbol> and include <icon> a.. Fax machine. The subroutine will accept parameters STRING pass by value. write a subroutine that will calculate the sum of all numbers (below the limit) that end with the digit. Use internal table for calculating the sales.... Write a program extensively using subroutines to print the equivalent number in words. iv. Accept a date from the user Write a date as dd-mmm-yyyy 5. 3. . 14.. Read the number between 0 and 100 and another digit between 0 and 9. Telephone. 24. The parameters to be passed are limit and digit both by value and sum by reference. 34. Traffic lights b.64 2. Hand pointing left. ii.
Show a value ‘123456’ as 12:34:56 ‘using edit mask’ 5.. Print. Write a program to show a string with different background colours. Suppress a sign before a number. .. . Take a number as ‘0000011’. Your program should be able to accept any string. 3. Declare a string ex: ‘echo’ and design your output. Strings 1.ii.. format colour.. 4. Suppress all leading zeros.. E E C ECH ECHO ECH EC E 2. Accept a string and change all occurrences of a to b. . Create an output as shown below (input for the program say 5 thru selection screen) . Accept a string and display the string in reverse order 5.. 3. 6. 2.. . Okay iii. Accept a string and check for palindrome 4. Delete iv. format inverse.. ... Use format intensified – format intensified off.
2*1 = 2 2*2 = 4 . Accept two stings and compare the two stings using ‘co’. ‘cs’. .6. 9. Output should contain only Even numbers Odd numbers should not be displayed 5. 2*10 = 20 3. Write a program with DO. ‘cp’. Output the result with 2 decimal places.ENDDO Loop for first 20 numbers. Create a calculator which performs the four basic types of calculations on two whole numbers. (Output shall be ‘true’ or ‘false’ for each comparison. The two values and the option to be entered on the selection screen as parameters. Accept numbers and choice ‘EVEN’ or ‘ODD” from the user and display the numbers in that range according to user’s choice. Loops 1. Write a program with DO. 4. . 6. Write a program with DO-ENDDO Loop for first 20 numbers Odd numbers and even numbers should be displayed with alternate intensities. Accept a number from user and find Factorial of the same. 8. If the numbers is negative then display some message. Write a program to accept a number (say 2) from user and create a multiplication table. (format options) 7. ‘ca’. 1 2 3 1 4 9 2. Write separate programs using ‘CONTINUE’ and ‘EXIT’ statements in DO LOOP.ENDDO Loop Display squares of numbers 1 to 10. Accept a number and print all the prime numbers starting from 1 till the given number.
Write a program to accept month.b.b. 1 & c. iii. 1 is clicked else c. If checkbox 1 & 2 are clicked write c. Accept a date earlier to today’s date and fine the difference in number of days. Write a program with Parameter as checkbox If you click the checkbox the display first day of the next year . 2. 2. 2 not clicked. 2 is clicked else c. If checkbox 1 & 2 are not clicked write c. months and days.b.Date 1. ‘Feb. Accept a date form user and add six months to the date 4.b.b. If checkbox 2 is clicked write c. ii. 6. Write a program with a. Write a program with Parameters as two groups of radio buttons (two radio buttons in each group) Give detailed coding as above. 2 are not clicked. Of days in that month. 1 & c. Parameter as checkboxes i.b.b. Accept birth date form user and output age in years. Make use of o o Text element for your selection screen box Selection text. and display this date 5. Check Boxes and Radio Buttons 1.b. If checkbox 1 is clicked write c. 1 are clicked iv. Display no. Accept a date form user and convert month part to ‘Jan’. 1 not clicked. Accept a date from user and display first day of the month and last day of the previous month. 3.’ etc. to show the radio buttons and groups selected 3.
List the flights where CARRID is between ‘LH’ and ‘SQ’. 4. 8. Display the amount also in words. Display total amount for CARRID ‘LH’ (tables: SFLIGHT). 6. List all the rows from the table VBAK. Accept document no. Write a program with Parameter as group of 3 radio buttons. display date after six months Select statements 1. From user and display particulars of Sales Document. Display CARRID. 9. CONNID. (table VBAP) 2. 7.- If the checkbox is not clicked then display last day of the current year. Carrier ID Departure time Start airport Destination airport Open SQL 1. FLDATE and luggage weight multiplied by 2. Description of that material and item category (table VBAP) 3. display first day of the next month If third radio button. & item category by default PP1000 and KMN respectively display corresponding details of sales document (table VBAP) 4. From user and display corresponding material no. List up to 5 rows from the table BSIS. List single row from the table BKPF 3. List all ERDAT’s for better readability create a column heading in the list 5. Tables SPFLI. Accept sales document no. Display fields from BKPF. list all the available on this route. 4. If first radio button is clicked. Accept material no. Document type ‘AB’ and . display last day of the current month If second radio button. From the given FROM-CITY and TO-CITY . List all the flights for which payments currency is ‘DEM’. 2.
Doc type 7. Make use of select options to give range of document type Display title of your program at the end of program.e. Accept DOC. Screen three: o Entry fields: SFLIGHT-CARRRID.STATUS.NO from user. Of records selected. 5. SFLIGHT-CONNID.1998’ Also display no.CODE . SFLIGHT-SEATSOCC Pushbuttons: FIRSTSCREEN. o - Pushbutton: FIRSTSCREEN. ACCT. When NEXT button is pressed display screen 2 or screen 3 on the radio button selected. FLDATE. EXIT.. date of doc. 2.NEXT.TYPE . TAX CODE.NO. SFLIGHT-SEATSMAX. EXIT. Accept plant from user Eg: 100 Display document detail for the plant like DOC. EXIT..R1 and R2 Push button: 2. 6.- Document date ’05. Display CO. SPFLI-CITYTO. Create a transaction with three screens Screen one: o o Radio button : 2 . DATE OF DOCUMENT. SPFLI-CONNID. DOC. if R1 is selected display 2 or if R2 is selected display screen 3 Screen two: o Entry fields: SPFLI-CARRID. Use SELECT SINGLE. SFLIGHT- o - ‘FIRSTSCREEN’ pushbutton is to display screen 1 and exit is to quit the transaction. Doc status.NO.02. SPFLI-CITYFROM. Module Pool 1. DOC. I. No. Display doc. Create a transaction with one screen .
next. Create a transaction with two normal screens and two subscreens. last using the internal table index) EXIT to quit the transaction. Copy above transaction and enhance it with the following features. Subscreen o Display fields: MAKT-SPRAS. - 4. Place two pushbuttons ‘LIST’ and ‘ALV LIST’. first. MARD-LGORT. MARD-MATNR. EXIT. DESCRIPTION Pushbutton: DISPLAY. PREVIOUSRECORD. MAKT-MAKTX - When the display push button is clicked. o o 3.e. Screen 1. screen3 if plant is selected and screen 4 if description is selected).e. (i. previous. MARD-WERKS. - Screen 3. MARD-WERKS. When this button ‘LIST’ is pressed display a list in classical reporting and ‘ALV LIST’ button is pressed display an ALV list for the fields. Normal screen o o Display fields: MARA-MATNR Pushbuttons: BACK. Screen 2. display screen 2 with the proper subscreen attached to it based on the selection of radio button. ALV Classical Function Module .. MARD-LGORT Pushbuttons: FIRSTRECORD. EXIT. EXIT. Use LEAVE-TO-LIST-PROCESSING. LASTRECORD.- Screen one: o o Entry fields: MARD-MATNR. Subscreen o Display fields: MARD-WERKS. - Screen 4. Normal screen o o o Entry fields : MARA-MATNR Radiobuttons: PLANT. Select the data from MARD into an internal table and whenever a button is pressed display the corresponding record ( i. NEXTRECORD. MARD-LGORT.
.1. 14. Reuse_alv_events_get 5. 16. How to use pop-up-ALV 10. (Cell coloring) o Ex: I am trying to display an ALV list with two columns' of employee. (Search and do it. 12.How to set custom logo in ALV reporting 11.How to use layout and its different properties.. 15.How to use print parameters or handling printing in ALV . Cover all the events. How to use a Block ALV 7.How to add a custom (GUI element) button on the ALV application tool bar and how to handle it. How to use an Interactive ALV list 9. How to use simple ALV list 2. How to use a Hierarchical Sequential ALV list 8. o o With using Reuse_alv_events_get Without using 4.How to use variants...How to use sorting totals and subtotals.How to color a particular field of a row. How to trigger ALV events. don't leave anything) 6. 13. name and his salary So whenever the salary crosses value 10000 then that particular cell should be clouded differently. How to use simple Grid ALV 3.