RFBNUM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to find gaps in the document number assignemnt...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 RFBNUM00 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: PA_BLART = Document type
Selection Text: PA_NUMKR = Number range
Selection Text: P_VARIA = D Layout
Selection Text: TITLE = Additional heading
Title: Gaps in Document Number Assignment
Text Symbol: 001 = Number range interval does not correspond to document type
Text Symbol: 002 = of
Text Symbol: 003 = To
Text Symbol: 004 = Number
Text Symbol: 005 = External Number Assignment
Text Symbol: 010 = Number range
Text Symbol: 011 = to year
Text Symbol: 012 = No gaps exist
Text Symbol: 013 = Interval
Text Symbol: 014 = Missing Document Numbers
Text Symbol: 015 = Document Numbers Assigned More Than Once
Text Symbol: 016 = Number Range Status
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING nr_range_nr1 = pa_numkr object = 'RF_BELEG' subobject = br_bukrs-low TABLES interval = xnriv EXCEPTIONS OTHERS = 1.
POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = gc_structname * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = 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 = lt_event.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_listheadings.
REUSE_ALV_VARIANT_DEFAULT_GET * CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' * EXPORTING * i_save = gv_save * CHANGING * cs_variant = xs_variant * EXCEPTIONS * not_found = 2.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = gs_variant i_save = gv_save IMPORTING e_exit = gv_exit es_variant = gs_variant EXCEPTIONS not_found = 2.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gv_save CHANGING cs_variant = xv_variant.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid it_sort = gt_sort[] it_fieldcat = it_fieldcat is_variant = is_variant i_save = gc_save_all it_events = it_events TABLES t_outtab = it_output EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.