WSCDSHOW_ALV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report to display change documents in the delivery...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 WSCDSHOW_ALV into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VL22N - Display Delivery Change Documents
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: GF_VBELN = Delivery
Selection Text: GF_USER = User
Selection Text: GF_SZEIT = Time of change
Selection Text: GF_SPOSI = Document Items
Selection Text: GF_POSNR = Item
Selection Text: GF_ANUEB = Overview
Selection Text: GF_ANDET = Detail view
Selection Text: GF_AEDAT = Changes from date:
Title: Display change documents of delivery
Text Symbol: 023 = Time
Text Symbol: 024 = Transaction code
Text Symbol: 025 = Document header
Text Symbol: 029 = Added
Text Symbol: 030 = Changed
Text Symbol: 031 = Deleted
Text Symbol: 032 = Change Object
Text Symbol: 033 = Unable to display change
Text Symbol: 034 = Table
Text Symbol: 035 = Field name
Text Symbol: 036 = CD
Text Symbol: 037 = Description
Text Symbol: 038 = Items for delivery
Text Symbol: 001 = Delivery document
Text Symbol: 002 = Further selection criteria
Text Symbol: 003 = Display range
Text Symbol: 004 = Sort Criterion
Text Symbol: 005 = Date
Text Symbol: 006 = ItmNo.
Text Symbol: 007 = Action
Text Symbol: 008 = User
Text Symbol: 009 = Header
Text Symbol: 010 = Text &1 changed in language &2
Text Symbol: 011 = Text &1 deleted in language &2
Text Symbol: 012 = Deletion &1
Text Symbol: 013 = Text &1 created in language &2
Text Symbol: 014 = &1 changed
Text Symbol: 015 = &1 deleted
Text Symbol: 016 = Deletion &1
INCLUDE: RVDIREKT.
No SAP DATABASE tables are accessed within this REPORT code!
CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING date_of_change = cdhdr-udate objectclass = cdhdr-objectclas objectid = cdhdr-objectid time_of_change = '000000' username = cdhdr-username TABLES i_cdhdr = gt_cdhdr EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 OTHERS = 4.
CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = gt_cdhdr-changenr IMPORTING header = cdhdr TABLES editpos = gt_cdshw EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = if_tabname langu = sy-langu TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lf_dyname dynumb = lf_dynumber TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 OTHERS = 10.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'LT_SELTAB-POSNR' titel = 'Positionen zur Lieferung'(038) no_pers_help_select = 'X' write_selectfield_in_colours = 'X' reduced_status_only = 'X' IMPORTING select_value = ls_select TABLES fields = lt_fields full_table = lt_seltab EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.
ASH_RV_LIKP_READ CALL FUNCTION 'ASH_RV_LIKP_READ' EXPORTING i_borident = ls_borident TABLES et_cdhdr = ct_cdhdr et_cdred = ct_cdred EXCEPTIONS not_in_infostructure = 1 not_in_archive = 2 no_instructure_defined = 3 OTHERS = 4.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status i_callback_user_command = gc_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat1 "n_1178163 is_variant = gs_variant "n_1178163 TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_internal_tabname = iv_tab i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status_stat i_callback_user_command = gc_user_command it_fieldcat = gt_fieldcat i_screen_start_column = 20 i_screen_start_line = 02 i_screen_end_column = 79 i_screen_end_line = 10 TABLES t_outtab = gt_list1 EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status_de is_layout = gs_layout it_fieldcat = gt_fieldcat it_sort = lt_sort TABLES t_outtab = gt_list2 EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status_detail is_layout = gs_layout it_fieldcat = gt_fieldcat it_events = gt_eventtab_alv is_variant = ls_vari i_tabname_header = gc_tab_header i_tabname_item = gc_tab_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_detail_header t_outtab_item = gt_detail_item EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = iv_tab i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat_detail EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_status_sec "'SET_PF_SEC_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat is_variant = gs_variant "n_1178163 i_screen_start_column = 30 i_screen_start_line = 02 i_screen_end_column = 150 i_screen_end_line = 05 TABLES t_outtab = gt_detail_header EXCEPTIONS program_error = 1 OTHERS = 2.
/SAPDMC/DATAELEMENT_GET_TEXTS CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS' EXPORTING name = gc_posnr IMPORTING text_short = lt_posnr_txt EXCEPTIONS not_found = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_event.
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 WSCDSHOW_ALV or its description.