SAP Reports / Programs | Financial Accounting | Accounts Receivable | Basic Functions(FI-AR-AR) SAP FI

RFDKLI20_NACC SAP ABAP Report - SD, FI: Recreation of Credit Data after Organizational Changes







RFDKLI20_NACC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi RFDKLI20 recreates SD and FI credit data after organizational changes...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 RFDKLI20_NACC 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 RFDKLI20_NACC. "Basic submit
SUBMIT RFDKLI20_NACC AND RETURN. "Return to original report after report execution complete
SUBMIT RFDKLI20_NACC 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: XONSD = Only Recreate SD Data
Selection Text: XONFI = Only Recreate FI Data
Selection Text: XFISD = Recreate FI and SD Data
Selection Text: XANALYSE = Analysis of FI Data
Selection Text: TESTLAUF = Test run
Selection Text: SDCHD = Create SD Change Documents
Selection Text: PKUNNR = Customer
Selection Text: PKKBER = Credit control area
Title: SD, FI: Recreation of Credit Data after Organizational Changes
Text Symbol: P01 = Further sel. options
Text Symbol: 016 = Tables T001, T001CM and T014
Text Symbol: 015 = Check your Customizing:
Text Symbol: 012 = Wr-off rec.(old)
Text Symbol: 011 = Spec.commit.(old)
Text Symbol: 010 = Receivables(old)
Text Symbol: 009 = Wr-off rec.(new)
Text Symbol: 008 = Spec.commit.(new)
Text Symbol: 007 = Receivables (new)
Text Symbol: 006 = Name
Text Symbol: 005 = No changes were carried out
Text Symbol: 004 = Credit limit for following accts not yet maintained or the credit management accts for following accounts not selected in this run:
Text Symbol: 003 = Control Area
Text Symbol: 002 = Acct
Text Symbol: 001 = Credit limit for following customers reset:


INCLUDES used within this REPORT RFDKLI20_NACC

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:

SD_CREDIT_RECREATE CALL FUNCTION 'SD_CREDIT_RECREATE' EXPORTING after_change_knkli = 'X' after_change_tvap_tvlp = 'X' kkber = crdtab-kkber kunnr = crdtab-kunnr protocol = '' recheck_documents = 'X' set_commit = 'X' change_documents = sdchd tknkk = crdtab.

FI_CM_GET_COMP_CODES CALL FUNCTION 'FI_CM_GET_COMP_CODES' EXPORTING i_kkber = t001-kkber TABLES t_buktab = erlbuk.

FI_CM_CHECK_COMP_CONTROLAREA CALL FUNCTION 'FI_CM_CHECK_COMP_CONTROLAREA' EXPORTING i_kkber = bsid-kkber i_bukrs = bsid-bukrs EXCEPTIONS not_allowed = 1 OTHERS = 2.

FI_CREDIT_CONTROL_AREA_DATA CALL FUNCTION 'FI_CREDIT_CONTROL_AREA_DATA' EXPORTING i_kkber = bsid-kkber IMPORTING e_t014 = t014.

CREDITCONTROL_CALCULATE_AMOUNT CALL FUNCTION 'CREDITCONTROL_CALCULATE_AMOUNT' EXPORTING datum = datum dmbtr = bseg-dmbtr fwaer = bkpf-waers hwaer = t001-waers kkber = bsid-kkber umskz = bseg-umskz waers = t014-waers wrbtr = bseg-wrbtr rstgr = bseg-rstgr bukrs = bseg-bukrs akont = bseg-hkont absbt = bseg-absbt IMPORTING klibt = bseg-klibt.

CREDITCONTROL_SET_INCREMENT CALL FUNCTION 'CREDITCONTROL_SET_INCREMENT' EXPORTING klibt = bseg-klibt umskz = bseg-umskz shkzg = bseg-shkzg xausz = space i_absbt = bseg-absbt IMPORTING skfor = save-skfor ssobl = save-ssobl e_absbt = save-absbt.

CREDITCONTROL_MASS_REBUILD CALL FUNCTION 'CREDITCONTROL_MASS_REBUILD' EXPORTING testlauf = testlauf TABLES t_crdtab = crdtab et_listtab = listtab.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_STRUCTURE_NAME = * IS_LAYOUT = it_fieldcat = t_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = it_events = gt_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = listtab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

FI_CM_CHECK_COMP_CONTROLAREA CALL FUNCTION 'FI_CM_CHECK_COMP_CONTROLAREA' EXPORTING i_kkber = bsid-kkber i_bukrs = bsid-bukrs EXCEPTIONS not_allowed = 1 OTHERS = 2.

FI_CREDIT_CONTROL_AREA_DATA CALL FUNCTION 'FI_CREDIT_CONTROL_AREA_DATA' EXPORTING i_kkber = bsid-kkber IMPORTING e_t014 = t014.

CREDITCONTROL_CALCULATE_AMOUNT CALL FUNCTION 'CREDITCONTROL_CALCULATE_AMOUNT' EXPORTING datum = datum dmbtr = bseg-dmbtr fwaer = bkpf-waers hwaer = t001-waers kkber = bsid-kkber umskz = bseg-umskz waers = t014-waers wrbtr = bseg-wrbtr rstgr = bseg-rstgr bukrs = bseg-bukrs akont = bseg-hkont absbt = bseg-absbt IMPORTING klibt = bseg-klibt.

CREDITCONTROL_SET_INCREMENT CALL FUNCTION 'CREDITCONTROL_SET_INCREMENT' EXPORTING klibt = bseg-klibt umskz = bseg-umskz shkzg = bseg-shkzg xausz = space i_absbt = bseg-absbt IMPORTING skfor = save-skfor ssobl = save-ssobl e_absbt = save-absbt.

OPEN_FI_PERFORM_00005010_P CALL FUNCTION 'OPEN_FI_PERFORM_00005010_P' EXPORTING i_chgtype = 'U' i_origin = 'RFDKLI20 BSID_UPDATE' i_tabname = 'BSID' i_where_bukrs = bseg-bukrs i_where_kunnr = bseg-kunnr i_where_umsks = bseg-umsks i_where_umskz = bseg-umskz i_where_augdt = bseg-augdt i_where_augbl = bseg-augbl i_where_zuonr = bseg-zuonr i_where_gjahr = bseg-gjahr i_where_belnr = bseg-belnr i_where_buzei = bseg-buzei EXCEPTIONS OTHERS = 1.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 2 IMPORTING et_events = gt_events EXCEPTIONS OTHERS = 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 RFDKLI20_NACC or its description.