Context information
Replace this… | …with this! |
---|---|
SY-UNAME | CL_ABAP_CONTEXT_INFO=>GET_USER_TECHNICAL_NAME( ) The class can evel read some more user details: CL_ABAP_CONTEXT_INFO=>GET_USER_FORMATTED_NAME() CL_ABAP_CONTEXT_INFO=>GET_USER_DESCRIPTION( ) |
SY-LANGU | CL_ABAP_CONTEXT_INFO=>GET_USER_LANGUAGE_ABAP_FORMAT( ) |
SY-DATUM | CL_ABAP_CONTEXT_INFO=>GET_SYSTEM_DATE( ) |
SY-UZEIT | CL_ABAP_CONTEXT_INFO=>GET_SYSTEM_TIME( ) |
SY-ZTONE | CL_ABAP_CONTEXT_INFO=>GET_USER_TIME_ZONE( ) |
Lock objects
Replace this… | …with this! |
---|---|
Function modules: ENQUEUE_E_TABLE DEQUEUE_E_TABLE DEQUEUE_ALL | cl_abap_lock_object_factory with the methods enqueue( ) and dequeue( ) Find out more here. |
Background jobs
Replace this… | …with this! |
---|---|
sm36 – Background Jobs | Application jobs Find out more here. |
Table maintenance
Replace this… | …with this! |
---|---|
sm30 – Table maintenance | Business Configuration Find out more here. |
Capture Call Stack
Replace this… | …with this! |
---|---|
SYSTEM_CALLSTACK SYSTEM_CALLSTACK_OF_PROCESS | xco_cp_call_stack Find out more here. |
Change Documents
Replace this… | …with this! |
---|---|
Tables: CDHDR and CDPOS Function module: CHANGEDOCUMENT_READ_HEADERS | CL_<change document object name>_CHDO Find out more here. |
Text output (WRITE)
Replace this… | …with this! |
---|---|
WRITE ‘text’. | IF_OO_ADT_CLASSRUN out->write( ‘text’ ). Find out more here. |
To be extended in the future 🙂