FICNRIV0 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 FICNRIV0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CX0UN - Copy Document Number Ranges
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: DIMEN = D Dimension
Selection Text: NACH_GJ = To fiscal year (target)
Selection Text: NUMMER = Number range number
Selection Text: VON_GJ = To fiscal year (source)
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 = Dimension ;;
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 = Do you want to copy the doc. number ranges? ;;
Text Symbol: UE1 = No Year From Number To Number Result Explanation ;;
INCLUDE FICNRIFM0.
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING object = object TABLES interval = lt_intv.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'NRRANGENR' dynpprog = l_repid dynpnr = '1000' dynprofield = 'NUMMER-LOW' value_org = 'S' TABLES value_tab = lt_intv field_tab = lt_dfies dynpfld_mapping = lt_dfm.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'NRRANGENR' dynpprog = l_repid dynpnr = '1000' dynprofield = 'NUMMER-HIGH' value_org = 'S' TABLES value_tab = lt_intv field_tab = lt_dfies dynpfld_mapping = lt_dfm.
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 EXCEPTIONS OTHERS = 1.
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.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd IMPORTING eo_form_grid = lr_grid.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.