Posts

Showing posts with the label ABAP Write Processing

SAP ERP ABAP SIMPLE OUTPUT STATEMENTS

Image
Module Objectives •Explain the WRITE statement •Define text symbols •Use system fields •ABAP Expressions for WRITE Processing Review on How to create an ABAP Program The WRITE Statement Text Symbols Text symbols have the advantage of being translated to different languages depending on the logon language without further coding. After maintenance, save and activate the text symbols. System Fields •System fields are variables filled by the ABAP runtime environment and can be used in an ABAP program to know system statuses. •They should only be accessed on a read-only basis and not modified during runtime. Examples: sy-datum – system date sy-datlo – user local date sy-uname – user name sy-langu – SAP logon language key sy-uzeit – system time sy-timlo – user local time sy-repid – current ABAP program sy-sysid – current SAP system ABAP Expressions for WRITE Processing Using String Templates •String templates enables us to create a new character string out of literal texts and embedded expre...