Itab Questions
Itab Questions
Develop a Report (Name: Z##ITAB01) Declare an internal table with following fields from table KNA1 KUNNR Customer number NAME1 First Name LAND1 Country ORT01 City TELF1 Telephone Perform the following operations on the internal table: Fill the internal table from DB table KNA1 (all records). Modify the City of all customers to NEW YORK when the Country is US . Modify the Telephone No of each customer by Prefixing 2 to the existing Telephone No. Delete all the customers of country DE Sort the internal table by Name1. Display the internal table contents. 2. Develop a Report (Name: Z##ITAB03) Read table SFLIGHT into an internal table for all American Airlines AA flights, an d output the following contents to the screen: Carrier Id Connect Id Flight date Payment sum Check the return code when selecting from SFLIGHT to make sure entries of SFLIGH T are found. If no entries are found in SFLIGHT, exit the program. Outputting the contents to the screen for the modified contents. For the modifications of SFLIGHT complete the following: Delete all internal table lines with sales lower than 40,000. Read the internal table with country AA connection 0017 and flight date 19991007 . Multiply the PAYMENT SUM by 3 and change the table entry. To change the table e ntry use the MODIFY statement. Output the modified internal table. 3.Insert records from Work area and Internal table to Data base table . take example of zstudent.. also try for Modify statement from work area to DB ta ble. 4. Develop a report program by taking material no as an input at runtime, and se arch the material no in db table MARA, if record found in DB display the record or display the message record not found in the output. 5. Develop a Report program to display Vendor information from DB Table LFA1, Specific fields - vendor A/C NO, Vendor Name, Vendor City, Vendor Telpho ne number using SELECT-OPTIONS.