on 03-04-2014 2:29 PM
Dear Experts,
Needed your help.
We have 3 order types
Order-1 -Order type (ZH)
Order- 2 - Order type (ZM)
Order 3 - Order Type (ZL)
User has created multiple orders and all are awaiting for quntity confirmation to proceed for Dly/GI/Invoice.
In wearhouse, stock filling happens at 6AM, allocation happens at 8 AM by using T-code V_V2.
Now, the issues is, when V_V2 executed, system should consider and reserve stock as mentioned below prority
ZH- 1st prority
ZM- 2nd
ZL - 3rd
Could you please guide how to set this in V_V2 batch program ?..
Really appreciate if you can share any screen shots
Thanks in advance
KVK
You can change via MASS with Object Type BUS2032 where you can see the field MASSVBAP-LPRIO. Change the required Delivery Priority and execute so that your requirement can be achieved.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi KVK,
Are all three order types using the same number range?
If not, then you can just sort with Document Number = priority 1.
I do not think there is a way to sort by order type. The sorting in V_V2 takes place at the following code:
SDV03V02 FORM XTAB_SORT
*************************************
SORT xtab BY (LV_SORT1) (LV_SORT2) (LV_SORT3)
(LV_SORT4) (LV_SORT5).
*************************************
The problem is that the XTAB structure does not contain an "Order Type" field. Therefore, the system will not sort by it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not think there is any way to achieve this in the standard system.
Perhaps, you could get your ABAPer to create a Z program that updates VBAP-LPRIO based on the order type. Use this Z program as "step 1" in your batch job. The idea of the z program would be to assign priority 1 to order type ZH, priority 2 to Zm and priority 3 to ZL.
Then in step 2, report SDV03V02 (V_V2) is executed with a variant that will reschedule according to delivery priority (as illustrated by Maxim above)
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.