04-20-2006 10:20 PM
I am creating an Inbound Delivery using the DELVRY03 IDoc and the function module IDOC_INPUT_DESADV1. I am able to create the Inbound delivery without a problem. But when there is a Batch Split, I am not sure how the fields in the E1EDL24 segment needs to be populated and what needs to be done in the user exit, to have the Inbound deliveries created with Batch Split. Could you please let me know the segment population of the IDoc to have the Batch split happening. Thanks in Advance.
05-02-2006 7:05 AM
Hi Rama
We are also faced with this problem. It would interesting to see the responses you get or did you find a solution?
Regards
Ravi
05-02-2006 7:10 AM
Did you try using the function IDOC_INPUT_DELVRY.
Regards,
Ravi
Note : Please mark the helpful answers
05-02-2006 7:15 AM
Thanks Ravi but it is not useful as we are trying to create a new IB delivery and IDOC_INPUT_DELVRY requires a Delivery number.
I have also raised an OSS message with SAP and will let you know guys of the outcome.
Regards
Ravi
01-15-2007 8:14 PM
Hi, you have to fill the fields CHARG, HIPOS, HIEVW, only have to fill the fields HIPOS and HIEVW in the sub-items segments, then you have to manually assign these fields to the structure that receives them, is the only way that works for me, for example in the user exit "EXIT_SAPLV55K_011" the structure that receives these fields is DELIVERY_COM.
Example:
IF IDOC_SEGMENT-SEGNAM = 'E1EDL24.'
l_es_e1edl24 = idoc_segment-sdata.
it describes table DELIVERY_COM lines reg.
if sy-subrc = 0 and reg> 0.
loop at delivery_com into l_ti_delivery from reg to reg.
l_ti_delivery-charg = l_es_e1edl24-charg.
l_ti_delivery-lichn = l_es_e1edl24-charg.
l_ti_delivery-chspl = 'X.'
l_ti_delivery-uecha = l_es_e1edl24-hipos.
modify delivery_com from l_ti_delivery transporting charg lichn chspl uecha.
endloop.
endif.
endif.
i hope this information can help you.
best regards.
Cesar Becerra.
01-17-2007 6:51 AM
Cesar,
thanks for the input, as it happens I am looking at this same issue.
I have applied your suggestion, and create the delivery with the batch split item. The only problem I see is that the batch split main item is not summed when the split is closed, and the batch split item itself is not numbered in the 9000000 range. Is this to do with further delivery configuration or something else in the IDOC that I have missed.
Cheers
Justin Mortlock
01-18-2007 3:08 AM
Hi justin,
The main item is with value zero because those sub-items have the sum of the main item,
the sub-items should place them with the position 9000001.. 9000002 and so forth,
the idoc doesn't place this numeration automatically, you can place this range
manually with the user exit EXIT_SAPLJ4AS_001 in each segment E1EDL24 of sub-items.
greetings,
Cesar Becerra.
01-18-2007 4:05 AM
Cesar,
thanks for the reply.
I understand what you are saying, but when the main item is rolled up in the delivery (VL33N), the main item is not summed from the underlying batches.
Does the behaviour of the delivery when created via the DESADV alter the handling of batch splits? Or is there data in the IDOC that may be missing? Or configuration for the Delivery from a DESADV that might be missing?
BTW I am technical and not functional, so I apologise if some underlying understanding of delivery functionality etc is not the best.
Thanks
Justin Mortlock
04-28-2009 9:07 AM
Can somebody give me a detail sample on how to prepare the DESADV parameters, I would like to have several batch for each inbound delivery line items,
the original data:
E1EDL24
POSNR : 00010
KDMAT : 1300230 (material#)
LFIMG : 150.0
VRKME : KGM
to split the batch for the item 00010, I populate another 2 E1EDL24 for testing:
E1EDL24
POSNR : 00010
CHARG SSSSS
KDMAT : 1300230 (material#)
LFIMG : 100
VRKME : KGM
HIPOS 00010
HIEVW: X
E1EDL24
POSNR : 00010
CHARG LLLLLL
KDMAT : 1300230 (material#)
LFIMG : 50
VRKME : KGM
HIPOS 00010
HIEVW: X
then I enhance the EXIT_SAPLV55K_011 as describe in the forum, but it failed.
Can somebody give me a sucess sample on it, thanks.
04-28-2009 9:58 AM