Ansicht
Dokumentation

_CACS_CACS_APPL_CU - Edit Process Types

_CACS_CACS_APPL_CU - Edit Process Types

CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

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.

2

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.

2

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.
  • 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

    ZFU_CL_REV

    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.






    General Material Data   ABAP Short Reference  
    This documentation is copyright by SAP AG.

    Length: 7228 Date: 20240606 Time: 113843     sap01-206 ( 86 ms )