Skip to Content
0
Mar 07, 2008 at 02:28 PM

DELVRY01 via IDoc with batch split

572 Views

Hi Experts!

Process:

-a supplier sends delivery information via EDI to us

-the supplier cannot do a batch split, so he sends us the delivery like that

Delivery (delivery order, material number, ...)
|
|-Pos 1
|    |
|    |-box 1 (batchnumber)
|    |-box 2 (batchnumber)
|    |-box 3 (batchnumber)
|    |-box 4 (batchnumber)
|
|
|-Pos 2
|    |
|    |-box 5 (batchnumber)
|    |-box 6 (batchnumber)
|    |-box 7 (batchnumber)
|    |-box 8 (batchnumber)
|
|
...

Technical infos at our side (customer)

-IDoc typeDESADV

-message type: DELVRY01

-FM which perform the incoming IDoc: IDOC_INPUT_DESADV1

Problem:

How can I get the structure above into a IDoc? The problem is that in DELVRY01 (also DELVRY02 and -03, in R/3 4.7 and ERP6.0) I only can insert the batch number once per position of a delivery!

So I try to use the described E1EDL19 segment with control qualifier BAS. I also generated lower positions with the flag HIPOS in E1EDL24, but it doesn't work. The IDoc is processed correctly without errors but when I look into the delivery (via Tcode: VL32N or MIGO) I see just main items - three positions (in case I had insert one main item with two lower items)!!

SAP Documentation for delivery

Does anybody has a hint for me how should I use the DELVRY01 type ?

regards,

Steffen Fröhlich