Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

delivery split - LIKP-ZUKRL in routines

was_wasssu
Participant
0 Kudos

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.

1 ACCEPTED SOLUTION

petra_just
Active Participant
0 Kudos

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

1 REPLY 1

petra_just
Active Participant
0 Kudos

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