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
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.
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
INCLUDE RFDBRMAC.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFNRIV20_NACC - Document Number Ranges: Copy to Fiscal Year RFNRIV20_NACC - Document Number Ranges: Copy to Fiscal Year RFNRIV20 - Document Number Ranges: Copy to Fiscal Year RFNRIV20 - Document Number Ranges: Copy to Fiscal Year RFNRIV10 - Document Number Ranges: Copying to Company Code RFNRIV10 - Document Number Ranges: Copying to Company Code