cancel
Showing results for 
Search instead for 
Did you mean: 

Constraint net cannot be deleted (PMEVC)

MEntrup
Participant
0 Kudos
192

Constraint net cannot be deleted

Freitag, 31. Januar 2025

 

Usecase for deleting the constraint net:

 

First create a dependency net (aka constraint net aka CN)

 

App: PMEVC (GUI-App)

 

MEntrup_0-1739964157805.png

 

 

 

MEntrup_1-1739964157806.png

 

 

 

MEntrup_2-1739964157807.png

 

Save

 

 

 Then create constraint into the new CN

MEntrup_3-1739964157809.png

 

 

 

MEntrup_4-1739964157810.png

 

 

 

MEntrup_5-1739964157811.png

 

 

MEntrup_6-1739964157812.png

 

Then release constraint and CN and save

 

Later, the CN can be removed from profile:

 

MEntrup_7-1739964157814.png

 

 

 

Works fine, on a first glance:

MEntrup_8-1739964157816.png

 

 

 

 App: CT04 (GUI-App)

 

 

However, the cstic AVC_ROBO_TYPE is still existent in the where-used list:

 

MEntrup_9-1739964157817.png

 

 

MEntrup_10-1739964157818.png

 

 

 

MEntrup_11-1739964157819.png

 

 

 

Now trying to cleanup:

 

When double clicking the CN AVC_RBT_CN_TEST_001_A can be displayed:

 

App: CU03 (GUI-App)

 

MEntrup_12-1739964157820.png

 

Display mode works fine

 

However, when switching to change mode…..

 

MEntrup_13-1739964157821.png

 

 

 

Then the error occurs:

MEntrup_14-1739964157821.png

 

 

How can we delete no longer needed constraint nets to ensure housekeeping?

View Entire Topic
Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @MEntrup 

 

In S/4HANA Cloud we have the API  api_varconfignconstraintnet which has an Entity VarCnfConstraintNet

that supports deletion.

Information at the resource Information at the resource Delete Constraint Nets

Best Regards

Enda