SAP Reports / Programs

CACS_SETTLE_STATS SAP ABAP Report - ZINQ_PROGRAMM Program







CACS_SETTLE_STATS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter CACS_SETTLE_STATS 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 CACS_SETTLE_STATS. "Basic submit
SUBMIT CACS_SETTLE_STATS AND RETURN. "Return to original report after report execution complete
SUBMIT CACS_SETTLE_STATS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: ZINQ_PROGRAMM Program
Text Symbol: 001 = Number of errors that occurred
Text Symbol: 002 = How Many Times Processed
Text Symbol: 003 = No. of Warnings Issued
Text Symbol: 004 = Log
Text Symbol: 005 = Commission Recipient Excluded
Text Symbol: 006 = End of Settlement Run
Text Symbol: T01 = Statistics of Settlement Runs
Text Symbol: T02 = Contracts with Open Items for Settlement


INCLUDES used within this REPORT CACS_SETTLE_STATS

INCLUDE CACS_SETTLE_STATSTOP. " GLOBAL DATA


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:

CACS_DETERMINE_PROPER_APPL CALL FUNCTION 'CACS_DETERMINE_PROPER_APPL' IMPORTING e_appl = gd_appl EXCEPTIONS no_appl = 1 OTHERS = 2.

CACS_CHECK_QUAL_AUTH CALL FUNCTION 'CACS_CHECK_QUAL_AUTH' EXPORTING i_application = gd_appl i_object = 'E_CACS_CTR' * i_actvt = '84' EXCEPTIONS no_authority = 1 OTHERS = 2.

CACS_CHECK_QUAL_AUTH CALL FUNCTION 'CACS_CHECK_QUAL_AUTH' EXPORTING i_application = gd_appl i_object = 'E_CACS_ADM' * i_actvt = '84' EXCEPTIONS no_authority = 1 OTHERS = 2.

CACS_GET_RI_HD_FOR_CTR CALL FUNCTION 'CACS_GET_RI_HD_FOR_CTR' EXPORTING id_appl = gd_appl id_prc_type = cl_cacs_prc_const=>gc_prctype_settlement id_prc_meth = cl_cacs_prc_const=>gc_prcmeth_run it_contract_range = gt_contract_range * ID_DAYS_BACK = * ID_NUMBER_ENTRIES = TABLES et_ri_hd = gt_ri_hd.

CACS_GET_BAL_STATISTIC CALL FUNCTION 'CACS_GET_BAL_STATISTIC' EXPORTING id_log_handle = gs_ri_hd-loghandle IMPORTING * EO_BAL = ed_succeded = gs_settlement_run_summarize-succeded ed_warning = gs_settlement_run_summarize-warning ed_failed = gs_settlement_run_summarize-failed.

CACS_GET_SE_CTRTS CALL FUNCTION 'CACS_GET_SE_CTRTS' EXPORTING id_appl = gd_appl it_contract_range = gt_contract_range TABLES et_summarize_se_on_ctrt = gt_contract_summarize[].

CACS_GET_RI_HD CALL FUNCTION 'CACS_GET_RI_HD' EXPORTING id_appl = gd_appl id_prc_type = cl_cacs_prc_const=>gc_prctype_settlement id_prc_meth = cl_cacs_prc_const=>gc_prcmeth_run * ID_DAYS_BACK = 7 * id_number_entries = 20 TABLES et_ri_hd = gt_ri_hd.

CACS_GET_BAL_STATISTIC CALL FUNCTION 'CACS_GET_BAL_STATISTIC' EXPORTING id_log_handle = gs_ri_hd-loghandle IMPORTING * EO_BAL = ed_succeded = gs_settlement_run_summarize-succeded ed_warning = gs_settlement_run_summarize-warning ed_failed = gs_settlement_run_summarize-failed.



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