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

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







RFNRIV20 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 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. "Basic submit
SUBMIT RFNRIV20 AND RETURN. "Return to original report after report execution complete
SUBMIT RFNRIV20 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: 201 = Result
Text Symbol: 202 = Explanation
Text Symbol: AB1 = Source fiscal year details
Text Symbol: AB2 = Target fiscal year details
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 = Confirm
Text Symbol: UE1 = No.Year Result Reason


INCLUDES used within this REPORT RFNRIV20

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.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = i_repid it_fieldcat = lt_fieldcat it_events = lt_eventtab TABLES t_outtab = xt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = lc_strname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = l_width EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd IMPORTING eo_form_grid = lo_grid.



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