J_3RV_PPINV_A is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program J_3RVPF1 is designed for display/type-out of information on billing documents taken from SD Sales and Distribution module - in the form of original billing document generated in accordance with the legislation...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 J_3RV_PPINV_A into the relevant SAP transactions such as SE38 or SE80
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.
Title: Advance Payment Invoice printing from billing document
Text Symbol: 010 = kop.
Text Symbol: 011 = of cents
Text Symbol: 012 = VAT free
Text Symbol: 013 = rub.
Text Symbol: 014 = dol.
Text Symbol: 015 = euro
Text Symbol: 016 = incl.
Text Symbol: 017 = VAT 10%
Text Symbol: 018 = VAT 18%
Text Symbol: 303 = the same
INCLUDE RLB_INVOICE_DATA_DECLARE.
INCLUDE RLB_PRINT_FORMS.
No SAP DATABASE tables are accessed within this REPORT code!
FP_JOB_OPEN call function 'FP_JOB_OPEN' CHANGING ie_outputparams = fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 others = 5.
FP_GET_LAST_ADS_ERRSTR CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR' IMPORTING E_ADSERRSTR = l_errstr.
FP_JOB_CLOSE call function 'FP_JOB_CLOSE' * IMPORTING * E_RESULT = exceptions usage_error = 1 system_error = 2 internal_error = 3 others = 4 .
SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = hd_invoice-smtot CURRENCY = vbdkr-waerk "Invoice currency FILLER = ' ' LANGUAGE = lang IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.
SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = S_VAT10 CURRENCY = vbdkr-waerk "Invoice currency FILLER = ' ' LANGUAGE = lang IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.
SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = S_VAT18 CURRENCY = vbdkr-waerk "Invoice currency FILLER = ' ' LANGUAGE = lang IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.
RV_PRICE_PRINT_REFRESH CALL FUNCTION 'RV_PRICE_PRINT_REFRESH' TABLES TKOMV = TKOMV.
RV_BILLING_PRINT_VIEW CALL FUNCTION 'RV_BILLING_PRINT_VIEW' EXPORTING COMWA = VBCO3 IMPORTING KOPF = VBDKR TABLES POS = TVBDPR.
RV_PRICE_PRINT_ITEM CALL FUNCTION 'RV_PRICE_PRINT_ITEM' EXPORTING COMM_HEAD_I = KOMK COMM_ITEM_I = KOMP LANGUAGE = lang IMPORTING COMM_HEAD_E = KOMK COMM_ITEM_E = KOMP TABLES TKOMV = TKOMV TKOMVD = TKOMVD.
RV_PRICE_PRINT_HEAD CALL FUNCTION 'RV_PRICE_PRINT_HEAD' EXPORTING COMM_HEAD_I = KOMK LANGUAGE = lang IMPORTING COMM_HEAD_E = KOMK COMM_MWSKZ = PRINT_MWSKZ TABLES TKOMV = TKOMV TKOMVD = HKOMVD.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr1_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = B_SEL IMPORTING address_value = ad_val EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = P_TNAPR_SFORM IMPORTING e_funcname = P_FUNC_MODULE_NAME.
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING object = pa_tdobject name = pa_tdname id = pa_tdid language = '*' IMPORTING entries = txt_entries TABLES selections = it_reftext.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = pa_tdid language =
name = pa_tdname object = pa_tdobject TABLES lines = it_lines EXCEPTIONS OTHERS = 8.
J_3RFCNT_ZUONR CALL FUNCTION 'J_3RFCNT_ZUONR' EXPORTING T_BKPF = T_BKPF T_BSEG = T_BSEG IMPORTING T_BSEGSUB = T_BSEGSUB .
TH_IN_UPDATE_TASK CALL FUNCTION 'TH_IN_UPDATE_TASK' IMPORTING in_update_task = l_in_update_task.
GET_ARCHIVE_PARAMETERS CALL FUNCTION 'GET_ARCHIVE_PARAMETERS' EXPORTING ARCHIVE_ID = ARC_PARAMS-ARCHIV_ID archive_info = '000' archive_text = arc_report AR_OBJECT = ls_daratab-AR_OBJECT IN_PARAMETERS = ARC_PARAMS * LAYOUT = ' ' mode = iv_out_params-arcmode no_dialog = no_dialog printer = iv_out_params-dest report = arc_report SAP_OBJECT = ls_daratab-SAP_OBJECT abap_list = space * PO_FAX_STORE = ' ' IMPORTING out_parameters = arc_params EXCEPTIONS archive_info_not_found = 2 * NO_AUTHORITY = 2 * NOT_VALID = 3 OTHERS = 99.
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 J_3RV_PPINV_A or its description.
J_3RV_PPINV_A - Advance Payment Invoice printing from billing document J_3RV_PPINV_A - Advance Payment Invoice printing from billing document J_3RV_INV_A - Print programm for SD invoice J_3RV_INV_A - Print programm for SD invoice J_3RV_DELIV_PDF - Goods issue note print (TORG-12) J_3RV_DELIV_PDF - Goods issue note print (TORG-12)