SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_3RF_CORRINV_A SAP ABAP Report - Print program for Correction of Iinvoice FI (RU)







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


Text pool values


Selection Text: TDDEST = Output to Printer
Selection Text: RXBKOR = D .
Selection Text: RUZEIT = Time of Request
Selection Text: RUSNAM = D .
Selection Text: RIMMD = D .
Selection Text: RGJAHR = D .
Selection Text: RFORID = D .
Selection Text: REVENT = D .
Selection Text: RERLDT = Repeat Printing From
Selection Text: RDATUM = Date of Request
Selection Text: RBUKRS = D .
Selection Text: RBELNR = D .
Selection Text: PROF = D .
Title: Print program for Correction of Iinvoice FI (RU)
Text Symbol: 303 = Tel.
Text Symbol: 301 = advance
Text Symbol: 205 = Error list
Text Symbol: 204 = Internal document ;;
Text Symbol: 203 = Name is missing in logon language ;;
Text Symbol: 202 = CoCd Correspondence................. Spool no. Title.............. Printed pages..
Text Symbol: 201 = Overview of generated print request
Text Symbol: 200 = Log
Text Symbol: 111 = Print Immediately
Text Symbol: 110 = Output to Printer
Text Symbol: 003 = Test Run
Text Symbol: 002 = Print Control
Text Symbol: 001 = Output Control


INCLUDES used within this REPORT J_3RF_CORRINV_A

INCLUDE RFKORI00.
INCLUDE J_3RCORR_A.
INCLUDE RFKORI93.
INCLUDE RFKORI90.


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:

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.

FP_FUNCTION_MODULE_NAME call function 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = SAVE_FORM_pdf IMPORTING e_funcname = ls_function.

FP_GET_LAST_ADS_ERRSTR CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR' IMPORTING E_ADSERRSTR = l_errstr.

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.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = SAVE_BUKRS I_MWSKZ = IS_NBSEG-MWSKZ I_WAERS = SAVE_WAERS I_WRBTR = IS_NBSEG-WRBTR IMPORTING E_FWSTE = WMWST_VALUE TABLES T_MWDAT = TAX_INV EXCEPTIONS BUKRS_NOT_FOUND = 1 COUNTRY_NOT_FOUND = 2 MWSKZ_NOT_DEFINED = 3 MWSKZ_NOT_VALID = 4 OTHERS = 5.

CALCULATE_TAX_FROM_GROSSAMOUNT call function 'CALCULATE_TAX_FROM_GROSSAMOUNT' EXPORTING i_bukrs = SAVE_BUKRS i_mwskz = IS_NBSEG-MWSKZ i_waers = SAVE_WAERS i_wrbtr = IS_NBSEG-WRBTR IMPORTING e_fwste = WMWST_VALUE TABLES T_MWDAT = TAX_INV EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 mwskz_not_defined = 3 mwskz_not_valid = 4 others = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING address_value = addr_knag 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 = addr_knag EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = docnum-vbeln IMPORTING OUTPUT = docnum-vbeln.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = docnum-vbeln IMPORTING OUTPUT = sd_docum-vbeln.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING * CLIENT = SY-MANDT DATE = SAVE_budat FOREIGN_AMOUNT = sbseg-WMWST FOREIGN_CURRENCY = vbrk-waerk LOCAL_CURRENCY = SAVE_waers * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING EXCHANGE_RATE = komk-kurrf LOCAL_AMOUNT = sbseg-WMWST EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 OTHERS = 6 .

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

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'H_TTXID' IMPORTING shlp = s_shlp EXCEPTIONS OTHERS = 1.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = s_shlp TABLES return_values = it_ret.

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.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING * CLIENT = SY-MANDT DATE = SAVE_budat FOREIGN_AMOUNT = sbseg-WRBTR FOREIGN_CURRENCY = waerk LOCAL_CURRENCY = SAVE_waers * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING EXCHANGE_RATE = komk-kurrf LOCAL_AMOUNT = sbseg-WRBTR EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 OTHERS = 6 .

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 = ' ' * LAYOUT = ' ' mode = iv_out_params-arcmode no_dialog = space 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.

J_3RF_GET_OPERTYPE CALL FUNCTION 'J_3RF_GET_OPERTYPE' EXPORTING IV_BLART = SAVE_BLART * IV_DELIMITER = ';' IMPORTING EV_OPERTYP = reginv-OPER_TYP TABLES T_BSET = EXT_BSET[] .

J_3RF_UPDATE_REGINV_OUT CALL FUNCTION 'J_3RF_UPDATE_REGINV_OUT' EXPORTING CODE = 'P' BUKRS = h_inv-BUKRS CHANGING J_3RF_REGINV_OUT = reginv EXCEPTIONS UPDATE_FAILED = 1 NO_AUTHORITY = 2 CANCELED = 3 OTHERS = 10.



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