SAP Reports / Programs | Logistics Execution | Transportation(LE-TRA) SAP LE

RVADTR01 SAP ABAP Report - Print program: Bill of lading CMR







RVADTR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for CMR - bill of lading The shipment must contain a leg with the leg indicator 'direct leg' or 'preliminary' leg...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 RVADTR01 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 RVADTR01. "Basic submit
SUBMIT RVADTR01 AND RETURN. "Return to original report after report execution complete
SUBMIT RVADTR01 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: Bill of lading CMR
Text Symbol: 001 = Read


INCLUDES used within this REPORT RVADTR01

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:

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = ELEMENT WINDOW = WINDOW EXCEPTIONS ELEMENT = 1 WINDOW = 2.

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.

RV_SHIPMENT_PRINT_VIEW CALL FUNCTION 'RV_SHIPMENT_PRINT_VIEW' EXPORTING SHIPMENT_NUMBER = SHIPMENT_NUM OPTION_TVTK = TRUE "Shipmenttype Y/N OPTION_TTDS = TRUE "Disposition Y/N LANGUAGE = LANGUAGE OPTION_ITEMS = TRUE "Transport Items Y/N OPTION_SALES_ORDERS = TRUE "Transport Segments Y/N OPTION_EXPORT_DATA = TRUE "Partners Y/N OPTION_SEGMENTS = TRUE "Sales orders Y/N OPTION_PARTNERS = TRUE "Export data Y/N OPTION_PACKAGES = TRUE "Packages Y/N OPTION_FLOW = TRUE "Flow Y/N OPTION_NO_REFRESH = FALSE "Refresh Tables Y/N IMPORTING F_VTTKVB = VTTKVB "Shipment Head F_TVTK = TVTK "Shipmenttype F_TVTKT = TVTKT "Description Shipmenttye 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 OTHERS = 2.

ST_LOCATION_ADDR_READ CALL FUNCTION 'ST_LOCATION_ADDR_READ' EXPORTING I_LOCATION = L_DEPT IMPORTING E_SADR = SADR_BEGIN 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_END EXCEPTIONS ADDRESS_NOT_FOUND = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = L_ADDR1_SEL ADDRESS_GROUP = 'CA01' "it's a Customizing-Address IMPORTING SADR = H_SADR EXCEPTIONS OTHERS = 1.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = INPUT UNIT_IN = UNIT_IN UNIT_OUT = UNIT_OUT IMPORTING OUTPUT = OUTPUT.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = L_ADDR1_SEL READ_SADR_ONLY = L_READ_SADR_ONLY IMPORTING SADR = SADR EXCEPTIONS OTHERS = 1.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING ADRSWA_IN = ADRS IMPORTING ADRSWA_OUT = ADRS.



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