SAP ABAP IMG Activity _CACS_CACS_APPL_CU (Edit Process Types)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   ICM (Application Component) Incentive and Commission Management (ICM)
     CACSPH (Package) ICM: Period Control
IMG Activity
ID _CACS_CACS_APPL_CU Edit Process Types  
Transaction Code S_AER_95000270   (empty) 
Created on 20060530    
Customizing Attributes _CACS_CACS_APPL_CU   Edit Process Types 
Customizing Activity _CACS_CACS_APPL_CU   Edit Process Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _CACS_CACS_APPL_CU    

Use

In this activity you can insert customer-specific processes without modifications.

You define the process class, the process type and the process method that is to be assigned to each process. The process type consists of two characters that are usually the same as the name of the ISF package that contains the process. Not all ISF processes are managed by process types. The process method describes the characteristic with which the respective process is carried out:

Technical ID     Attribute description

1    Execute

2    Reset

The periodic process indicator defines if the respective process type is periodic.

Whether a process is periodic or not has an effect on the display of the run administration in the commission contract, as well as the decision as to whether a periodic or non-periodic process is to be instantiated.

The editing of process types is versioned, and it is determined on the basis of the time control on the screens of the respective processes.

Requirements

All necessary entries have been made in the IMG activity Copy Client-Specific Customizing. Other settings are only required if customer-specific developments are to be added.

Activities

You can add your own customer processes without modifications with the function Edit Process Types. This lets you use the following functions for your own developments:

  • Business application log
  • ICM run administration
  • ICM period administration
  • FPP data container
  • FPP parallel processing

Including Customer Processes in Process Control

Carry out the following steps to integrate your own customer processes into the process control.

You can use class CACSFR_CL_PRC_PRD_FR1 as a reference sample.

Below is a description of the general structure of the process control.

  1. The process itself knows the process type and the process method, and it determines which class is to be used for processing the process.
    1. The factory class CL_CACS_PRC_FACTORY generates instances in the process type table on the basis of the class names.
    2. These classes must be derived from class CL_CACS_PRC_ABST, where a differentiation must be made between periodic and non-periodic derivations.
    3. Class CL_CACS_PRC_ABST contains the three central execution steps Initialize, Run, Finalize, as well as Methods of Run Administration and Business Application Logs.
    4. The following derivations are for:

  • Periodic processes: CL_CACS_PRC_PRD_ABST or for
  • Non-periodic processes: CL_CACS_PRC_NONPRD_ABST
  1. Class CL_CACS_PRC_NONPRD_ABST instantiates the non-periodic class of run administration CL_CACS_RI_PRC.
  2. Class CL_CACS_PRC_PRD_ABST instantiates the periodic class of run administration CL_CACS_RI_PRC_PRD.

  1. A regular program can be used (such as program CACS_PRC_FLAT_RATE) to call your customer implementation. You must check that the generic methods are complete and are called in the correct sequence. If a process requires the use of time control, this parameter must be determined in the program.

Definition of class to be used

data: go_prc type ref to cl_cacs_prc_abst.

Generation of process instance using factory class

cl_cacs_prc_factory=>create

Generation of data container (optional)

call method go_prc->(gc_methname)

exporting

id_customerfield1     = pa_customerfield1

id_customerfield2     = pa_customerfield2

id_customerfield3     = pa_customerfield3

id_customertable1     = pa_customertable1[]

Initialize process

go_prc->initialize( ).

Finalize process

go_prc->finalize( ).

Customizing:

  1. In the IMG activity Define Process Types, you must first create your new customer process type. The customer namespace for customer process types is A* to Z*.

Example:

Process type    Name of process type

FU        FI Execute transfer posting

FU        FI Reset transfer posting

  1. The newly created process type and process method is linked to its process class using the IMG activity Edit Process Types and enhanced with central attributes that are relevant to the process (such as whether it is a periodic process). If a resetting process is also part of the customer process, you have to make an additional entry and assign the respective process method and process class.

Example:

Process type    Proc.method    Class name     Periodic process

FU    1    ZFU_CL_RUN    X

FU    2    ZFU_CL_REV    X

Example

The program CACS_PRC_FLAT_RATE can be used as an example. The characteristic attributes of the classes can be seen on the basis of the class for the flat rate CACSFR_CL_PRC_PRD_FR1.

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG _CACS_CACS_APPL_CU 0 KK40000031 Incentive and Commission Management (ICM) 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CACS_APPL_CU T - Individual transaction object CACS_APPL_CU  
History
Last changed by/on SAP  20070718 
SAP Release Created in 700