Skip to Content
0

System should restric main item from getting delivery if sub item is marked for rejection.

Nov 28, 2016 at 09:46 AM

80

avatar image

Hello All,

I have a requirement where if sales order (BOM material) sub item is rejected then system should not allow main item from delivering. Currently, if we reject sub item then system is creating delivery document for main item as it is open.Can you guide me how can I control it to restrict the main item also from getting delivered at sales order level itself without using any delivery user exists.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

G Lakshmipathi
Nov 28, 2016 at 10:17 AM
0

First check whether OSS note 951511 is relevant to you. If not, you can add the required logic in MV45AFZZ in such a way that if the item category is TAQ and if VBAP-ABGRU is filled, then restrict delivery. You can also add one more validation here that VBAP-UEPOS should be filled which is valid for BOM scenario

Share
10 |10000 characters needed characters left characters exceeded
Anusha Merugu Nov 29, 2016 at 11:23 AM
0

Thanks Lakshmipathi for your suggestion. Can we control it through delivery group functionality?

Share
10 |10000 characters needed characters left characters exceeded
G Lakshmipathi
Nov 29, 2016 at 11:28 AM
0

Yes you can go for it but my question is why when the user is trying to create a delivery which is a next step. At the first instance itself, you should prevent this. That means, once you add the logic in the above exit, the said sale order should not flow in any VL* or VL10*

Share
10 |10000 characters needed characters left characters exceeded
Anusha Merugu Nov 29, 2016 at 12:54 PM
0

okay. But I observed that when we reject main item of sales order then sub item also getting rejected automatically. then can't we apply same logic in this case as well so that when we reject sub item then main item should also be marked as rejected?

Im not a developer so not aware what the logic is involved in it. Just curious to know about this.

Share
10 |10000 characters needed characters left characters exceeded