Escolar Documentos
Profissional Documentos
Cultura Documentos
In the exercise you will go directly to the ABAP Editor rather than use the Object
Navigator.
Once in the Editor, you will copy a program, correct errors in the code, merge new
code into it, print it, download it, make further changes and then upload it.
1.
At the SAP Easy Access menu, expand the hierarchy tree to display the ABAP
Editor.
2.
Page
3.
4.
Edit program yxx20a. Correct the report name on the report statement by
replacing Yxx001 with the correct program name.
5.
Insert a new line after line 1. Type the appropriate tables statement on that
line.
6.
7.
8.
9.
on the
Page
10.
11.
Use a function key to save your program, and another function key to execute
it.
Press F11 to save.
Press F8 to execute.
12.
Save the list output to a file on your external storage media by choosing the
menu path: List >> Save/Send >> File. Use unconverted format.
13.
14.
15.
16.
Edit your downloaded program using Notepad. Add a full-line comment after
the report statement with your name in it.
Insert a new line after the report statement: * Created by <Your Name>
17.
Type the following comment at the end of the first select statement:
read all records from table spfli.
18.
19.
20.
Page
21.
Print your program (Note: This may not be available in your Lab).
Press the Print button on the Standard toolbar.
The Print Parameters screen is displayed.
Ensure the Print Immed. check box is checked and Output Device is set to your campus computer room.
Press the Continue button.
Your output is sent to the printer, and you are returned to the ABAP Editor: Change Report screen.
22.
23.
Return to editing program yxx20a and select the last three lines as a block.
24.
Comment out the block using the menu path: Utilities >> Block/buffer >>
Insert comment *
25.
26.
Remove the comments using the menu path: Utilities >> Block/buffer >>
Delete comment *
27.
Page