views
Call transaction SE38 and press enter.
Type the name of the program starting with Z/Y (SAP convention for customizing objects) and press Create
Type a title for your program: example My first program title and select Executable program as attributes type and press Save
You will be asked to set a package where the object (here is the program) is going to be put in. For a test example we will put it in package Z_IDES
You will be asked to set a request. Create a new request, type a description name and then press save
The next screen is where you type your code.
Write the code Obs. Lines that start with * are comment lines, using * you can add comments to your code. Obs. you have an instruction in your program: REPORT ZTEST_FIRST_PROGRAM. - this means that your program is an executable program. WRITE is used to display a text and NEW-LINE is used to display the string in a new line.
Save, check and activate the program. If you have any errors they will be displayed at the bottom of the page.
If no errors are displayed, you can process the program.
Next the title and the strings are displayed.
Comments
0 comment