SAP Reports / Programs | Financial Accounting(FI) SAP FI

RFINDEX SAP ABAP Report - FI Consistency Check







RFINDEX is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Consistency check of index tables against document table BSEG The report can check the consistency of the index tables (BSIS, BSAS, BSID, BSAD, BSIK and BSAK ) with the line items in table BSEG...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 RFINDEX 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 RFINDEX. "Basic submit
SUBMIT RFINDEX AND RETURN. "Return to original report after report execution complete
SUBMIT RFINDEX 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: X_OPDATE = Open Items vs Financial State.
Selection Text: X_MATNR = Check Material
Selection Text: X_KREDI = Check Vendors
Selection Text: X_INDEX = Indexes vs Documents
Selection Text: X_HEADE = Find Missing BSEG
Selection Text: X_F190 = Indexes - Transaction Figures
Selection Text: X_F070 = Documents-Transaction Figures
Selection Text: X_DUPLIC = Find Duplicate Index
Selection Text: X_DELIND = Delete Index without BSEG
Selection Text: X_DELHD = Delete BKPF without BSEG
Selection Text: X_DEBI = Check Customers
Selection Text: X_CLEAR = Check Clearing
Selection Text: X_BSEG = Documents vs Indexes
Selection Text: X_BILA = Check Financial Statements
Selection Text: REPAIR = Create/Repair Index
Selection Text: P_OI = Open Items Only
Selection Text: P_CL = Only Cleared Items
Selection Text: P_ANY = Cleared and Open Items
Selection Text: PROTOX = More Detailed
Selection Text: PROTOS = Summary
Selection Text: PROTOC = Detailed
Selection Text: C_BSEG = Check BSEG for Clearng Info
Selection Text: P_XBLNR = D .
Selection Text: P_WAERS = D .
Selection Text: P_UMSKZ = D .
Selection Text: P_UMSKS = D .
Selection Text: P_PSWSL = D .
Selection Text: P_MONAT = D .
Selection Text: P_MATNR = D .
Selection Text: P_LIFNR = D .
Selection Text: P_KUNNR = D .
Selection Text: P_HKONT = D .
Selection Text: P_GSBER = D .
Selection Text: P_GJAHR = D .
Selection Text: P_CPUDT = D .
Selection Text: P_BUKRS = D .
Selection Text: P_BUDAT = D .
Selection Text: P_BLART = D .





Selection Text: P_BELNR = D .
Selection Text: P_AUGDT = D .
Selection Text: P_AUGBL = D .
Selection Text: X_SAKO = Check General Ledger
Selection Text: X_RFBLG = Find Missing BKPF
Selection Text: X_REPVZ = Repair Transaction Figures
Title: FI Consistency Check
Text Symbol: 372 = Remember to select an account type
Text Symbol: 371 = At least one account must be selected
Text Symbol: 370 = No account will be checked
Text Symbol: 373 = Confirm
Text Symbol: 374 = New General Ledger Active
Text Symbol: 375 = GLT0 cannot be adjusted
Text Symbol: 363 = Key
Text Symbol: 362 = TransBal
Text Symbol: 361 = Rep. Balance
Text Symbol: 360 = RLDNR
Text Symbol: 359 = BSIM
Text Symbol: 358 = Error Message
Text Symbol: 376 = No reconciliation type specified
Text Symbol: 377 = Specify at least one reconciliation type
Text Symbol: 378 = No account type selected
Text Symbol: 379 = Select at least one account type
Text Symbol: 380 = Update run; continue?
Text Symbol: 381 = No fiscal year specified
Text Symbol: 382 = Specify a fiscal year
Text Symbol: 384 = Fixed point arithem. must be deactivated
Text Symbol: 385 = Company code does not exist
Text Symbol: 386 = Document Header w/o Items
Text Symbol: 387 = Document does not bal. to zero or incorrectBSEG-SHKZG
Text Symbol: 388 = Company Code
Text Symbol: 334 = Account Type
Text Symbol: 335 = Error in Doc. Sequence in Reconciliation Indexes-Docs
Text Symbol: 336 = Documents
Text Symbol: 337 = Difference
Text Symbol: 338 = Critical Accounts(Acct Type/Acct No./Mess.)
Text Symbol: 339 = RLDNR
Text Symbol: 340 = Indexes
Text Symbol: 341 = Balance





Text Symbol: 342 = Debit
Text Symbol: 343 = Credit
Text Symbol: 344 = GL Type
Text Symbol: 345 = DMBTR
Text Symbol: 346 = DMBE2
Text Symbol: 347 = DMBE3
Text Symbol: 348 = HKONT
Text Symbol: 349 = Field
Text Symbol: 350 = PSWDT
Text Symbol: 351 = PSWSL
Text Symbol: 352 = XARCH
Text Symbol: 353 = Company Code
Text Symbol: 354 = GJAHR
Text Symbol: 355 = BUSAR
Text Symbol: 356 = RTCUR
Text Symbol: 357 = SpG/L
Text Symbol: 420 = Summary: Reconciliation INDEX vs BSEG (Test Run)
Text Symbol: 421 = Find Missing Doc. Headers
Text Symbol: 422 = No errors occurred in reconciliation to find missing document headers
Text Symbol: 423 = Summary:
Text Symbol: 424 = Error
Text Symbol: 425 = Entries Checked
Text Symbol: 426 = No Update Run
Text Symbol: 427 = Fiscal Year Variant
Text Symbol: 428 = not found. Company code was not checked
Text Symbol: 429 = Total of Open Items for Acct Balan.
Text Symbol: 430 = From reconciliation accounts only possible for all customers
Text Symbol: 431 = From reconciliation accounts only possible for all vendors
Text Symbol: 433 = No Company Codes Checked
Text Symbol: 434 = Duplicate Indexs
Text Symbol: 436 = Invalid Combination of Selection Parameters
Text Symbol: 437 = No Differences Found
Text Symbol: 500 = Started:
Text Symbol: 501 = Finished:
Text Symbol: 502 = Runtime:
Text Symbol: 550 = Level
Text Symbol: 551 = Compare
Text Symbol: 552 = No Differences Found
Text Symbol: 553 = Not checked - check requires area from 01 to



Text Symbol: 554 = (complete year)
Text Symbol: 389 = Run terminated - posting performed during run
Text Symbol: 390 = Document that caused termination:
Text Symbol: 391 = Check Date:
Text Symbol: 392 = Check Time
Text Symbol: 393 = Documents without items or that do not balance to zero found; repair not possible
Text Symbol: 394 = No critical documents found; repair possible
Text Symbol: 395 = Year
Text Symbol: 396 = Carryfw
Text Symbol: 397 = Compare
Text Symbol: 398 = Bal.
Text Symbol: 399 = Level
Text Symbol: 401 = Critical Accounts in Company Code
Text Symbol: 402 = Check Clearing
Text Symbol: 403 = Summary of Clearing Check
Text Symbol: 404 = No Reparable Differences Found
Text Symbol: 405 = Correct transaction figures now? Company codes with critical documents will not be corrected.
Text Symbol: 410 = Ledger
Text Symbol: 411 = HSL Fields: Currency
Text Symbol: 412 = Cur. type
Text Symbol: 413 = KSL Fields: Currency
Text Symbol: 415 = No Differences Found
Text Symbol: 417 = Summary: Reconciliation BSEG vs INDEX (Update Run)
Text Symbol: 418 = Summary: Reconciliation BSEG vs INDEX (Test Run)
Text Symbol: 419 = Summary: Reconciliation INDEX vs BSEG (Update Run)
Text Symbol: 036 = Inconsistent Clearing
Text Symbol: 037 = Data Rec. in Incorrect Table
Text Symbol: 038 = Other Line Item:
Text Symbol: 039 = Material Acct
Text Symbol: 040 = G/L acct
Text Symbol: 041 = Recon. Acct
Text Symbol: 042 = Cust.
Text Symbol: 043 = Vendor
Text Symbol: 044 = vs BSEG
Text Symbol: 045 = SKB1-XOPVW=Space&BSEG-AUGBL<>Space, No Update
Text Symbol: 046 = SKB1-XOPVW=Space&BSEG-AUGBL<>Space
Text Symbol: 047 = XOPVW = X for Mat. Acct; No BSEG Update
Text Symbol: 048 = SKB1-XRES Initial; Can Be Deleted
Text Symbol: 049 = SKB1-XOPVW = X for Account Type M; Correct Master Record First
Text Symbol: 050 = BSEG-XOPVW = X for Account Type M; Correct Master Record First
Text Symbol: 051 = KOART_AUS_BSCHL:
Text Symbol: 052 = No Further Checks
Text Symbol: 053 = Incorrect KOART and BSCHL; No Further Checks
Text Symbol: 054 = Mat. acct master record is OI basis; BSEG-XOPVW not set
Text Symbol: 055 = INCON_CLEARING; No Further Checks
Text Symbol: 056 = Deleted
Text Symbol: 057 = Created
Text Symbol: 058 = Updated
Text Symbol: 059 = Document
Text Symbol: 060 = Modified
Text Symbol: 061 = No Errors
Text Symbol: 062 = RFBLGs Checked:
Text Symbol: 063 = RFBLGs Initial:
Text Symbol: 064 = BKPFs Missing:
Text Symbol: 065 = CoCd Doc.Number FYear
Text Symbol: 066 = Statements/Errors
Text Symbol: 067 = No Error in Reconciliation
Text Symbol: 068 = Errors Found
Text Symbol: 069 = Clearing Checked
Text Symbol: 070 = Indexes Read
Text Symbol: 001 = Gen. Data Selection
Text Symbol: 002 = Reconcil.
Text Symbol: 003 = Indexes
Text Symbol: 004 = Account Select.
Text Symbol: 005 = Repair Indicat.
Text Symbol: 006 = Doc. Selection
Text Symbol: 007 = Output
Text Symbol: 008 = Clearing
Text Symbol: 009 = Change transaction figures now?
Text Symbol: 010 = Documents vs Indexes
Text Symbol: 011 = Indexes vs Documents
Text Symbol: 012 = Find Missing BKPF
Text Symbol: 013 = Find Missing BSEG
Text Symbol: 014 = Check Clearing
Text Symbol: 015 = More Detailed
Text Symbol: 016 = Detailed
Text Symbol: 017 = Only Summary
Text Symbol: 018 = All Items
Text Symbol: 019 = Open Items
Text Symbol: 020 = Cleared Items
Text Symbol: 021 = Doc. Trans. Figs
Text Symbol: 022 = Indexes Trans.Figs
Text Symbol: 023 = Open Items Total
Text Symbol: 024 = Find Duplicate Indexes
Text Symbol: 025 = Check Accounts/FS
Text Symbol: 026 = No SKB1 data record, transaction figures could not be adjusted for:
Text Symbol: 027 = No KNB1 data record, transaction figures could not be adjusted for:
Text Symbol: 028 = No LFB1 data record, transaction figures could not be adjusted for:
Text Symbol: 029 = Data Rcrds Changed
Text Symbol: 030 = Before
Text Symbol: 031 = After
Text Symbol: 032 = Delta
Text Symbol: 033 = SKB1-XKRES = Space
Text Symbol: 034 = and SKB1-XOPVW = "X"
Text Symbol: 035 = Master record must be corrected, no check possible
Text Symbol: 071 = BSIS/BSAS Entries with ALE Extern.
Text Symbol: 108 = Duplic. Indexes In
Text Symbol: 109 = In
Text Symbol: 110 = vs
Text Symbol: 301 = Reconciliation BKPF/BSEG vs Indexes
Text Symbol: 302 = CCDE
Text Symbol: 303 = BELNR
Text Symbol: 304 = Year
Text Symbol: 305 = Comparison
Text Symbol: 306 = Account
Text Symbol: 307 = Report
Text Symbol: 308 = Tab.
Text Symbol: 309 = Umsks
Text Symbol: 310 = Umskz
Text Symbol: 311 = ClDat
Text Symbol: 312 = Augbl
Text Symbol: 313 = AssNo
Text Symbol: 314 = S
Text Symbol: 315 = PK
Text Symbol: 316 = Wrbtr
Text Symbol: 317 = Dmbtr
Text Symbol: 318 = Pswbt
Text Symbol: 319 = XK
Text Symbol: 320 = XO
Text Symbol: 321 = XH
Text Symbol: 322 = Table
Text Symbol: 323 = BKPF
Text Symbol: 324 = BSEG
Text Symbol: 325 = BSIS
Text Symbol: 326 = BSAS
Text Symbol: 327 = BSID
Text Symbol: 328 = BSAD
Text Symbol: 329 = BSIK
Text Symbol: 330 = BSAK
Text Symbol: 331 = Error/Messages
Text Symbol: 332 = Reconciliation
Text Symbol: 072 = External Account Mgt; SKB1-WMETH=X
Text Symbol: 073 = GLT0 Data Record w/o Mstr Rec
Text Symbol: 074 = BSIK/BSAK-LIFNR w/o Master
Text Symbol: 075 = BSIK/BSAK Entries with ALE Extern.
Text Symbol: 076 = LFC* w/o Master
Text Symbol: 077 = BSID-/BSAD-KUNNR w/o Master
Text Symbol: 078 = BSID/BSAD Entries with ALE Extern.
Text Symbol: 079 = KNC* w/o Master
Text Symbol: 080 = Extern.ALE
Text Symbol: 081 = Update Incorrect
Text Symbol: 082 = Update Successful
Text Symbol: 083 = Indexes Found
Text Symbol: 084 = Display Entries in Idx Tab.
Text Symbol: 085 = Data Recs.
Text Symbol: 086 = FYear Variant
Text Symbol: 087 = First Day of Period
Text Symbol: 088 = could not be determined
Text Symbol: 089 = Last Day of Period
Text Symbol: 090 = Open Item Total Before
Text Symbol: 092 = BSID-/BSAD-HKONT w/o Master
Text Symbol: 093 = BSIK-/BSAK_HKONT w/o Master
Text Symbol: 094 = BSIS-/BSAS-HKONT w/o Master
Text Symbol: 095 = BSIS/BSAS Entries w/o SKB1-XKRES
Text Symbol: 096 = No Data Records for Company Code
Text Symbol: 097 = In Tables BSIS or BSAS for Key Specified
Text Symbol: 098 = Open Item Total/Account Balance Carryfwd
Text Symbol: 099 = In Tables BSID or BSAD for Key Specified
Text Symbol: 100 = Total Customer Open Items/Rec. Acct Balance
Text Symbol: 101 = In Tables BSIK or BSAK for Key Specified
Text Symbol: 102 = Total Vendor Open Items/Recon. Account Balance
Text Symbol: 103 = Acct is ALE Sender
Text Symbol: 104 = Comparison at HKONT, GSBER, PSWSL Level
Text Symbol: 105 = Error On
Text Symbol: 106 = Duplicate Indexes Comparison
Text Symbol: 107 = In Comparisn


INCLUDES used within this REPORT RFINDEX

INCLUDE RFINDEX_SCHED.


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:

FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = curtab-rldnr i_rrcty = '0' i_rvers = '001' i_bukrs = bkrs i_rpmax = '016' i_range_ryear = lt_ryear i_range_racct = lt_racct IMPORTING et_glt0 = lt_fagl_t_glt0.

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = 'Es wird kein Konto geprüft'(370) textline1 = 'Es muß mindestens ein Konto selektiert werden'(371) textline2 = 'Bitte nicht vergessen eine Kontoart auszuwählen'(372).

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = 'Bestätigen'(373) textline1 = 'Neues Hauptbuch ist aktiv'(374) textline2 = 'GLT0 kann nicht angepasst werden'(375).

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = 'Es wird kein Konto geprüft'(370) textline1 = 'Es muß mindestens ein Konto selektiert werden'(371) textline2 = 'Bitte nicht vergessen eine Kontoart auszuwählen'(372).

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = pit001-bukrs i_land1 = pit001-land1 i_rcomp = pit001-rcomp IMPORTING e_x001 = ls_x001 EXCEPTIONS currency_2_not_defined = 1 currency_3_not_defined = 2 OTHERS = 3.

G_GIVE_LEDGERS_FOR_GLT0 CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' EXPORTING bukrs = pit001-bukrs curtp = ls_x001-curt2 TABLES ledtab = xgledtab.

G_GIVE_LEDGERS_FOR_GLT0 CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' EXPORTING bukrs = pit001-bukrs curtp = ls_x001-curt3 TABLES ledtab = xgledtab.

G_GIVE_LEDGERS_FOR_GLT0 * CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' * EXPORTING * bukrs = pit001-bukrs * curtp = curt * TABLES * ledtab = xgledtab.

G_GIVE_LEDGERS_FOR_GLT0 * CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' * EXPORTING * bukrs = pit001-bukrs * curtp = curt * TABLES * ledtab = xgledtab.

FI_CURRENCY_INFORMATION * CALL FUNCTION 'FI_CURRENCY_INFORMATION' * EXPORTING * i_bukrs = pit001-bukrs ** I_LAND1 = ' ' ** I_RCOMP = ' ' * IMPORTING * E_X001 = ls_x001 * EXCEPTIONS * CURRENCY_2_NOT_DEFINED = 1 * CURRENCY_3_NOT_DEFINED = 2 * OTHERS = 3 * .

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'D' i_origin = 'RFINDEX AVOID_ZERO_AMOUNT' i_tabname = 'GLT0' i_structure = bw_glt0 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = '0_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'D' i_origin = 'RFINDEX AVOID_ZERO_AMOUNT' i_tabname = 'KNC1' i_structure = bw_knc1 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'D' i_origin = 'RFINDEX AVOID_ZERO_AMOUNT' i_tabname = 'LFC1' i_structure = bw_lfc1 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'D' i_origin = 'RFINDEX AVOID_ZERO_AMOUNT' i_tabname = 'KNC3' i_structure = bw_knc3 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'D' i_origin = 'RFINDEX AVOID_ZERO_AMOUNT' i_tabname = 'LFC3' i_structure = bw_lfc3 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = tdelta-rldnr i_rrcty = '0' i_rvers = '001' i_bukrs = tdelta-bukrs i_ryear = tdelta-gjahr i_racct = tdelta-accnt i_rbusa = tdelta-gsber i_rtcur = tdelta-pswsl i_drcrk = tdelta-shkzg i_rpmax = '016' IMPORTING et_glt0 = lt_fagl_t_glt0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'M' i_origin = 'RFINDEX VZ_KORRIGIEREN' i_tabname = 'GLT0' i_structure = glt0 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'M' i_origin = 'RFINDEX VZ_KORRIGIEREN' i_tabname = 'KNC1' i_structure = knc1 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'M' i_origin = 'RFINDEX VZ_KORRIGIEREN' i_tabname = 'LFC1' i_structure = lfc1 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'M' i_origin = 'RFINDEX VZ_KORRIGIEREN' i_tabname = 'KNC3' i_structure = knc3 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'OPEN_FI_PERFORM_00005012_P' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING i_chgtype = 'M' i_origin = 'RFINDEX VZ_KORRIGIEREN' i_tabname = 'LFC3' i_structure = lfc3 * TABLES * T_STRUCTURE = EXCEPTIONS error = 0 OTHERS = 0.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = 'RFBLG'.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * titel = 'Table to count entries' * textline1 = sy-ucomm.

POPUP_TO_DISPLAY_TEXT * call function 'POPUP_TO_DISPLAY_TEXT' * exporting * titel = 'Unknown user command' * textline1 = Sy-ucomm.

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = 'Sie haben keine Abstimmungsart angegeben'(376) textline1 = 'Bitte geben Sie mindestens eine Abstimmungsart an'(377) textline2 = ''.

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = 'Sie haben keine Kontoart ausgewählt'(378) textline1 = 'Wählen Sie mindestens eine Kontoart aus'(379) textline2 = ''.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING defaultoption = 'N' textline1 = rrr titel = 'Bestätigen'(373) cancel_display = '' IMPORTING answer = rr.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING defaultoption = 'N' textline1 = rrr titel = 'Bestätigen'(373) cancel_display = '' IMPORTING answer = rr.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text percentage = outperc.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = p_bukrs date = sy-datum IMPORTING curry = yea_end prevy = yea_start.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING i_gjahr = iperiv-gjahr i_monat = iperiv-monat i_periv = p_periv IMPORTING e_fday = iperiv-fiday e_lday = iperiv-laday EXCEPTIONS error_period = 1 error_period_version = 2 firstday_not_defined = 3 period_not_defined = 4 year_invalid = 5 OTHERS = 6.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING i_gjahr = miny i_monat = min i_periv = pt001-periv IMPORTING e_fday = minday * E_LDAY = mayday EXCEPTIONS error_period = 1 error_period_version = 2 firstday_not_defined = 3 period_not_defined = 4 year_invalid = 5 OTHERS = 6.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING i_gjahr = maxy i_monat = max i_periv = pt001-periv IMPORTING * E_FDAY = minday e_lday = maxday EXCEPTIONS error_period = 1 error_period_version = 2 firstday_not_defined = 3 period_not_defined = 4 year_invalid = 5 OTHERS = 6.

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = 'Sie haben keine Geschäftjahr angegeben!'(381) textline1 = 'Bitte geben Sie ein Geschäftjahr an'(382).

FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = curtab-rldnr i_rrcty = '0' i_rvers = '001' i_bukrs = pit001-bukrs i_ryear = p_gjahr-low i_rpmax = '016' IMPORTING et_glt0 = lt_fagl_t_glt0.

RH_FUNCTION_EXIST CALL FUNCTION 'RH_FUNCTION_EXIST' EXPORTING name = ld_name EXCEPTIONS function_not_found = 1 OTHERS = 2.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = ld_glflex_active EXCEPTIONS error_in_setup = 1 OTHERS = 2.

FAGL_GET_GLT0_SETTING CALL FUNCTION 'FAGL_GET_GLT0_SETTING' IMPORTING ed_read_glt0_user = ld_read_glt0_user.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command i_default = gc_checked is_layout = is_layo_list it_fieldcat = it_fcat_list it_events = it_evts_list it_sort = it_sort_list is_print = is_prnt_list TABLES t_outtab = it_table EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command is_layout = is_layo_list it_fieldcat = it_fcat_list * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = it_sort_list it_events = it_evts_list * IT_EVENT_EXIT = i_tabname_header = iv_header i_tabname_item = iv_item * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = is_keyinfo is_print = is_prnt_list TABLES t_outtab_header = it_alv_table1 t_outtab_item = it_alv_table2 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_internal_tabname = iv_header_name i_structure_name = iv_structure_name1 CHANGING ct_fieldcat = xt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_internal_tabname = iv_item_name i_structure_name = iv_structure_name2 CHANGING ct_fieldcat = xt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = iv_structure_name1 CHANGING ct_fieldcat = xt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.



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