cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Split for Inbound Delivery IDOC:DELVRY03

Former Member
0 Kudos

Hello,

I am working on inbound delivery creation (Message Type:DESADV, Process Code: DELS) with Batch Split functionality. I am passing below values on inbound IDOC (through T code:WE19) but system is not batch splitting item correctly.

I have placed an PO for Quantity: 10 PAC and supplier is sending us in term of 2 batch split item with quanity: 4 PAC and Quantity: 6 PAC.

Issues: Instead of adding spit item to main item (10), system is adding item number

Below are the item level data in IDOC

E1EDL24:

POSNR: 000010

MATNR: TEST-10

MATWA: TEST-10

WERKS: 4020

LGORT :1000

KDMAT: TEST-10

LFIMG: 0

VRKME: PK

E1EDL24:

POSNR: 900001

MATNR: TEST-10

MATWA: TEST-10

WERKS: 4020

LGORT: 1000

CHARG: BATCH4

KDMAT: TEST-10

LFIMG: 4

VRKME: PK

HIPOS: 000010

HIEVW: 1  : Batch Subitem

POSEX: 900001

     E1EDL19 - BAS (As Child Segement)

     E1EDL19 - Control param.(Value Blank)

E1EDL24:

POSNR: 900002

MATNR: TEST-10

MATWA: TEST-10

WERKS: 4020

LGORT: 1000

CHARG: BATCH5

KDMAT: TEST-10

LFIMG: 6

VRKME: PK

HIPOS: 000010

HIEVW: 1 : Batch Subitem

POSEX: 900002

      E1EDL19 - BAS (As Child Segment)

      E1EDL19 - Control param.(Value Blank)

Any suggestion or help to have main iteam (10) and split-items (900001,900002 and so on)?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

mauro_bianchi
Active Contributor
0 Kudos

Hi Ravi,

According note 209240 it is not possible the creation of batch split items in a inbound delivery with DESADV-Idocs. You could only get such functionality through a standard modification.

The reason why it is not possible to create batch splits in inbound deliveries with DESADV-Idocs is, that the mapping of the vendor batch (E1EDL24-CHARG, LIPS-LICHN) to the customer batch (LIPS-CHARG) is not known.

how to achieve it ? :
***********

- by providing the batch and the corresponding main item (UECHA)
   to the internal structure KOMDLGN (this could be reached only if you
   deimplement note 209240 as a modification).

   fill the E1EDL24-Segments for example:

           IF S_DL24-HIEVW EQ '1'.
             T_DLGN-UECHA = S_DL24-HIPOS.
             T_DLGN-CHARG = S_DL24-CHARG.
           ENDIF.

- Furthermore you have to renumber the item of the batch split and
- to calculate the cumulated quantity (KCMENG).

Thanks & Regards,

Mauro

Former Member
0 Kudos

Hi Mauro,

Can you please provide more details on design ?

Do I have to use inbound User Exit (EXIT_SAPLV55K_011) for Batch Split Functionality ?

Thanks for your help in advance.

Regards,

Ravi.

Answers (1)

Answers (1)

0 Kudos

Hi Mauro,

thanks. but how do you cumulate the quantity into KCMENG? do you have an example? thanks wernher