ADSPC_S2K_DISP_TOOL 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 ADSPC_S2K_DISP_TOOL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
S2KDT - Spec2000 IDoc Display Tool
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: SO_UPDTI = Last changed at
Selection Text: SO_UPDDT = Last changed on
Selection Text: SO_TEST = Test option
Selection Text: SO_STATU = Current status
Selection Text: SO_SNDPT = Sender partner type
Selection Text: SO_SNDPR = Sender partner number
Selection Text: SO_SNDPO = Sender port
Selection Text: SO_SNDPC = Sender partner function
Selection Text: SO_RCVPT = Reciever partner type
Selection Text: SO_RCVPR = Reciever partner number
Selection Text: SO_RCVPO = Reciever partner port
Selection Text: SO_RCVPC = Reciever partner function
Selection Text: SO_MESTY = Logical message type
Selection Text: SO_MESFC = Message function
Selection Text: SO_MESCD = Message code
Selection Text: SO_DOCTY = Basic type
Selection Text: SO_DOCNU = IDoc number
Selection Text: SO_DIR = Direction
Selection Text: SO_CRETI = Time created
Selection Text: SO_CREDT = Date created
Selection Text: SO_CIMTY = Enhancement
Title: Program ADSPC_S2K_DISP_TOOL
Text Symbol: 002 = Additional selection
Text Symbol: 001 = Default selection
INCLUDE ADSPC_S2K_DSP_TOOL_TOP.
INCLUDE ADSPC_S2K_DSP_TOOL_EVNT_RCV_TR.
INCLUDE ADSPC_S2K_DSP_TOOL_EVNT_RCV_GR.
No SAP DATABASE tables are accessed within this REPORT code!
EDI_DOCUMENT_OPEN_FOR_READ CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_READ' EXPORTING document_number = l_docnum * DB_READ_OPTION = DB_READ IMPORTING idoc_control = l_edidc EXCEPTIONS document_foreign_lock = 1 document_not_exist = 2 document_number_invalid = 3 OTHERS = 4.
EDI_SEGMENTS_GET_ALL CALL FUNCTION 'EDI_SEGMENTS_GET_ALL' EXPORTING document_number = l_docnum TABLES idoc_containers = l_edidd EXCEPTIONS document_number_invalid = 1 end_of_document = 2 OTHERS = 3.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = l_strucname * ALL_TYPES = ' ' * LFIELDNAME = ' ' * GROUP_NAMES = ' ' uclen = '01'
* IMPORTING * X030L_WA = * DTELINFO_WA = * TTYPINFO_WA = * DDOBJTYPE = * DFIES_WA = TABLES * X031L_TAB = dfies_tab = tmp_dfies_tab EXCEPTIONS not_found = 1 OTHERS = 2.
EDI_DOCUMENT_CLOSE_READ CALL FUNCTION 'EDI_DOCUMENT_CLOSE_READ' EXPORTING document_number = l_docnum.
LVC_FIELDCATALOG_MERGE * CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = 'EDIDC' * CHANGING * ct_fieldcat = t_fieldcat_lvc_tree[].
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'EDIDC' CHANGING ct_fieldcat = gt_fieldcat_lvc[].
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'ADSPC2_DISPLAY' * ALL_TYPES = ' ' * LFIELDNAME = ' ' * GROUP_NAMES = ' ' uclen = '01'
* IMPORTING * X030L_WA = * DTELINFO_WA = * TTYPINFO_WA = * DDOBJTYPE = * DFIES_WA = TABLES * X031L_TAB = dfies_tab = i_adspc2_display EXCEPTIONS not_found = 1 OTHERS = 2.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p11 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p12 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p13 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p14 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p16 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'EDIDC' CHANGING ct_fieldcat = gt_fieldcat_lvc[].
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2K01' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = gt_fieldcat .
EDI_DOCUMENT_OPEN_FOR_READ CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_READ' EXPORTING document_number = tdocnum-docnum * DB_READ_OPTION = DB_READ IMPORTING idoc_control = tmp_edidc * EXCEPTIONS * DOCUMENT_FOREIGN_LOCK = 1 * DOCUMENT_NOT_EXIST = 2 * DOCUMENT_NUMBER_INVALID = 3 * OTHERS = 4 .
EDI_SEGMENTS_GET_ALL CALL FUNCTION 'EDI_SEGMENTS_GET_ALL' EXPORTING document_number = tdocnum-docnum TABLES idoc_containers = tmp_edidd * EXCEPTIONS * DOCUMENT_NUMBER_INVALID = 1 * END_OF_DOCUMENT = 2 * OTHERS = 3 .
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p41 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p42 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p43 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p44 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p31 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p32 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADSPC2_DISPLAY' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fldcat_e1s2p33 EXCEPTIONS inconsistent_interface = 1 program_error = 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.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name ADSPC_S2K_DISP_TOOL or its description.
ADSPC_S2K_DISP_TOOL - Program ADSPC_S2K_DISP_TOOL ADSPC_S2K_DISP_TOOL - Program ADSPC_S2K_DISP_TOOL ADSPC_S2K_DISP_PNPOSTAT - Include ADSPC_S2K_DISP_PNPOSTAT ADSPC_PARTNER_PROF_TOP - Include ADSPC_PARTNER_PROF_TOP ADSPC_PARTNER_PROF_O - Include ADSPC_PARTNER_PROF_O ADSPC_PARTNER_PROF_I - Include ADSPC_PARTNER_PROF_I