CONTEXTX_CORRECT_TRDIR_TADIR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for If the language = ' ', the system sets the language...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter CONTEXTX_CORRECT_TRDIR_TADIR into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Contexts: TRDIR/TADIR cleanup
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.
RS_DELETE_PROGRAM call function 'RS_DELETE_PROGRAM' exporting PROGRAM = P_PROG SUPPRESS_POPUP = 'X' WITH_DOCUMENTATION = ' ' WITH_TEXTPOOL = 'X' exceptions ENQUEUE_LOCK = 1 OBJECT_NOT_FOUND = 2 PERMISSION_FAILURE = 3 REJECT_DELETION = 4 others = 5.
TRINT_DELETE_TADIR_IF_LOCAL call function 'TRINT_DELETE_TADIR_IF_LOCAL' exporting IV_PGMID = 'R3TR' IV_OBJECT = 'CNTX' IV_OBJ_NAME = L_CID exceptions NO_TADIR_ENTRY = 1 DEVCLASS_NOT_FOUND = 2 TADIR_NOT_LOCAL = 3 DB_ACCESS_ERROR = 4 others = 5.
TR_APPEND_LOG call function 'TR_APPEND_LOG' tables XMSG = PROTOCOL.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.