cancel
Showing results for 
Search instead for 
Did you mean: 

FM or BAPI for production order component split batch

SimoneCattozzi
Participant
0 Kudos

Hi,

I'm trying to split a production order component quantity into batchs with FM or BAPI.

Using BAPI_ALM_ORDER_MAINTAIN i can create or modify components but i can't set field split batch flag SPLKZ and reference SPLVR.

Can you help me?

Accepted Solutions (1)

Accepted Solutions (1)

SimoneCattozzi
Participant
0 Kudos

Solved by myself with a batch input.

Answers (2)

Answers (2)

SimoneCattozzi
Participant
0 Kudos

I'm looking for a BAPI or FM (or SAP Note correction) that allows to setup field SPLVR and SPLKZ that indicate split batch. Using BAPI_ALM_ORDER_MAINTAIN i can set batch number, but field SPLKZ (Batch key) is set to 'X' and i've to set it to '2'  ( Individual batch record ).

Former Member
0 Kudos

anyhow, I dont know your business requirement and what you are asking seems not possible.

I will be watching to see, if you found anything. but, then, your requirement seems to me as a round about solution.

share more details, so that you can gain some help in group.

Regards,

Sandeep

SimoneCattozzi
Participant
0 Kudos

In standard product order process in CO02 when i split material with standard function I obtain several lines. These new lines refer to the originale one by fields SPLVR and SPLKZ.

Eg. In operation 0010 i've 10 PC of MATERIAL1

ItemMaterialQtyBatchBatch Key (SPLKZ)Itm no stock (SPLVR)
0010MATERIAL110 PC

In CO02 i take MATERIAL1 from BATCH1 and BATCH2 the final result is

     

ItemMaterialQtyBatchBatch Key (SPLKZ)Itm no stock (SPLVR)
0010MATERIAL111
0010MATERIAL17 PCBATCH121
0010MATERIAL13 PCBATCH221

So I'm trying to reproduce this standard behavior with BAPI or FM.

Thaks

Former Member
0 Kudos

r u looking for a FM or BAPI to do batch determination process??

because component quantity splits as per the number of batches determined.

Regards,

Sandeep