on 02-20-2008 1:32 PM
Dear Friends
With the User Exit MV45AFZZ Form:: Userexit_Save_Document_Prepare,
we have written a condition that while saving the sale order, if the excise condition value JEX2 is zero, order could not be saved and this is working fine for normal process.
But in some cases, we need to explode the BOM in sale order. In this case, the above user exit is checking for components excise value which should not be the case. In fact, we tried to distinguish with item category for the above exit but the item category structures are not flowing in a particular area of user exit.
My requirement is that for BOM exploded items, the above condition should not trigger for excise value in sale order. It should trigger ONLY for Header Material. How this should be achieved??
thanks
G. Lakshmipathi
Hi,
Please try to assign a requirement against the condition type JEX2, to be triggered only in case of the Header material.
You can distinguish that based on the Item cateogry, as the item cateogry for the header material in the sales order will be different with the other materials.
Once you are able to achieve the same, you can very well move ahead with your earlier development.
Reward points if this helps.
Regards,
Harsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is solved.
Actually in the above user exit, we had looped thru' xvbap for the item category type NOT equal to 'Order Type'.
Then, we read the xkomv table with two keys JEX2 and POSNV ( referring to vbap-posnr) and checked if condition value is null, if so trigger the error message.
In this way, though the xvbap is not dynamic in that form of userexit, the reading of xkomv helped to achieve
our purpose of triggering the error for header materials.
thanks
G. Lakshmipathi
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.