Skip to Content
0
Former Member
Jan 27, 2014 at 11:44 AM

Create Batch in QPL1_INSPECTION_LOT_CREATE

583 Views

Hello experts,

I need to create inspection lot automatically from SAP MII. Thanks to SCN, now I can successfuly create it (please see the thread Unable to create inspection lot from MII). Now I have faced another issue. I also need to create batch when creating inspection lot (like in QA01 t-code). But unfortunately I am not able to do it.

To create inspection lot I use FM QPL1_INSPECTION_LOT_CREATE. This FM inserts record to QALS table with a batch number (field CHARG). But batch is not actually created (I cannot see it via MSC3N).

So the question is: Is it possible to create batch via QPL1_INSPECTION_LOT_CREATE? If so, what input parameter should I fill to create batch?

Any reply will be greatly appreciated!

Thanks in advance!

Best Regards,

Vitaliy