SAP Reports / Programs

RV56TD00 SAP ABAP Report - Print Program: Sample Printout for the Shipment







RV56TD00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Sample report for printing shipment documents...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 RV56TD00 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 RV56TD00. "Basic submit
SUBMIT RV56TD00 AND RETURN. "Return to original report after report execution complete
SUBMIT RV56TD00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Print Program: Sample Printout for the Shipment
Text Symbol: TXT = Text


INCLUDES used within this REPORT RV56TD00

INCLUDE RVADOPFO.


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_SHIPMENT_PRINT_VIEW CALL FUNCTION 'RV_SHIPMENT_PRINT_VIEW' EXPORTING SHIPMENT_NUMBER = SHIPMENT_NUMBER OPTION_TVTK = 'X' "Shipmenttype J/N OPTION_TTDS = 'X' "Disposition J/N LANGUAGE = LANGUAGE OPTION_ITEMS = 'X' "Transport Items J/N OPTION_SEGMENTS = 'X' "Transport Segments J/N OPTION_PARTNERS = 'X' "Partners J/N OPTION_SALES_ORDERS = 'X' "Sales orders J/N OPTION_EXPORT_DATA = 'X' "Export data J/N OPTION_PACKAGES = 'X' "Packages J/N OPTION_FLOW = ' ' "Flow J/N OPTION_NO_REFRESH = ' ' "Refresh Tables J/N IMPORTING F_VTTKVB = VTTKVB "Shipment Header F_TVTK = TVTK "Shipmenttype F_TVTKT = TVTKT"Description Shipmenttype F_TTDS = TTDS "Disposition F_TTDST = TTDST"Description Disposition F_VBPLA = VBPLA"Packages TABLES F_VTTP = XVTTP"Shipment Items F_TRLK = SLK "Delivery F_TRLP = SLP "Delivery Item F_VTTS = XVTTS"Shipment Segments F_VTSP = XVTSP"Segments/Items F_VBPA = XVBPA"Partner F_VBADR = XVBADR "Address F_VTFA = XVTFA"Flow F_VBPLK = XVBPLK "Shipment Unit Header F_VBPLP = XVBPLP "Shipment Unit F_VBPLS = XVBPLS "Shipment Unit Sum EXCEPTIONS NOT_FOUND = 1.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-BRGEW UNIT_IN = SLK-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLK-BRGEW.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-BTGEW UNIT_IN = SLK-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLK-BTGEW.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-NTGEW UNIT_IN = SLK-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLK-NTGEW.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-VOLUM UNIT_IN = SLK-VOLEH UNIT_OUT = VTTKVB-DTMEV IMPORTING OUTPUT = SLK-VOLUM.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLP-BRGEW UNIT_IN = SLP-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLP-BRGEW.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLP-NTGEW UNIT_IN = SLP-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLP-NTGEW.

ST_LOCATION_ADDR_READ CALL FUNCTION 'ST_LOCATION_ADDR_READ' EXPORTING I_LOCATION = L_DEPT IMPORTING E_SADR = SADR "SADR40A EXCEPTIONS ADDRESS_NOT_FOUND = 1 OTHERS = 2.

ST_LOCATION_ADDR_READ CALL FUNCTION 'ST_LOCATION_ADDR_READ' EXPORTING I_LOCATION = L_DEST IMPORTING E_SADR = SADR "SADR40A EXCEPTIONS ADDRESS_NOT_FOUND = 1 OTHERS = 2.

SD_DEADLINE_PRINT_VIEW CALL FUNCTION 'SD_DEADLINE_PRINT_VIEW' EXPORTING DEADLINE_NO = VTTKVB-TERNR LANGUAGE = SY-LANGU HANDLE_NO = VTTKVB-HANDLE if_object = 'WSHDRVTTK' is_object_wa = vttk TABLES DEADLINE_TAB = XVBDDL EXCEPTIONS NO_DEADLINES = 01.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = 'ENDPROTECT'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'NEW_PAGE' EXCEPTIONS OTHERS = 1.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = 'PROTECT'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = TEXTELEMENT EXCEPTIONS OTHERS = 1.

ADDR_GET * call function 'ADDR_GET' * exporting * address_selection = l_addr1_sel * address_group = 'CA01' "it's a Customizing-Address * importing * sadr = sadr "SADR40A * exceptions * others = 1.

VIEW_VBADR CALL FUNCTION 'VIEW_VBADR' EXPORTING INPUT = L_VBPA PARTNERNUMMER = NAST-PARNR IMPORTING ADRESSE = L_VBADR.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS OTHERS = 1.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SYST-MSGID MSG_NR = SYST-MSGNO MSG_TY = SYST-MSGTY MSG_V1 = SYST-MSGV1 MSG_V2 = SYST-MSGV2 MSG_V3 = SYST-MSGV3 MSG_V4 = SYST-MSGV4.



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