SAP Reports / Programs

RVSAMPRO SAP ABAP Report - Log of Collective Run







RVSAMPRO 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 RVSAMPRO 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 RVSAMPRO. "Basic submit
SUBMIT RVSAMPRO AND RETURN. "Return to original report after report execution complete
SUBMIT RVSAMPRO 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: WERROR = With notes
Selection Text: VSTEL = Shipping point
Selection Text: SMART = Type of collective run
Selection Text: SAMNR = Number of collective run
Selection Text: OERROR = With created documents
Selection Text: ERNAM = Started by
Selection Text: ERDAT = On
Title: Log of Collective Run
Text Symbol: F03 = Wave Pick
Text Symbol: F02 = Scope of list
Text Symbol: F01 = Collective Run
Text Symbol: 037 = Labor Reqrd Days
Text Symbol: 036 = Wave Pick
Text Symbol: 035 = Invoice Lists
Text Symbol: 034 = Deliveries
Text Symbol: 033 = Notes
Text Symbol: 032 = BillDocs
Text Symbol: 031 = Date
Text Symbol: 030 = Name
Text Symbol: 029 = Coll.run
Text Symbol: 028 = Shift definition
Text Symbol: 027 = Picking wave profile
Text Symbol: 026 = Warehouse number
Text Symbol: 025 = Pick.wave Name Date Dely Whse Profle TimeSlice
Text Symbol: 024 = No. of invoice lists
Text Symbol: 023 = Inv.lists
Text Symbol: 022 = Coll.Run Name Date Inv.lists Notes
Text Symbol: 020 = Days
Text Symbol: 019 = Lab.required in days
Text Symbol: 018 = Shipping point
Text Symbol: 017 = Billing document
Text Symbol: 015 = Delivery
Text Symbol: 012 = Coll.run Name Date BillDocs Notes
Text Symbol: 011 = Coll.run Name Date Dlv. Note ShpPt Weight WUoM Volume VUoM Shipp.load
Text Symbol: 010 = No. of deliveries
Text Symbol: 008 = Document Item Note
Text Symbol: 007 = Processed volume
Text Symbol: 006 = Processed weight





Text Symbol: 005 = No.of billing docs
Text Symbol: 004 = Number of notes
Text Symbol: 003 = At
Text Symbol: 002 = On
Text Symbol: 001 = Started by


INCLUDES used within this REPORT RVSAMPRO

No INCLUDES are used within this REPORT code!


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:

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING VBELN = BELEG POSNR = POSNR.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING ID = DOKHL-ID LANGU = DOKHL-LANGU OBJECT = DOKHL-OBJECT DISPL = 'X' DISPL_MODE = '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 = ls_layo it_fieldcat = lt_fcat it_events = lt_evtsf is_print = ls_prnt tables t_outtab = gt_xvbsk_show_f exceptions program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evtsr is_print = ls_prnt tables t_outtab = gt_xvbsk_show_r exceptions program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evtsl is_print = ls_prnt tables t_outtab = gt_xvbsk_show_l exceptions program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evtsw is_print = ls_prnt tables t_outtab = gt_xvbsk_show_w exceptions program_error = 1 others = 2.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.

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_VBSS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts_vbss is_print = ls_prnt tables t_outtab = gt_xvbss_show 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_VBFS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts_vbfs is_print = ls_prnt tables t_outtab = gt_xvbfs_show exceptions program_error = 1 others = 2.

RV_COLLECTIVE_PROCESSING_INFO CALL FUNCTION 'RV_COLLECTIVE_PROCESSING_INFO' EXPORTING COMWA = VBSK-SAMMG TABLES VBFS_OUT = GT_XVBFS.

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_SAM' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts is_print = ls_prnt tables t_outtab = gt_vbsk exceptions program_error = 1 others = 2.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.



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