2022 Feb 21 7:06 AM
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.
2022 Feb 21 7:07 AM
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
2022 Feb 21 7:11 AM
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.