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

CACS_CREATE_APPL SAP ABAP Report - Create New Application







CACS_CREATE_APPL 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_CREATE_APPL 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

CACSNEWAPPL - Create New Application


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_CREATE_APPL. "Basic submit
SUBMIT CACS_CREATE_APPL AND RETURN. "Return to original report after report execution complete
SUBMIT CACS_CREATE_APPL 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: NEWAPPL = Technical Description
Selection Text: NEWTEXT = Short Description
Title: Create New Application
Text Symbol: 001 = Choose Package For Generated Application Objects
Text Symbol: 004 = Package
Text Symbol: 005 = Use Existing Package Or Choose Other Name
Text Symbol: 006 = Use
Text Symbol: 007 = Other Name
Text Symbol: 008 = Package for Generated Cross-Application Objects


INCLUDES used within this REPORT CACS_CREATE_APPL

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_APPL_NAME_CHECK CALL FUNCTION 'CACS_APPL_NAME_CHECK' EXPORTING i_appl = newappl EXCEPTIONS OTHERS = 2.

CACS_NEW_APPL_DEF CALL FUNCTION 'CACS_NEW_APPL_DEF' EXPORTING i_appl = newappl i_text = newtext i_devc = newdevc EXCEPTIONS OTHERS = 2.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = p_title IMPORTING returncode = rcode TABLES fields = fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.

TR_MODIFY_DEVCLASS CALL FUNCTION 'TR_MODIFY_DEVCLASS' EXPORTING iv_action = 'SHOWONLY' iv_dialog = ' ' iv_devclass = p_newdevc EXCEPTIONS invalid_devclass = 1 "Does not exist OTHERS = 2.

TR_TASK_SET CALL FUNCTION 'TR_TASK_SET' EXPORTING iv_username = sy-uname iv_category = 'SYST' iv_client = sy-mandt iv_validdays = -1 iv_order = p_request * IV_TASK = ' ' * IMPORTING * EV_ORDER = * EV_TASK = * EV_VALIDDAYS = EXCEPTIONS invalid_username = 1 invalid_category = 2 invalid_client = 3 invalid_validdays = 4 invalid_order = 5 invalid_task = 6 OTHERS = 7 .

TR_TASK_RESET CALL FUNCTION 'TR_TASK_RESET' EXPORTING iv_username = sy-uname iv_order = p_request * IV_TASK = ' ' * IV_DIALOG = ' ' EXCEPTIONS invalid_username = 1 invalid_order = 2 invalid_task = 3 OTHERS = 4 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-004 diagnose_object = 'CACS_APPLPACK01' text_question = text-005 text_button_1 = text-006 text_button_2 = text-007 default_button = '1' display_cancel_button = 'X' IMPORTING answer = lv_ans TABLES parameter = lt_params EXCEPTIONS text_not_found = 1 OTHERS = 2.

TR_REQUEST_MODIFY CALL FUNCTION 'TR_REQUEST_MODIFY' EXPORTING IV_ACTION = 'CREA' IV_NEW_REQUEST_TYPE = 'K' IV_NEW_TASK_TYPE = 'R' IV_NEW_TARSYSTEM = 'LOCAL' IV_NEW_AS4TEXT = lv_text IMPORTING ES_NEW_REQUEST = lv_request EXCEPTIONS CANCELLED_BY_USER = 1 NO_AUTHORIZATION = 2 INVALID_ACTION = 3 INVALID_REQUEST = 4 INVALID_REQUEST_TYPE = 5 REQUEST_NOT_CREATED = 6 REQUEST_NOT_DELETED = 7 ENQUEUE_FAILED = 8 DB_ACCESS_ERROR = 9 OTHERS = 10 .

TR_MODIFY_DEVCLASS CALL FUNCTION 'TR_MODIFY_DEVCLASS' EXPORTING iv_action = 'CREA' iv_dialog = ' ' iv_devclass = p_newdevc iv_text = lv_text iv_dlvunit = 'HOME' iv_request = lv_request-TRKORR IMPORTING ev_request = p_request EXCEPTIONS OTHERS = 8.

TR_READ_REQUEST CALL FUNCTION 'TR_READ_REQUEST' EXPORTING iv_read_attributes = 'X' CHANGING cs_request = ls_complreq EXCEPTIONS OTHERS = 3.

CACS_APPLGEN_MODIFY CALL FUNCTION 'CACS_APPLGEN_MODIFY' EXPORTING i_appl = p_appl i_lrequest = p_request EXCEPTIONS OTHERS = 3.

CACS_TRANSP_KEYS CALL FUNCTION 'CACS_TRANSP_KEYS' EXPORTING i_appl = p_appl t_keys_mi = lt_keys_mi EXCEPTIONS transport_failed = 1 OTHERS = 2.

CACS_APPLGEN_INFO CALL FUNCTION 'CACS_APPLGEN_INFO' EXPORTING i_appl = all EXCEPTIONS OTHERS = 2.

CACS_APPLGEN_MODIFY CALL FUNCTION 'CACS_APPLGEN_MODIFY' EXPORTING i_appl = all i_lrequest = lv_req i_devclass = lv_devc EXCEPTIONS OTHERS = 3.



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