SAP Reports / Programs | Sales and Distribution | Billing(SD-BIL) SAP SD

SDSAMPRO SAP ABAP Report - Log of Collective Run







SDSAMPRO 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 SDSAMPRO into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

V_SA - Collective Proc. Analysis (Deliv.)
VL38 - Groups Created: Wave Picks
V.22 - Display Collective Runs
V.21 - Log of Collective Run


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 SDSAMPRO. "Basic submit
SUBMIT SDSAMPRO AND RETURN. "Return to original report after report execution complete
SUBMIT SDSAMPRO 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: ON_CANCE = Without cancelled runs
Selection Text: OERROR = With created documents
Selection Text: ERNAM = Started by
Selection Text: ERDAT = On
Title: Log of Collective Run
Text Symbol: S02 = Type of coll. run
Text Symbol: S01 = No. of collective run
Text Symbol: G02 = Group type
Text Symbol: G01 = Group
Text Symbol: F03 = Wave pick
Text Symbol: F02 = List selection
Text Symbol: F01 = Collective run
Text Symbol: C02 = be cancelled?
Text Symbol: C01 = Should coll. run
Text Symbol: B01 = to
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 = InvLists
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 pt
Text Symbol: 017 = BillDoc
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. bill. 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 SDSAMPRO

INCLUDE RVREUSE_GLOBAL_DATA.


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:

SELECTION_TEXTS_MODIFY call function 'SELECTION_TEXTS_MODIFY' exporting program = 'SDSAMPRO' tables seltexts = texte2 exceptions program_not_found = 1 program_cannot_be_generated = 2 others = 3.

VBSK_DATA_COLLECT CALL FUNCTION 'VBSK_DATA_COLLECT' EXPORTING WERROR = werror OERROR = oerror ON_CANCE = on_cance SMART = smart TABLES SAMNR = samnr GT_XVBSK = gt_xvbsk VSTEL = vstel ERNAM = ernam ERDAT = erdat CHANGING LD_RC = ld_rc.

VBSK_ALV_DISPLAY call function 'VBSK_ALV_DISPLAY' exporting i_grid_control = 'X' tables i_vbsk = gt_xvbsk exceptions others = 1.



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