Hello folks,
I have a requirement to make the sales document incomplete if the value of a condition type, (say ZY01) is 0. The value of this condition type is calculated using a condition value formula and is different from the net value.
We use the standard incompletion procedure 20 for the order item. My initial thought was to set the value of VBAP-PRSOK to blank if I found a 0 value in ZY01 in the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. However I found that the system always automatically determines the value of VBAP-PRSOK and ignores my modification.
The condition type ZY01 is mandatory in the PP but this does not really help because I do not use condition records for this condition type.
Is there any way to over-ride the value of this field? For that matter, are there any user-exits to influence the results of the incompletion procedure?
Any useful information will be rewarded.
Looking forward to hearing from you.
Regards,
Balaji