Data Dictionary 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 the total number of seats for each airline carrier when filling the internal table. Create a list of the maximum number of available seats for each CARRIER. 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. include structure.End of data. (Classical report) 3. Populate the internal table with the contents of BSIS... ..1. Read table TABNA into internal table and output the fields. explore all possible methods to create the internal table with header line without header line. Read the table SFLIGHT into an internal table and then output the internal table with the fields CARRID. Read the internal table with entry with the key CARRID = LH and CONNID = 0400. 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.Etc. use data.. Create and internal table with following fields.. begin of.) Also create a field string F_BSIS. Create an internal table taking all the fields from BKPF and display fields company code. Then output the internal table. Create and internal table taking fields company code. multiply the price by 3 and write the modified entry back to the internal table.. 8. document type and date of document. Determine for each material type (MTART) the 5 table entries with the highest gross weight (as a ranked list). Create an internal table called T_BSIS having a similar structure as table BSIS.. - 6.. To do this read the table MARA and store the material type (MTART) material number (MATNR). Like. account type and tax code from table BSEG and display the same with column heading. unit of measure (MEINS) and gross weight (BRGEW) into an internal table. (use ALV and use REUSE_FIELD_CATALOGUE_MERGE Function Module) 2. document number. FLDATE and PRICE. Data. Sales document and material from table VBAP Date. document number. Sort the table according to company code and display contents. Delete all the internal table entries where the airline carrier (CARRID) is not equal to LH. 5.. Allow the user to specify the Material type as a parameter on the selection screen. 7.

Input: selection screen which will allow. Output as Plant Storage location Material number Description Stock (unrestricted) .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. selecting a range of materials. Plant data should start at new page. Material: select-options. Sort the internal table LIFNR Read the internal table with LIFNR = ‘xxxxxxxx‘and change name to trainee. LFB1 AND LFM1 Define an internal table with the following LIFNR like LFA1-LIFNR BUKRS like LFB1-BUKRS EKORG like LFM1-EKORG. 10. Add data from these tables into the internal tables. Use LFA1. id. sort the table with country Delete all internal table lines with sales lower that 50.Create a report which will give the existing stock for a material. 9. 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. The report should have subtotal of the stock for each storage location and grand total of the stock at the end of the plant.- Country. name1 and sales.

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. MAKT.Generate a report for displaying material description .GrandTotal xxxxxxxxx 11.Test for performance of internal tables. MARC. and hashed).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. Create program to declare 3 internal tables of different kind (standard. Show into the HTML format and should be displayed in the browser. Show the data into Standard XML format. - 12. Excel Sheet. sorted. Output format Material no. Selection screen should accept a 2 parameter for ‘Number of records’ and ‘Search item’. QUANTITY) b. and MARD. Each table contains 2 fields. (Use EXCEL_OLE_STANDARD_DAT) b. 13. Description Xxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx Plant: Storage loc. Excel application should execute and should be displayed to the user. The excel sheet should contain the Field Names in the first column. a. d. c. Unrestricted stock Xxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx All texts are to be generated using Text Elements only Use tables MARA. The internal tables should be populated with number of records which the user gives in the selection screen. plant and storage data Input: material number (MARA-MATNR) Choose any 5 materials. . c. (INDEX.

For example : if the number is 66 the output should be SIXTY SIX Accept the input number as a parameter 4. Hand pointing right.64 2. ii. v. Ex if limit = 67 and digit = 4 then sum should be the sum of 4. iv. ii.. Read the number between 0 and 100 and another digit between 0 and 9. The subroutine will accept parameters STRING pass by value.. Use internal table for calculating the sales. Okay . The parameters to be passed are limit and digit both by value and sum by reference. Fax machine. Symbols. 34. Symbols: i. For each flight connection calculate the sales for all flights of an airline carrier. Use a subroutine for the output by passing the internal table as the parameter. iii. 3. Subroutines 1. write a subroutine that will calculate the sum of all numbers (below the limit) that end with the digit. 24. Accept a date from the user Write a date as dd-mmm-yyyy 5. 14. Hand pointing left. Write a program extensively using subroutines to print the equivalent number in words.d... Traffic lights b. vi. Telephone. Send the data as an attachment to your own email id. Write a program to show the following using system variables (hint: use include<symbol> and include <icon> a.. Icons and Formatting 1. Caution... Checked. Icons: i.. . Write a subroutine CENTER-STRING which will output a string on the centre of a line.

format inverse.. Create an output as shown below (input for the program say 5 thru selection screen) .. 3. ‘cp’. ‘ca’. Delete iv. Declare a string ex: ‘echo’ and design your output. format colour. Accept a string and display the string in reverse order 5. ‘cs’... Suppress all leading zeros. . 6. . 2. E E C ECH ECHO ECH EC E 2. Show a value ‘123456’ as 12:34:56 ‘using edit mask’ 5. 4. Strings 1. .. Your program should be able to accept any string. Suppress a sign before a number... Accept two stings and compare the two stings using ‘co’. .. 3. Use format intensified – format intensified off. Write a program to show a string with different background colours. Accept a string and change all occurrences of a to b. 6. Take a number as ‘0000011’.iii. Accept a string and check for palindrome 4. . Print... (Output shall be ‘true’ or ‘false’ for each comparison.

8. Write a program with DO-ENDDO Loop for first 20 numbers Odd numbers and even numbers should be displayed with alternate intensities. 9.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. Output the result with 2 decimal places. . Accept a number from user and find Factorial of the same. Write a program with DO. Write a program to accept a number (say 2) from user and create a multiplication table.ENDDO Loop for first 20 numbers. Output should contain only Even numbers Odd numbers should not be displayed 5. 2*10 = 20 3. The two values and the option to be entered on the selection screen as parameters. (format options) 7. Write separate programs using ‘CONTINUE’ and ‘EXIT’ statements in DO LOOP. 1 2 3 1 4 9 2. 4. If the numbers is negative then display some message.Loops 1. Date . Write a program with DO. Create a calculator which performs the four basic types of calculations on two whole numbers. 6. 2*1 = 2 2*2 = 4 . Accept numbers and choice ‘EVEN’ or ‘ODD” from the user and display the numbers in that range according to user’s choice.

b. If checkbox 1 & 2 are clicked write c. Parameter as checkboxes i.b. 1 are clicked iv.b. Accept birth date form user and output age in years. ii. If checkbox 1 & 2 are not clicked write c. Accept a date form user and add six months to the date 4. 1 & c.b. 2 is clicked else c. to show the radio buttons and groups selected 3. 1 & c. 1 is clicked else c. 2. Write a program to accept month.’ etc. 3. Make use of o o Text element for your selection screen box Selection text.b. 6. months and days. 2. Accept a date earlier to today’s date and fine the difference in number of days.1.b. and display this date 5. Write a program with a. . Accept a date from user and display first day of the month and last day of the previous month. 2 are not clicked. 2 not clicked. Write a program with Parameters as two groups of radio buttons (two radio buttons in each group) Give detailed coding as above. If checkbox 2 is clicked write c. Accept a date form user and convert month part to ‘Jan’. Check Boxes and Radio Buttons 1. iii.b. Display no. ‘Feb. If checkbox 1 is clicked write c. Write a program with Parameter as checkbox If you click the checkbox the display first day of the next year If the checkbox is not clicked then display last day of the current year. Of days in that month.b. 1 not clicked.

& item category by default PP1000 and KMN respectively display corresponding details of sales document (table VBAP) 4. Document type ‘AB’ and Document date ’05. 7. List all the rows from the table VBAK. Write a program with Parameter as group of 3 radio buttons. Display fields from BKPF. Display total amount for CARRID ‘LH’ (tables: SFLIGHT). display date after six months Select statements 1.1998’ . (table VBAP) 2. list all the available on this route. List single row from the table BKPF 3. List all the flights for which payments currency is ‘DEM’. Accept material no. From user and display particulars of Sales Document. Tables SPFLI. Display CARRID.02. 9. CONNID. If first radio button is clicked.4. Carrier ID Departure time Start airport Destination airport Open SQL 1. 2. List the flights where CARRID is between ‘LH’ and ‘SQ’. Description of that material and item category (table VBAP) 3. 8. Accept sales document no. 6. 4. Accept document no. Display the amount also in words. List up to 5 rows from the table BSIS. From the given FROM-CITY and TO-CITY . List all ERDAT’s for better readability create a column heading in the list 5. display first day of the next month If third radio button. display last day of the current month If second radio button. FLDATE and luggage weight multiplied by 2. From user and display corresponding material no.

. SFLIGHT-SEATSMAX. Display CO. TAX CODE. No. if R1 is selected display 2 or if R2 is selected display screen 3 Screen two: o Entry fields: SPFLI-CARRID. SFLIGHT-SEATSOCC Pushbuttons: FIRSTSCREEN. o - Screen three: o Entry fields: SFLIGHT-CARRRID.R1 and R2 Push button: 2. ACCT.NO. EXIT. 6. DOC. FLDATE. SPFLI-CITYFROM. Doc type 7. Pushbutton: FIRSTSCREEN. SFLIGHT-CONNID. EXIT. SFLIGHT- o - ‘FIRSTSCREEN’ pushbutton is to display screen 1 and exit is to quit the transaction. Of records selected.TYPE .e. EXIT. When NEXT button is pressed display screen 2 or screen 3 on the radio button selected. Display doc. Module Pool 1. 5. Create a transaction with one screen Screen one: . DATE OF DOCUMENT.STATUS. Create a transaction with three screens Screen one: o o Radio button : 2 .NEXT.. SPFLICITYTO.NO. SPFLI-CONNID. Doc status. Use SELECT SINGLE. Make use of select options to give range of document type Display title of your program at the end of program. 2. Accept DOC.- Also display no. DOC. I.CODE . date of doc. Accept plant from user Eg: 100 Display document detail for the plant like DOC.NO from user.

Screen 1. EXIT..o o Entry fields: MARD-MATNR. MARD-LGORT. previous.e. Normal screen o o Display fields: MARA-MATNR Pushbuttons: BACK. Normal screen o o o Entry fields : MARA-MATNR Radiobuttons: PLANT. - Screen 4. (i. Create a transaction with two normal screens and two subscreens. Use LEAVE-TO-LIST-PROCESSING. MARD-WERKS. Select the data from MARD into an internal table and whenever a button is pressed display the corresponding record ( i. MARD-WERKS. last using the internal table index) EXIT to quit the transaction.e. NEXTRECORD. 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. Place two pushbuttons ‘LIST’ and ‘ALV LIST’. Subscreen o Display fields: MARD-WERKS. display screen 2 with the proper subscreen attached to it based on the selection of radio button. - 4. MARD-MATNR. MAKT-MAKTX - When the display push button is clicked. DESCRIPTION Pushbutton: DISPLAY. ALV Classical Function Module 1. - Screen 3. MARD-LGORT. LASTRECORD. EXIT. screen3 if plant is selected and screen 4 if description is selected). EXIT. Screen 2. PREVIOUSRECORD. MARD-LGORT Pushbuttons: FIRSTRECORD. o o 3. first. next. Subscreen o Display fields: MAKT-SPRAS. Copy above transaction and enhance it with the following features. How to use simple ALV list .

How to use an Interactive ALV list 9. don't leave anything) 6. 12.How to use variants.2.How to use layout and its different properties. 14. 13. How to use a Block ALV 7. How to use pop-up-ALV 10. 15. Reuse_alv_events_get 5... How to use a Hierarchical Sequential ALV list 8.How to use sorting totals and subtotals.How to color a particular field of a row.How to use print parameters or handling printing in ALV . How to use simple Grid ALV 3. How to trigger ALV events.How to add a custom (GUI element) button on the ALV application tool bar and how to handle it. (Cell coloring) o Ex: I am trying to display an ALV list with two columns' of employee. name and his salary So whenever the salary crosses value 10000 then that particular cell should be clouded differently. 16.How to set custom logo in ALV reporting 11.. (Search and do it.. Cover all the events. o o With using Reuse_alv_events_get Without using 4.

Sign up to vote on this title
UsefulNot useful