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

RFCORR40 SAP ABAP Report - Compare Program RFCORR40







RFCORR40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for For several customers that may be created in different company codes of a credit contral area, program RFCORR40 compares: total account balances with total credit receivables, and total special G/L balances with total special liabilities...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 RFCORR40 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 RFCORR40. "Basic submit
SUBMIT RFCORR40 AND RETURN. "Return to original report after report execution complete
SUBMIT RFCORR40 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: XPOSTEN = Item data
Selection Text: KRKOB = Credit control area
Selection Text: DIFFER = Difference allowed
Selection Text: CUSTOMER = Customer
Title: Compare Program RFCORR40
Text Symbol: 026 = Accounts with missing special G/L transaction figures (table KNC3):
Text Symbol: 025 = Accounts with missing transaction figures (table KNC1):
Text Symbol: 024 = Number of selected differences:
Text Symbol: 023 = Credit control amnt SpG/L Rel.
Text Symbol: 022 = Credit control amnt Reason Dspt
Text Symbol: 021 = CC Doc. no. Local crcy amount Doc. crcy amount
Text Symbol: 020 = Currency:
Text Symbol: 019 = Fiscal year = current fiscal year
Text Symbol: 018 = Credit control area:
Text Symbol: 017 = blank
Text Symbol: 016 = Special G/L balances equal special liabilities.
Text Symbol: 015 = Account balances equal credit receivables.
Text Symbol: 013 = Output control
Text Symbol: 012 = Selection criteria
Text Symbol: 011 = Customer Account balance
Text Symbol: 010 = Customer SpG/L balance
Text Symbol: 009 = Credit receivables
Text Symbol: 008 = Special liabilities
Text Symbol: 002 = Differences between special G/L balances and special liabilities:
Text Symbol: 001 = Differences between account balances and credit receivables:


INCLUDES used within this REPORT RFCORR40

No INCLUDES are used within this REPORT code!


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:

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = SY-DATLO LOCAL_AMOUNT = B01_LOCAM LOCAL_CURRENCY = B01_LOCCU FOREIGN_CURRENCY = B01_FORCU IMPORTING FOREIGN_AMOUNT = B01_FORAM EXCHANGE_RATE = RATE.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = SY-DATUM I_PERIV = BUKTAB-PERIV IMPORTING E_GJAHR = KUNTAB-GJAHR EXCEPTIONS ERROR_MESSAGE = 1.

FI_CM_GET_COMP_CODES CALL FUNCTION 'FI_CM_GET_COMP_CODES' EXPORTING I_KKBER = KRKOB TABLES T_BUKTAB = TCMATAB.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = TCMATAB-BUKRS IMPORTING E_T001 = T001 EXCEPTIONS ERROR_MESSAGE = 1.



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