SAP Reports / Programs | Incentive and Commission Management (ICM)(ICM) SAP ICM

CACS_END_CTRT_EFF_ALV SAP ABAP Report - Effective Ending of Legally Ended Commission Contracts







CACS_END_CTRT_EFF_ALV 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_END_CTRT_EFF_ALV into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CACS_END_CTRT - Automat.End CommCtrct on Eff.to Dte


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_END_CTRT_EFF_ALV. "Basic submit
SUBMIT CACS_END_CTRT_EFF_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT CACS_END_CTRT_EFF_ALV 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: S_CTRTID = D .
Selection Text: P_TSTDAT = D .
Selection Text: P_LIMIT = D .
Selection Text: P_ECHDAT = D .
Selection Text: P_APPL = D .
Selection Text: P_TEST = Test Run
Selection Text: P_NOERR = Only Output Ended Contracts
Selection Text: P_LIVE = Update Run
Selection Text: P_GOOD = Only Ctrts That Can Be Ended
Selection Text: P_ERR = Only Ctrts That Can't Be Ended
Selection Text: P_BOTH = Update Run with Archiving Flag
Selection Text: P_ALL = List Output of all Contracts
Title: Effective Ending of Legally Ended Commission Contracts
Text Symbol: 024 = Red Light; Stop; Errors
Text Symbol: 023 = Yellow Light: Caution
Text Symbol: 022 = Green Light: Go; OK
Text Symbol: 021 = Failed
Text Symbol: 020 = Checked; OK
Text Symbol: 019 = Message
Text Symbol: 018 = Check Successful?
Text Symbol: 017 = Effective Ending of Legally Ended Commission Contracts
Text Symbol: 016 = Contract Test Only
Text Symbol: 015 = Test Run
Text Symbol: 014 = Upd. Run
Text Symbol: 013 = Contract End
Text Symbol: 012 = Contract Number
Text Symbol: 010 = Contracts Are Effectively Ended on Date:
Text Symbol: 009 = Analysis Period
Text Symbol: 008 = Processing Type
Text Symbol: 007 = Params - Update Run
Text Symbol: 006 = Params - Test Run
Text Symbol: 005 = Update Run With Archiving Flag
Text Symbol: 004 = Update Run Without Archiving Flag
Text Symbol: 003 = Process All Contracts Effective Until
Text Symbol: 002 = Basic Data
Text Symbol: 001 = New Effective-To Date of Contract


INCLUDES used within this REPORT CACS_END_CTRT_EFF_ALV

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:

BUS_DATEFIELD_PAI CALL FUNCTION 'BUS_DATEFIELD_PAI' EXPORTING i_past_allowed = space i_future_allowed = 'X' i_threshold = 50 * IMPORTING * E_VALUE_DB = CHANGING c_value_dynp = p_limit EXCEPTIONS date_not_allowed = 1 date_in_past_not_allowed = 2 * DATE_IN_FUTURE_NOT_ALLOWED = 3 OTHERS = 4.

HELP_OBJECT_SHOW * CALL FUNCTION 'HELP_OBJECT_SHOW' * EXPORTING * dokclass = 'NA' * doklangu = sy-langu * dokname = 'CACS_ARCHIVE501' * TABLES * links = links * EXCEPTIONS * object_not_found = 1 * sapscript_error = 2 * OTHERS = 3.

CACS_DATE_GET_TIMESTAMP CALL FUNCTION 'CACS_DATE_GET_TIMESTAMP' EXPORTING i_date = sy-datum i_time = '000000' IMPORTING e_timestamp = gv_busiend_echt EXCEPTIONS DATE_NOT_FILLED_BUT_TIME = 1 DATE_HAS_NO_VALID_FORMAT = 2.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = p_limit IMPORTING date_internal = gv_dat_limit EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

CACS_DATE_GET_TIMESTAMP CALL FUNCTION 'CACS_DATE_GET_TIMESTAMP' EXPORTING i_date = gv_dat_limit i_time = '000000' IMPORTING e_timestamp = gv_busiend_limit EXCEPTIONS DATE_NOT_FILLED_BUT_TIME = 1 DATE_HAS_NO_VALID_FORMAT = 2.

CACS_RUN_CONTROL_CTRT CALL FUNCTION 'CACS_RUN_CONTROL_CTRT' EXPORTING i_appl = p_appl i_busitime_e = gv_busiend_echt i_set_bue_flag = 'X' i_set_xdele_flag = p_both i_testrun_flag = space i_busitime_limit = gv_busiend_limit TABLES pt_ctrtbu_id_rg = s_ctrtid pt_mseg = it_mseg EXCEPTIONS busitime_end_empty = 1 OTHERS = 2.

CACS_RUN_CONTROL_CTRT CALL FUNCTION 'CACS_RUN_CONTROL_CTRT' EXPORTING i_appl = p_appl i_busitime_e = gv_busiend_test i_set_bue_flag = space i_set_xdele_flag = space i_testrun_flag = 'X' i_busitime_limit = gv_busiend_limit TABLES pt_ctrtbu_id_rg = s_ctrtid pt_mseg = it_mseg EXCEPTIONS busitime_end_empty = 1 OTHERS = 2.



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