CACS_PRC_SETTLEMENT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With program
If you would like to execute this report or see the full code listing simply enter CACS_PRC_SETTLEMENT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CACSSE1 - Settlement
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: SO_CTRT = D .
Selection Text: PA_KEYD = D .
Selection Text: SO_STM = D Settlement Type
Selection Text: P_TIME_C = Edit Time Control
Selection Text: P_POST_C = Edit Posting Date
Selection Text: PA_THRSH = D Settle Minimum Amounts
Selection Text: PA_SIMU = D Simulation
Selection Text: PA_DATET = Posting on Settlement Date
Selection Text: PA_DATES = Posting on Due Date
Selection Text: PA_DATEM = Other Date
Selection Text: PA_DATEC = Posting on Delimitation Date
Selection Text: PA_DATE = Posting on Other Date
Selection Text: PA_CLOSE = Close Periods
Title: Settlement
Text Symbol: F03 = Time Control
Text Symbol: F02 = Processing Mode
Text Symbol: F01 = Selection
Text Symbol: B02 = Log
Text Symbol: B01 = Results
Text Symbol: 053 = Posting on Due Date
Text Symbol: 052 = Posting on Delimitation Date
Text Symbol: 051 = Posting on Settlement Date
Text Symbol: 050 = Other Date
Text Symbol: 024 = Determine Time-Spots
Text Symbol: 023 = Time Control
Text Symbol: 022 = ********************* Update Run **************************
Text Symbol: 021 = ********************* Test Run ****************************
Text Symbol: 020 = Document cannot be posted - see the log
Text Symbol: 013 = Control Data
Text Symbol: 012 = Threshold Values
Text Symbol: 011 = Log
Text Symbol: 010 = Current Period
Text Symbol: 009 = Period-End Closing
Text Symbol: 008 = Posting Date
Text Symbol: 007 = Processing Mode
Text Symbol: 006 = Selection
Text Symbol: 004 = Program terminated with number range errors
Text Symbol: 003 = Program terminated due to error specified
INCLUDE CACS_PRC_SETTLEMENT_F01.
INCLUDE CACS_PRC_SETTLEMENT_F02.
INCLUDE CACS_PRC_SETTLEMENT_F03.
INCLUDE CACS_PRC_SETTLEMENT_F04.
INCLUDE CACS_PRC_SETTLEMENT_F05.
No SAP DATABASE tables are accessed within this REPORT code!
CACS_DETERMINE_PROPER_APPL CALL FUNCTION 'CACS_DETERMINE_PROPER_APPL' EXPORTING i_safety = abap_true IMPORTING e_appl = pa_appl EXCEPTIONS no_appl = 1 OTHERS = 2.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = 'CACS_STMTY_SETTL' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_STM-LOW'.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = 'CACS_STMTY_SETTL' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_STM-HIGH'.
CACS_PR_UI_2000_SHOW_RESULTS CALL FUNCTION 'CACS_PR_UI_2000_SHOW_RESULTS' EXPORTING id_appl = pa_appl id_prc_type = cl_cacs_prc_const=>gc_prctype_settlement id_prc_meth = cl_cacs_prc_const=>gc_prcmeth_run id_runid = gd_runid id_key_date = pa_keyd id_busitime = pa_busi id_techtime = pa_tech id_loghandle = gd_loghandle ib_simulation = pa_simu ir_result = gr_result.
CACS_PR_UI_0100_TOGGLE_VISIBLE CALL FUNCTION 'CACS_PR_UI_0100_TOGGLE_VISIBLE'.
CACS_PR_UI_0100_TOGGLE_VISIBLE call function 'CACS_PR_UI_0100_TOGGLE_VISIBLE' exporting ib_visible = p_time_c.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.