01-09-2012 10:28 AM
Hi,
What is the logic of the routine DATEN_KOPIEREN_001 and the field LIKP-ZUKRL? I see that if i had an order with 3 positions and if i insert a breakpoint on this routine, enters 4 times. Two times for lips-posnr= 00000 and 1 time for the first position (10) and 1 time for the second position (20).
And how can i change ZUKRL in order to put for example the first two pos. on the same delivery and the 3th pos. on a second delivery?
Thanks.
05-09-2012 4:44 PM
Hi,
The criterion is not about splitting one order into several deliveries, but about combining or not several orders into one delivery (Zusammenführungskriterium = Combination criterion).
If you want to disallow combining different orders with different distribution channels and different divisions, you can fill ZUKRL as follows:
LIKP-ZUKRL(2) = CVBAK-VTWEG.
LIKP-ZUKRL+2(2) = CVBAK-SPART.
orders that have the same entries in ZUKRL will be combined, the others will get separate deliveries.
If you would like to put materials with a different material pricing group into different deliveries, you could use the copying requirement routine and check if VBAP-KONDM of the current item is the same as the previous item, else do not copy.
Hope it helps.
Petra Hunger
05-09-2012 4:44 PM
Hi,
The criterion is not about splitting one order into several deliveries, but about combining or not several orders into one delivery (Zusammenführungskriterium = Combination criterion).
If you want to disallow combining different orders with different distribution channels and different divisions, you can fill ZUKRL as follows:
LIKP-ZUKRL(2) = CVBAK-VTWEG.
LIKP-ZUKRL+2(2) = CVBAK-SPART.
orders that have the same entries in ZUKRL will be combined, the others will get separate deliveries.
If you would like to put materials with a different material pricing group into different deliveries, you could use the copying requirement routine and check if VBAP-KONDM of the current item is the same as the previous item, else do not copy.
Hope it helps.
Petra Hunger