SAP Reports / Programs

RVSCD100 SAP ABAP Report - Display Document Changes







RVSCD100 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RVSCD100 displays the changes made to a sales document...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 RVSCD100 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RVSCD100. "Basic submit
SUBMIT RVSCD100 AND RETURN. "Return to original report after report execution complete
SUBMIT RVSCD100 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ZINFO = Display additional info
Selection Text: ZEIT = From time (HH:MM:SS)
Selection Text: VBELN = Document
Selection Text: TABNAME = Table name
Selection Text: TABKEY = Table key
Selection Text: POSNR = Item
Selection Text: OBJEKTID = Object ID
Selection Text: OBJEKT = Object class
Selection Text: NUMMER = Change document number
Selection Text: LESEN = Read archive
Selection Text: ETENR = Schedule line
Selection Text: DATUM = From date (DD.MM.YYYY)
Selection Text: ALLE = Display all items
Selection Text: AENDERER = Last changed by
Title: Display Document Changes
Text Symbol: 608 = Transaction ;
Text Symbol: 609 = Field name
Text Symbol: 610 = Table name ;
Text Symbol: 611 = Description ;
Text Symbol: 612 = From 1 on & at % with +
Text Symbol: 613 = Item ;
Text Symbol: 614 = Doc.category Document Item Schedule line
Text Symbol: 615 = -------------------- ---------- -------- ----------
Text Symbol: 616 = Item
Text Symbol: 617 = Date ItmNo. SLNo Action User
Text Symbol: 618 = ---------- -------- ---------- ---------- ---------------------------------------------------
Text Symbol: 619 = Change object Added Changed Deleted
Text Symbol: 620 = -------------------- ----------- -------- --------
Text Symbol: 701 = Sales document
Text Symbol: 702 = Scope of display ---------------------- Sorted
Text Symbol: 703 = Selection criteria
Text Symbol: 704 = Administrative info
Text Symbol: 705 = Change object
Text Symbol: 800 = DocHeader
Text Symbol: 801 = Items
Text Symbol: 802 = Sched. Lines
Text Symbol: 803 = Sched.Line
Text Symbol: 804 = Statistic





Text Symbol: 805 = Added
Text Symbol: 806 = Changed
Text Symbol: 807 = Deleted
Text Symbol: 808 = Changes in
Text Symbol: 809 = Request
Text Symbol: C01 = Chgd by
Text Symbol: C02 = Deletion
Text Symbol: C03 = Creation
Text Symbol: 607 = Time ;
Text Symbol: 203 = Date
Text Symbol: 202 = Doc.no.
Text Symbol: 201 = Date
Text Symbol: 119 = Payment Service Provider Data
Text Symbol: 118 = Payment Service Provider
Text Symbol: 117 = Payment cards
Text Symbol: 116 = Configuration
Text Symbol: 115 = Billing plan ;
Text Symbol: 114 = Dates ;
Text Symbol: 113 = Forecast dlv. sched.
Text Symbol: 112 = Agreement data
Text Symbol: 111 = Partner ;
Text Symbol: 110 = Conditions
Text Symbol: 109 = Business data
Text Symbol: 108 = Schedule lines
Text Symbol: 107 = Item data
Text Symbol: 106 = Header data ;
Text Symbol: 105 = Sales document
Text Symbol: 104 = Document items ;
Text Symbol: 103 = Time of change ;
Text Symbol: 102 = Read archives - not yet supported
Text Symbol: 101 = Additional info
Text Symbol: 100 = Overview
Text Symbol: 606 = Date ;
Text Symbol: 605 = User ;
Text Symbol: 604 = Document changes ;
Text Symbol: 603 = Technical info
Text Symbol: 602 = Schedule line ;
Text Symbol: 601 = Item $ -----------------------------------------------------------------------------------------------------------------------------
Text Symbol: 600 = Document header --------------------------------------------------------------------------------------------------------------------





Text Symbol: 509 = Unable to display change
Text Symbol: 508 = Field no longer defined in table
Text Symbol: 507 = & has been created
Text Symbol: 506 = Text & has been created in language %
Text Symbol: 505 = Deletion &
Text Symbol: 504 = & has been deleted
Text Symbol: 503 = Text & has been deleted in language %
Text Symbol: 502 = & changed
Text Symbol: 501 = Text & has been changed in language %
Text Symbol: 402 = New:
Text Symbol: 401 = Old:
Text Symbol: 209 = Payment cards
Text Symbol: 207 = Document header ;
Text Symbol: 206 = Object ID
Text Symbol: 205 = Changed by
Text Symbol: 204 = Time


INCLUDES used within this REPORT RVSCD100

INCLUDE RVSCDCOM.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING date_of_change = cdhdr-udate objectclass = cdhdr-objectclas objectid = cdhdr-objectid time_of_change = cdhdr-utime username = cdhdr-username TABLES i_cdhdr = icdhdr EXCEPTIONS no_position_found = 1 OTHERS = 2.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = icdhdr-changenr tablekey = cdpos-tabkey tablename = cdpos-tabname IMPORTING header = cdhdr TABLES editpos = icdshw EXCEPTIONS no_position_found = 1 OTHERS = 2.

RV_DOMAIN_VALUE_TEXTS CALL FUNCTION 'RV_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'ABART ' domvalue = domvalue single = ' ' IMPORTING ddtext = text.

RV_DOMAIN_VALUE_TEXTS CALL FUNCTION 'RV_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'VBTYP ' domvalue = i_vbtyp single = ' ' IMPORTING ddtext = text.

REUSE_ALV_POPUP_TO_SELECT * CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' * EXPORTING * i_title = text-603 * i_selection = '' * i_tabname = 'GT_TECH_INFO' * i_structure_name = 'TECHN_INFO' * TABLES * t_outtab = gt_tech_info * 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 = 'HANDLE_EVENT_PF_STATUS_DET' * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evtdet i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 60 i_screen_end_line = 15 TABLES t_outtab = gt_tech_info EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_strct CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evthead it_except_qinfo = gt_exc i_suppress_empty_data = 'X' TABLES t_outtab = gt_output 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 = 'HANDLE_EVENT_PF_STATUS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evthead it_except_qinfo = gt_exc i_suppress_empty_data = 'X' TABLES t_outtab = gt_output_stat_pos 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 = 'HANDLE_EVENT_PF_STATUS_ALL' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evthead it_except_qinfo = gt_exc TABLES t_outtab = gt_output_head 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 = 'HANDLE_EVENT_PF_STATUS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evtpos it_except_qinfo = gt_exc i_suppress_empty_data = 'X' TABLES t_outtab = gt_output_pos 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 = 'HANDLE_EVENT_PF_STATUS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evtete it_except_qinfo = gt_exc i_suppress_empty_data = 'X' TABLES t_outtab = gt_output_ete 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 = 'HANDLE_EVENT_PF_STATUS_DET' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evtdet i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 60 i_screen_end_line = 15 TABLES t_outtab = gt_tech_info EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'TECHN_INFO_ALV' CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS_STAT' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = gt_layout it_fieldcat = gt_fieldcat IMPORTING es_exit_caused_by_user = gs_exit_list_detail TABLES t_outtab = gt_statistic EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'STATISTIK_ALV_SD' CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS_ALL' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = gt_layout it_fieldcat = gt_fieldcat it_events = lt_evthead it_except_qinfo = gt_exc i_suppress_empty_data = 'X' 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 = g_repid i_structure_name = gc_strct CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_strct CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.



Contribute (Add Comments)

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 RVSCD100 or its description.