SAP Reports / Programs | Logistics Execution | Shipping(LE-SHP) SAP LE

RVADDN02 SAP ABAP Report - Print Program for Deliveries







RVADDN02 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 RVADDN02 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 RVADDN02. "Basic submit
SUBMIT RVADDN02 AND RETURN. "Return to original report after report execution complete
SUBMIT RVADDN02 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 for Deliveries


INCLUDES used within this REPORT RVADDN02

INCLUDE RVADTABL.
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:

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

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'END_VALUES'.

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

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

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' "...Ende Formulardruck

RV_PRICE_PRINT_REFRESH CALL FUNCTION 'RV_PRICE_PRINT_REFRESH' TABLES TKOMV = TKOMV.

RV_DELIVERY_PRINT_VIEW CALL FUNCTION 'RV_DELIVERY_PRINT_VIEW' EXPORTING COMWA = VBCO3 IMPORTING KOPF = VBDKL TABLES POS = TVBDPL.

RV_PRICE_PRINT_HEAD CALL FUNCTION 'RV_PRICE_PRINT_HEAD' EXPORTING COMM_HEAD_I = KOMK LANGUAGE = NAST-SPRAS IMPORTING COMM_HEAD_E = KOMK TABLES TKOMV = TKOMV TKOMVD = TKOMVD.

VC_I_GET_CONFIGURATION CALL FUNCTION 'VC_I_GET_CONFIGURATION' EXPORTING INSTANCE = VBDPL-CUOBJ LANGUAGE = NAST-SPRAS PRINT_SALES = 'X' TABLES CONFIGURATION = TKOMCON EXCEPTIONS OTHERS = 4.

VB_BATCH_VALUES_FOR_OUTPUT CALL FUNCTION 'VB_BATCH_VALUES_FOR_OUTPUT' EXPORTING MATERIAL = VBDPL-MATNR PLANT = VBDPL-WERKS BATCH = VBDPL-CHARG LANGUAGE = NAST-SPRAS TABLES CLASSIFICATION = TKOMBAT EXCEPTIONS OTHERS = 4.

RV_PRICE_PRINT_ITEM CALL FUNCTION 'RV_PRICE_PRINT_ITEM' EXPORTING COMM_HEAD_I = KOMK COMM_ITEM_I = KOMP LANGUAGE = NAST-SPRAS IMPORTING COMM_HEAD_E = KOMK COMM_ITEM_E = KOMP TABLES TKOMV = TKOMV TKOMVD = TKOMVD.

SERIAL_LS_PRINT CALL FUNCTION 'SERIAL_LS_PRINT' EXPORTING VBELN = VBDKL-VBELN POSNR = VBDPL-POSNR TABLES ISERLS = TKOMSER.

PROCESS_SERIALS_FOR_PRINT CALL FUNCTION 'PROCESS_SERIALS_FOR_PRINT' EXPORTING I_BOUNDARY_LEFT = '(_' I_BOUNDARY_RIGHT = '_)' I_SEP_CHAR_STRINGS = ',_' I_SEP_CHAR_INTERVAL = '_-_' I_USE_INTERVAL = 'X' I_BOUNDARY_METHOD = 'C' I_LINE_LENGTH = 50 I_NO_ZERO = 'X' I_ALPHABET = SY-ABCDE I_DIGITS = '0123456789' I_SPECIAL_CHARS = '-' I_WITH_SECOND_DIGIT = ' ' TABLES SERIALS = TKOMSER SERIALS_PRINT = TKOMSER_PRINT EXCEPTIONS BOUNDARY_MISSING = 01 INTERVAL_SEPARATION_MISSING = 02 LENGTH_TO_SMALL = 03 INTERNAL_ERROR = 04 WRONG_METHOD = 05 WRONG_SERIAL = 06 TWO_EQUAL_SERIALS = 07 SERIAL_WITH_WRONG_CHAR = 08 SERIAL_SEPARATION_MISSING = 09.

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ITEM_SUM'.

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'TAX_LINE'.

WRITE_FORM





CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'SUM_LINE'.

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

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' "First header EXPORTING ELEMENT = 'ITEM_HEADER' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' "Activate header EXPORTING ELEMENT = 'ITEM_HEADER' TYPE = 'TOP' EXCEPTIONS OTHERS = 1.

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ITEM_LINE'.

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

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

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ITEM_LINE_BATCH'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' "Deactivate Header EXPORTING ELEMENT = 'ITEM_HEADER' FUNCTION = 'DELETE' TYPE = 'TOP' EXCEPTIONS OTHERS = 1.

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

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

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

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ITEM_LINE_PRICE_QUANTITY'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'ITEM_LINE_PRICE_TEXT'.

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

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




CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = 'NEW-LINE'.

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