KW_CONTEXT_CHAIN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter KW_CONTEXT_CHAIN 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.
Selection Text: CONT_IND = Enhancement
Selection Text: CONT_REL = Release
Selection Text: TYPE = Type of processing
Title: Report KW_CONTEXT_CHAIN
Text Symbol: 001 = Enhancement:
Text Symbol: 002 = Release:
Text Symbol: 003 = Standard release:
Text Symbol: 004 = Context chain:
Text Symbol: 005 = Basis release for current chain:
Text Symbol: 006 = First context chain:
Text Symbol: 007 = Full context chain:
Text Symbol: 008 = Priority
Text Symbol: 009 = Basis release
Text Symbol: 010 = Enhancement
Text Symbol: 011 = Release
Text Symbol: 012 = Basis Enhancement
Text Symbol: 013 = Ancestor Enh.
Text Symbol: 014 = Ancestor Rel.
Text Symbol: 015 = Basis release for current chain for NCONT_RES=2:
Text Symbol: 016 = Basis release for current chain for NCONT_RES=3:
INCLUDE IWBCONST.
No SAP DATABASE tables are accessed within this REPORT code!
TIWB_TEST_USER_CHECK * CALL FUNCTION 'TIWB_TEST_USER_CHECK' * EXPORTING * FCT_NAME = C_AUTH_SUPPORT * EXCEPTIONS * NO_AUTHORIZATION = 1 * FCT_NAME_NOT_FOUND = 2 * OTHERS = 3.
IW_C_EXTENSION_GET_NEW CALL FUNCTION 'IW_C_EXTENSION_GET_NEW' EXPORTING extension_id = CONT_IND extension_release = CONT_REL FIRST_CONT_CHAIN = type_chain IMPORTING STANDARD_RELEASE = l_STANDARD_RELEASE TABLES BASE_EXTENSIONS = lt_BASE_EXTENSIONS CONT_STACK = lt_CONT_STACK EXCEPTIONS EXTENSION_NOT_FOUND = 1 EXTENSION_INCOMPLETE = 2 OTHERS = 3.
IW_C_EXTENSION_GET CALL FUNCTION 'IW_C_EXTENSION_GET' EXPORTING extension_id = CONT_IND extension_release = CONT_REL IMPORTING STANDARD_RELEASE = l_STANDARD_RELEASE1 TABLES BASE_EXTENSIONS = lt_BASE_EXTENSIONS1 EXCEPTIONS EXTENSION_NOT_FOUND = 1 EXTENSION_INCOMPLETE = 2 OTHERS = 3.
IW_C_EXTENSION_GET_NEW CALL FUNCTION 'IW_C_EXTENSION_GET_NEW' EXPORTING extension_id = wa_iwextend-ID extension_release = wa_iwextend-REL FIRST_CONT_CHAIN = 2 IMPORTING STANDARD_RELEASE = l_STANDARD_RELEASE TABLES BASE_EXTENSIONS = lt_BASE_EXTENSIONS CONT_STACK = lt_CONT_STACK EXCEPTIONS EXTENSION_NOT_FOUND = 1 EXTENSION_INCOMPLETE = 2 OTHERS = 3.
IW_C_EXTENSION_GET CALL FUNCTION 'IW_C_EXTENSION_GET' EXPORTING extension_id = wa_iwextend-ID extension_release = wa_iwextend-REL IMPORTING STANDARD_RELEASE = l_STANDARD_RELEASE1 TABLES BASE_EXTENSIONS = lt_BASE_EXTENSIONS1 EXCEPTIONS EXTENSION_NOT_FOUND = 1 EXTENSION_INCOMPLETE = 2 OTHERS = 3.
IW_C_EXTENSION_GET_NEW CALL FUNCTION 'IW_C_EXTENSION_GET_NEW' EXPORTING extension_id = wa_iwextend-ID extension_release = wa_iwextend-REL FIRST_CONT_CHAIN = 2 IMPORTING STANDARD_RELEASE = l_STANDARD_RELEASE TABLES BASE_EXTENSIONS = lt_BASE_EXTENSIONS CONT_STACK = lt_CONT_STACK EXCEPTIONS EXTENSION_NOT_FOUND = 1 EXTENSION_INCOMPLETE = 2 OTHERS = 3.
IW_C_EXTENSION_GET CALL FUNCTION 'IW_C_EXTENSION_GET' EXPORTING extension_id = wa_iwextend-ID extension_release = wa_iwextend-REL IMPORTING STANDARD_RELEASE = l_STANDARD_RELEASE1 TABLES BASE_EXTENSIONS = lt_BASE_EXTENSIONS1 EXCEPTIONS EXTENSION_NOT_FOUND = 1 EXTENSION_INCOMPLETE = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.