Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Deletion not allowed: SH is mandatory function - IDoc Error

Former Member
0 Kudos


we have setup to accept DEBMAS into our r/3 as an inbound idoc..... we extended the DEBMAS to include a custom segment and rest all we're using standard stuff in ALE Config....

suddenly from today onwards few of the idocs are getting errored with "Deletion not allowed: SH is mandatory function" error....

upon tracing the culprit code I found that it's happening in standard SAP Code....

any suggestions/pointers pls ?



Former Member
0 Kudos

Are you creating customers, or changing customers? Looks like you got some IDocs where the ship-to partner is deleted, so you are getting this error. Check with your functional/configuration specialist, if they changed the partner functions recently.

Which Idoc type are you using?

0 Kudos

IDoc is extension of DEBMAS and this idoc is trying to create a customer....

Former Member
0 Kudos

In IDoc segment E1KNVPM, there could be a partner function in PARVW field but partner number might not be present in IDoc field KUNN2.

Did you check this?