SAPF010 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program calculates the balance carried forward for customers and/or vendors...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 SAPF010 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
F010 - ABAP/4 Reporting: Fiscal Year Change
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: X_KONTK = Select vendors
Selection Text: X_KONTD = Select customers
Selection Text: XTEST = Test run
Selection Text: XDETA = Detail log
Selection Text: NEWJR = Carryforward to fiscal year
Selection Text: LIFNR = Vendor
Selection Text: KUNNR = Customer
Selection Text: BUKRS = Company code
Title: Carry Forward Receivables/Payables
Text Symbol: B03 = Processing parameters
Text Symbol: B02 = Vendor selection
Text Symbol: B01 = Customer selection
Text Symbol: 017 = Account SpGL CoCde Bal.car.fwd to change by
Text Symbol: 016 = Account CoCde Bal.car.fwd to change by
Text Symbol: 015 = Errors
Text Symbol: 014 = Successful
Text Symbol: 013 = Statistics
Text Symbol: 012 = CoCde SpG/L Number
Text Symbol: 011 = for the year
Text Symbol: 010 = Account SpGL CoCde Bal.carr.fwd changed by
Text Symbol: 009 = Account CoCde Bal.carr.fwd changed by
Text Symbol: 008 = Vendor special G/L
Text Symbol: 007 = Vendor G/L
Text Symbol: 006 = Customer special G/L
Text Symbol: 005 = Customer G/L
Text Symbol: 004 = Error list
Text Symbol: 003 = Log
Text Symbol: 002 = Upd. run
Text Symbol: 001 = Test Run
INCLUDE RKASMAWF.
No SAP DATABASE tables are accessed within this REPORT code!
KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING LS_DETAIL = LS_DETAIL LS_WITEM = LS_WITEM IMPORTING LS_KEY = LS_KEY_STATIC TABLES LT_SELKRIT = LT_SELKRIT LT_PARAM = LT_PARAM.
KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING LS_KEY = LS_KEY_STATIC LS_SCMA_EVENT = LS_SCMA_EVENT CHANGING LD_APLSTAT = LD_APLSTAT EXCEPTIONS NO_ID_GIVEN = 1 OTHERS = 0.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = SY-DATLO I_MONAT = MONAT I_BUKRS = T001-BUKRS IMPORTING E_GJAHR = GJAHR E_MONAT = MONAT.
FI_EMU_GET_CONVERSION_DATE CALL FUNCTION 'FI_EMU_GET_CONVERSION_DATE' EXPORTING I_BUKRS = T001-BUKRS IMPORTING E_DATE = EURO_DATUM EXCEPTIONS WRONG_INPUT = 1 COMPANYCODE_NOT_FOUND = 2 SYSTEM_ERROR = 3 OTHERS = 4.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = EURO_DATUM I_BUKRS = T001-BUKRS IMPORTING E_GJAHR = EURO_GJAHR.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'I' I_ORIGIN = 'SAPF010_ALV INSERT_KNC1' "#EC * I_TABNAME = 'KNC1' I_STRUCTURE = KNC1 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'I' I_ORIGIN = 'SAPF010_ALV INSERT_KNC3' "#EC * I_TABNAME = 'KNC3' I_STRUCTURE = KNC3 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'I' I_ORIGIN = 'SAPF010_ALV INSERT_LFC1' "#EC * I_TABNAME = 'LFC1' I_STRUCTURE = LFC1 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'I' I_ORIGIN = 'SAPF010_ALV INSERT_LFC3' "#EC * I_TABNAME = 'LFC3' I_STRUCTURE = LFC3 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
FI_TF_CHECK_SELECTION CALL FUNCTION 'FI_TF_CHECK_SELECTION' EXPORTING I_BUKRS = BUKRS[] I_GJAHR = CHECK_YEAR I_DEBIT = X_KONTD I_KREDI = X_KONTK EXCEPTIONS ARCHIVE_EXISTS = 1.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'U' I_ORIGIN = 'SAPF010_ALV UPDATE_KNC1' "#EC * I_TABNAME = 'KNC1' I_STRUCTURE = BW_KNC1 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'U' I_ORIGIN = 'SAPF010_ALV UPDATE_KNC3' "#EC * I_TABNAME = 'KNC3' I_STRUCTURE = BW_KNC3 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'U' I_ORIGIN = 'SAPF010_ALV UPDATE_LFC1' "#EC * I_TABNAME = 'LFC1' I_STRUCTURE = BW_LFC1 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
OPEN_FI_PERFORM_00005012_P CALL FUNCTION 'OPEN_FI_PERFORM_00005012_P' EXPORTING I_CHGTYPE = 'U' I_ORIGIN = 'SAPF010_ALV UPDATE_LFC3' "#EC * I_TABNAME = 'LFC3' I_STRUCTURE = BW_LFC3 * TABLES * T_STRUCTURE = EXCEPTIONS ERROR = 1 OTHERS = 2.
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 = GT_TOP_OF_PAGE.
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_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = I_STRNAME CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_callback_pf_status_set = gc_setpfstatus I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT * I_SAVE = G_SAVE IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_OUTPUT_LISTS EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_callback_pf_status_set = gc_setpfstatus I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT * I_SAVE = G_SAVE IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_OUTPUT_LISTK EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_callback_pf_status_set = gc_setpfstatus I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT * I_SAVE = G_SAVE IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_OUTPUT_LISTL 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.
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 SAPF010 or its description.
SAPF010 - Carry Forward Receivables/Payables SAPF010 - Carry Forward Receivables/Payables SAPF00PS_MDS_UTIL - Subroutines for Pension Workbench Master Data Tool SAPF00PS_MDS_UTIL - Subroutines for Pension Workbench Master Data Tool SAPF006 - Create Table TMODU from Screen Source Codes SAPF006 - Create Table TMODU from Screen Source Codes