CL_CRM_PS_SUPR - PS: SUPR Main Class

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Functionality

The class CL_CRM_PS_SUPR is the main class for successorprocessing (SUPR) used in Public Sector. It is used in the Social Services component, amongst others.

Note:
The following features and the available glossary links reflect the use of the class in the Social Services component.

SUPR supports the following functions:

  1. If a successor document still has to be assigned by means of asocialservice plan assignment profile (SSP-AP), a new successor document is created. If a successor documentexists, change processes can be determined and executed for this document, if necessary. Versioning of successor documents is possible.
Note:
If a new successor document is created, only the Customizing settings of the successor processing profileare taken into account. In such cases, the SUPR BAdI does not run. When a successor document alreadyexists (in other words, SSP-AP has assigned an existing successor document to the current predecessordocument), only the Customizing settings of the change processing profile are taken into account. In such cases, an existing implementation of the SUPR BAdI is run.
  1. Document items are copied from the predecessor document to the successor document based on the item copy strategy.
  2. Once the social service plan (successor document) has been successfully created or updated, SUPR closes thesocial application (predecessor document).

Prerequisite:

Make sure that SUPR is started only after the social service plan has been assigned.

Relationships

CL_CRM_PS_SUPR_UTIL
CL_CRM_PS_SUPR_CPC

Example

The only public method of this ABAP class, PROCESS_SUCC, must be called from a PPF action; this is usuallythe case toward the end of predecessor document processing. You can use the standard SAP implementation CRM_PS_SUPR_PPF for the implementation of the SUPR-PPF action.

The GUID of the predecessor document must be passed to the method; the GUID of the successor document is returned if the SUPR processing was error-free.

Notes

Further information

Change Process Engine (CPE)


PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.


Length: 3011 Date: 20120526 Time: 132009     triton ( 143 ms )