Ansicht
Dokumentation

EXIT_SAPLCUCP_008 - Delete Assignment of Profile for Object Despite Configured Object CBASE

EXIT_SAPLCUCP_008 - Delete Assignment of Profile for Object Despite Configured Object CBASE

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used to delete a configuration profile. The call occurs in the function module "CUCP_CHECK_DEL_PROFCNT_CONF".

The call occurs only if you delete configuration profiles if objects that have already been configured (for example, sales orders) exist in the new configuration storage. Deletion must also take place using Engineering Change Management (I_AENNR), and the date of the change (I_DATUV) must take place in the future.

Should the assignment be deleted, the exception "DELETION_ALLOWED_WITH_ECM" must be triggered.

If the exception "DELETION_ALLOWED_WITH_ECM" is not triggered, deletion is rejected in the dialog.

Example

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

Coding example:

include zxcucpu07.

raise DELETION_ALLOWED_WITH_ECM.

In this example, it is possible to delete all assignments under the above restrictions.

Notes

Further information





Parameters

CONFIGURED_OBJECTS_CBASE
I_AENNR
I_CUCP_OBJECT_TABLE
I_CUCP_PROFILE_NUMBER
I_DATUV
I_ROOT_OBJECT_KEY
I_VAR_CLASS_TYPE

Exceptions

DELETION_ALLOWED_WITH_ECM

Function Group

XCUCP

Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1591 Date: 20240523 Time: 075512     sap01-206 ( 34 ms )