Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modify Internal table

0 Likes
796

This program reads table SFLIGHT and outputs the carrier code, Id, flight date and payment sum on the screen. Then the program modifies the contents of SFLIGHT using a work area and writes out the modifications to the screen. 1. Read table SFLIGHT into an internal table for all American Airlines ‘AA’ flights, and output the following contents to the screen: Carrier Id, Connect Id, Flight date, Payment sum.

2.Check the return code when selecting from SFLIGHT to make sure entries of SFLIGHT are found. If no entries are found in SFLIGHT, exit the program. After outputting the contents to the screen have a NEW PAGE for the modified contents.

3. Modify SFLIGHT with the following: i) Delete all internal table lines with sales lower than 40,000. ii) Read the internal table with country ‘AA’ connection ‘0017’ and flight date ‘19991007’ (or any other date as per database values). Multiply the PAYMENT SUM by 3 and change the table entry. To change the table entry use the MODIFY statement. iii) Output the modified internal table.

2 REPLIES 2
Read only

lenastodal
Product and Topic Expert
Product and Topic Expert
0 Likes
650

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.

For example, you can:
- outline what steps you took to find answers (and why they weren't helpful)
- share screenshots of what you've seen/done
- make sure you've applied the appropriate tags
- use a more descriptive subject line

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html
Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://www.youtube.com/watch?v=46bt1juWUUM


Join or subscribe to SAP Community Groups to stay up-to-date, including SAP TechEd Group.
Read only

matt
Active Contributor
650

A series of instructions for YOU to do. This is clearly from a tutorial. YOU should try to the exercise. Not just, as it seems here, ask someone to provide you with the code.