Skip to Content

Changing shipment condition should not be allowed


The requirements is :

If a user tries to change shipment condition in sales order after a purchase requisition and subsequent order are raised, that should not be allowed.

So here,

1- Is VBEP-BANFN the right filed to check?

2- Should I control all lines of sales order here?

or any other suggestions please.



+Excusme me if the tags are not related. I can not find related tag in this form.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 24, 2017 at 05:36 PM

    1) VBEP-BANFN should have the purchase requisition number and you can get the rest of information from there. You could probably start checking from the item category VBAP-PSTYV (this may be relevant only to certain categories) just to avoid unnecessary code execution.

    2) Not able to understand the question. What does "control all lines" mean? If a field is at the header level then, naturally, if condition is true for at least one line then a change should not be allowed.

    Not sure if a better standard solution exists for this scenario but third party orders have been discussed many times on SCN, make sure to search.

    Add comment
    10|10000 characters needed characters exceeded