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

CACS_ONE_CLICK_APPLICATION SAP ABAP Report - Program CACS_ONE_CLICK_APPLICATION







CACS_ONE_CLICK_APPLICATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You wish to use program 'CACS_ONE_CLICK_APPLICATION' for internal SAP purposes to generate a commission application...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 CACS_ONE_CLICK_APPLICATION 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_ONE_CLICK_APPLICATION. "Basic submit
SUBMIT CACS_ONE_CLICK_APPLICATION AND RETURN. "Return to original report after report execution complete
SUBMIT CACS_ONE_CLICK_APPLICATION 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: P_RFCDST = D .
Selection Text: P_PACK = D .
Selection Text: P_CLERK3 = D .
Selection Text: P_CLERK2 = D .
Selection Text: P_CLERK1 = D .
Selection Text: P_APPL_T = D .
Selection Text: P_APPL = D .
Title: Program CACS_ONE_CLICK_APPLICATION
Text Symbol: 142 = Create Transaction Data
Text Symbol: 141 = Create Master Data
Text Symbol: 140 = Options
Text Symbol: 133 = Check that you are only working in this session in the system.
Text Symbol: 132 = The RFC connection must be created with uppercase letters.
Text Symbol: 131 = This program is exclusively for internal use.
Text Symbol: 130 = Important Notes
Text Symbol: 123 = Processor of Right Subtree
Text Symbol: 122 = Processor of Left Subtree
Text Symbol: 121 = Processor of Root Organization
Text Symbol: 120 = Create Commission Clerk
Text Symbol: 111 = RFC Connection
Text Symbol: 110 = RFC Connection for Test Client
Text Symbol: 103 = Cluster Package
Text Symbol: 102 = Short Text for Commission Application
Text Symbol: 101 = Technical Name of Commission Application
Text Symbol: 100 = Commission Application
Text Symbol: 010 = Log


INCLUDES used within this REPORT CACS_ONE_CLICK_APPLICATION

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:

CACS_RECORD_START CALL FUNCTION 'CACS_RECORD_START' EXPORTING i_appl = p_appl i_subobject = lc_logsubobj IMPORTING e_loghandle = lv_handle.

CACS_CHECK_INTERNAL_USE CALL FUNCTION 'CACS_CHECK_INTERNAL_USE' EXPORTING i_appl = p_appl i_program = 'CACS_ONE_CLICK_APPLICATION' EXCEPTIONS no_internal_use = 1.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_SET_USER_PARAMETER CALL FUNCTION 'CACS_SET_USER_PARAMETER' EXPORTING i_uname = sy-uname i_parid = 'CACSAPPL' i_value = lv_value EXCEPTIONS write_error = 1 OTHERS = 2.

RFC_READ_R3_DESTINATION CALL FUNCTION 'RFC_READ_R3_DESTINATION' EXPORTING destination = p_rfcdst IMPORTING client = i_mandt user = i_rfc_user EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RECORD_START CALL FUNCTION 'CACS_RECORD_START' EXPORTING i_appl = p_appl i_subobject = lc_logsubobj IMPORTING e_loghandle = lv_handle.

CACS_CHECK_APPL_DEVCLASS CALL FUNCTION 'CACS_CHECK_APPL_DEVCLASS' EXPORTING i_appl = p_appl EXCEPTIONS appl_exists = 1 package_exists = 2 OTHERS = 3.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_ASSIGN_PACKAGES CALL FUNCTION 'CACS_ASSIGN_PACKAGES' EXPORTING i_appl = p_appl i_package = p_pack EXCEPTIONS assign_not_succesful = 1.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RELEASE_CLIENTS CALL FUNCTION 'CACS_RELEASE_CLIENTS' EXPORTING i_appl = p_appl i_mandt = i_mandt EXCEPTIONS release_not_successful = 1.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RUN_CLIENT_DEPENDEND CALL FUNCTION 'CACS_RUN_CLIENT_DEPENDEND' DESTINATION 'NONE' EXPORTING i_appl = p_appl i_clerk1 = p_clerk1 i_clerk2 = p_clerk2 i_clerk3 = p_clerk3 i_master = p_master i_trdata = p_trdata IMPORTING et_messages = lt_messages EXCEPTIONS error = 1.

CACS_RUN_CLIENT_DEPENDEND





CALL FUNCTION 'CACS_RUN_CLIENT_DEPENDEND' DESTINATION p_rfcdst EXPORTING i_appl = p_appl i_clerk1 = p_clerk1 i_clerk2 = p_clerk2 i_clerk3 = p_clerk3 i_master = p_master i_trdata = p_trdata IMPORTING et_messages = lt_messages EXCEPTIONS error = 1.

CACS_RECORD_EXC_MESSAGE CALL FUNCTION 'CACS_RECORD_EXC_MESSAGE'.

CACS_RECORD_END CALL FUNCTION 'CACS_RECORD_END' EXPORTING i_appl = p_appl i_subobject = lc_logsubobj i_loghandle = lv_handle EXCEPTIONS OTHERS = 3.

CACS_DISPLAY_LOG CALL FUNCTION 'CACS_DISPLAY_LOG' EXPORTING i_appl = p_appl i_subobject = 'CACS_GEN'.



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