SAP Reports / Programs | Logistics - General | Logistics Basic Data | Plant Master(LO-MD-PL) SAP LO

R2RRVADOR01 SAP ABAP Report - Smart Form Print Program for Sales Documents







R2RRVADOR01 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 R2RRVADOR01 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 R2RRVADOR01. "Basic submit
SUBMIT R2RRVADOR01 AND RETURN. "Return to original report after report execution complete
SUBMIT R2RRVADOR01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Smart Form Print Program for Sales Documents


INCLUDES used within this REPORT R2RRVADOR01

INCLUDE RVDIREKT.
INCLUDE VEDADATA.
INCLUDE R2RADR.


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:

SSF_FUNCTION_MODULE_NAME CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = lf_formname IMPORTING fm_name = lf_fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3.

RV_PRICE_PRINT_GET_MODE CALL FUNCTION 'RV_PRICE_PRINT_GET_MODE' IMPORTING e_print_mode = price_print_mode.

RV_PRICE_PRINT_REFRESH CALL FUNCTION 'RV_PRICE_PRINT_REFRESH' TABLES tkomv = tkomv.

RV_DOCUMENT_PRINT_VIEW CALL FUNCTION 'RV_DOCUMENT_PRINT_VIEW' EXPORTING comwa = vbco3 IMPORTING kopf = vbdka TABLES pos = tvbdpa mess = da_mess EXCEPTIONS fehler_bei_datenbeschaffung = 1.

SD_VEDA_GET_PRINT_DATA CALL FUNCTION 'SD_VEDA_GET_PRINT_DATA' EXPORTING i_document_number = us_veda_vbeln i_language = sy-langu i_posnr_low = us_veda_posnr_low TABLES print_data_pos = tkomservp print_data_head = tkomservh print_notice_pos = tkomservpn print_notice_head = tkomservhn.

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.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = gv_fb_addr_get_selection address_group = 'CA01' IMPORTING sadr = sadr EXCEPTIONS OTHERS = 01.

WFMC_PREPARE_SMART_FORM CALL FUNCTION 'WFMC_PREPARE_SMART_FORM' EXPORTING pi_nast = nast pi_addr_key = is_addr_key pi_repid = lf_repid pi_country = is_vbdka-land1 IMPORTING pe_returncode = cf_retcode pe_itcpo = ls_itcpo pe_device = lf_device pe_recipient = cs_recipient pe_sender = cs_sender.

SSF_READ_ERRORS CALL FUNCTION 'SSF_READ_ERRORS' IMPORTING errortab = lt_errortab.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = -msgid msg_nr = lf_msgnr msg_ty = -msgty msg_v1 = -msgv1 msg_v2 = -msgv2 msg_v3 = -msgv3 msg_v4 = -msgv4 EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE ** call function 'BAL_LOG_CREATE' ** exporting ** i_s_log = l_s_log ** importing ** e_log_handle = p_loghandle ** exceptions ** others = 1.

BAL_LOG_MSG_ADD ** call function 'BAL_LOG_MSG_ADD' ** exporting ** i_log_handle = p_loghandle ** i_s_msg = l_s_msg ** exceptions ** others = 1.

BAL_DSP_LOG_DISPLAY ** call function 'BAL_DSP_LOG_DISPLAY'.



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