ABAP Programs for Beginners – PDF Download

Industrial Management Consulting
Industrial Management Consulting

http://www.manostaxx.com

*&———————————————————————*
*& Chapter 1: A Few Simple Examples *
*&———————————————————————*
REPORT CHAP0102.
* Copying the content of one data object to another
DATA: SOURCE(10) TYPE C,
TARGET LIKE SOURCE.
MOVE SOURCE TO TARGET.
* Displaying the contents of fields
WRITE ‘ABAP/4 is easy.’.
NEW-LINE.
WRITE ‘This text is displayed on a new line.’.
WRITE / ‘After the symbol /, text also appears on a new line.’.
* Standard control structures (conditions and loops)
IF SOURCE = TARGET.
WRITE / ‘Fields source and target have the same content’.
ELSE.
WRITE / ‘Fields source and target do not have the same content’.
ENDIF.
DO 3 TIMES.
WRITE / SY-INDEX.
ENDDO.
* Local subroutine of a single program
DATA: A1 TYPE I,
A2 TYPE I.
PERFORM CALC USING A1
CHANGING A2.
WRITE / A2.
FORM CALC USING F1 LIKE A1
CHANGING F2 LIKE A2.
F2 = F1 + ( F2 * 17 ).
ENDFORM.
* Event for drill-down facilities (reacts when a user selects a line)
AT LINE-SELECTION.
WRITE ‘This is displayed after double-clicking a line’.

Download PDF here

Continue at: http://www.abap-tutorials.com/wp-content/uploads/2010/05/abapcodebook.pdf

The text above is owned by the site above referred.

Here is only a small part of the article, for more please follow the link

Also see:

https://dadoswebaxx.weebly.com/

Web Data Extraction
Web Data Extraction
Posted in IT

2 Replies to “ABAP Programs for Beginners – PDF Download”

Leave a Reply to link 188bet Cancel reply

Your email address will not be published. Required fields are marked *