SAP Reports / Programs | Financial Accounting | Accounts Receivable | Basic Functions(FI-AR-AR) SAP FI

RFNRIV20_NACC SAP ABAP Report - Document Number Ranges: Copy to Fiscal Year







RFNRIV20_NACC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Using program RFNRIV20 you can copy document number range intervals from one fiscal year into another...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 RFNRIV20_NACC 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 RFNRIV20_NACC. "Basic submit
SUBMIT RFNRIV20_NACC AND RETURN. "Return to original report after report execution complete
SUBMIT RFNRIV20_NACC 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: BUKRS = Company Code
Selection Text: NACH_GJ = To Fiscal Year
Selection Text: NUMMER = Number Range Number
Selection Text: VON_GJ = To Fiscal Year
Title: Document Number Ranges: Copy to Fiscal Year
Text Symbol: 100 = Interval added
Text Symbol: 110 = Interval cannot be added
Text Symbol: 120 = No interval selected
Text Symbol: 200 = Company code ;;
Text Symbol: AB1 = Details for Source Fiscal Year
Text Symbol: AB2 = Details for Target Fiscal Yr
Text Symbol: HD1 = Copy document number ranges to fiscal year
Text Symbol: HD2 = Source FY : & Target FY: &
Text Symbol: PO1 = Copy document number ranges
Text Symbol: PO2 = You are changing your settings. ;; -->PO3
Text Symbol: PO3 = Do you really want to do this?
Text Symbol: UE1 = No.Year Result Reason


INCLUDES used within this REPORT RFNRIV20_NACC

INCLUDE RFDBRMAC.


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:

NUMBER_RANGE_ENQUEUE CALL FUNCTION 'NUMBER_RANGE_ENQUEUE' EXPORTING OBJECT = OBJECT EXCEPTIONS FOREIGN_LOCK = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-PO1 TEXTLINE1 = TEXT-PO2 TEXTLINE2 = TEXT-PO3 IMPORTING ANSWER = ANTWORT.

NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING OBJECT = OBJECT SUBOBJECT = SUBOBJECT TABLES INTERVAL = NRIV_VON EXCEPTIONS OTHERS = 1.

NUMBER_RANGE_INTERVAL_UPDATE CALL FUNCTION 'NUMBER_RANGE_INTERVAL_UPDATE' EXPORTING OBJECT = OBJECT IMPORTING ERROR = ERROR ERROR_OCCURED = XERROR WARNING_OCCURED = XWARNING TABLES ERROR_IV = ERROR_TAB Interval = Nriv_nach.

NUMBER_RANGE_UPDATE_CLOSE CALL FUNCTION 'NUMBER_RANGE_UPDATE_CLOSE' EXPORTING OBJECT = OBJECT EXCEPTIONS NO_CHANGES_MADE = 1 OTHERS = 2.

NUMBER_RANGE_DEQUEUE CALL FUNCTION 'NUMBER_RANGE_DEQUEUE' EXPORTING OBJECT = OBJECT 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 RFNRIV20_NACC or its description.