Ansicht
Dokumentation

EXIT_SAPLCUCP_003 - Delete assignment of characteristic to class despite configured object

EXIT_SAPLCUCP_003 - Delete assignment of characteristic to class despite configured object

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module is used to delete a characteristic from a variant class. It is called in function module "CUCP_CHECK_DEL_CLASS_CHAR_CONF".

It is only called if a characteristic (I_CHARACTERISTIC) is deleted from a variant class (I_VAR_CLASS) for a variant class type (I_VAR_CLASS_TYPE) if configured objects (such as sales orders) already exist in the "old" configuration storage (INOB/KSSK/AUSP).

In addition, the data must be deleted using Engineering Change Management (I_AENNR) and the date of the change (I_DATUV) must be in the future.

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

If the exception "DELETION_ALLOWED" is not triggered, the system refuses to delete the data.

This function module corresponds to function module EXIT_SAPLCUCP_001, used in Release < 4.5A.

Example

You assigned characteristic M1 to class K1. Class K1 is assigned to material KMAT1. Sales orders exist for material KMAT1.

You no longer want to use characteristic M1 in future sales orders and delete it from the class using Engineering Change Management.

Coding example:

include zxcucpu02.

raise DELETION_ALLOWED.

In this example, it is possible to delete all characteristics, bearing in mind the above-mentions provisos.

Notes

To ensure the consistency of "old" configured objects (such as sales orders), you must use function module "EXIT_SAPLCLDL_002" (also included in this SAP enhancement) to prevent the configuration valuations (AUSP-Einträge) for the characteristic being deleted.

If you do not do this, valuations (instances) may be inconsistent. You may not be able to reproduce existing configured objects (such as sales orders).

You must also ensure that the "old" configured objects (such as sales orders) are not moved forward in time past the change date, as this would lead to consistencies.

Please see the documentation in function module "EXIT_SAPLCLDL_002".

Further information





Parameters

CONFIGURED_OBJECTS_INOB
I_AENNR
I_CHARACTERISTIC
I_DATUV
I_VAR_CLASS
I_VAR_CLASS_TYPE

Exceptions

DELETION_ALLOWED

Function Group

XCUCP

CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2480 Date: 20240604 Time: 011136     sap01-206 ( 58 ms )