Ansicht
Dokumentation

EXIT_SAPLCUCP_005 - Delete assignment of profile to object despite configured objects

EXIT_SAPLCUCP_005 - Delete assignment of profile to object despite configured objects

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module is used to delete a configuration profile. It is called in function module "CUCP_CHECK_DEL_PROFCNT_CONF".

It is only called when configuration profiles are deleted if configured objects (such as sales orders) already exist. In addition, Engineering Change Management (I_AENNR) must be used to delete the data and the date of the change (I_DATUV) must be in the future.

If the assignment is to be deleted, exception "DELETION_ALLOWED" must be triggered.

If exception "DELETION_ALLOWED" is not triggered, deletion is refused online.

Example

You assigned configuration profiles Test1 and Test2 to material KMAT1. Sales orders exist for material KMAT1. You no longer want to use configuration profile Test1 in future sales orders, and use Engineering Change Management to delete profile Test1.

Coding example:

include zxcucpu04.

raise DELETION_ALLOWED.

In this example, it is possible to delete all assignments, bearing in mind the provisos mentioned above.

Notes

Further information





Parameters

CONFIGURED_OBJECTS_INOB
I_AENNR
I_CUCP_OBJECT_TABLE
I_CUCP_PROFILE_NUMBER
I_DATUV
I_ROOT_OBJECT_KEY
I_VAR_CLASS_TYPE

Exceptions

DELETION_ALLOWED

Function Group

XCUCP

General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1500 Date: 20240604 Time: 035233     sap01-206 ( 34 ms )