cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic capture of batch number as production order

Former Member
0 Kudos

Hi,

How to make the order number to capture automatically while confirming the production order.As it should pick the order by default in the goods movement screen.

Abap coding and user exit to perform this.

Regards,

Deepak GS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If I get it correctly you want the batch number of the finished good to be the same as the production order upon goods receipt from production order into stock. One method would be assigning batches to production orders in advance, this way goods receipt automatically uses batch number in production order.

For this; create or change a production scheduling profile in OPKP and mark in the profile whether batches should be created at the time of order creation or release. Then assign the production scheduling profile to a rpduction scheduler or a material master. When opening (or releasing) production orders user will be prompted by a screen to enter the batch number, and for every production order created same number as the order number can be given to the batch.

Production scheduling profile serves for automatically creation of batches at order maintenance. You can see the batch number at goods receipt tab in order header view. You might as well create batches manually at the same tab and test the goods receipt process.

Regards.

Former Member
0 Kudos

Thanks for the reply canon,

But for GR it is ok, if this is required for the child item level , while doing the confirmation when the issue is happening in bith cases 1. BAckflush 2. Manual issue

Here in both the case it should pick the batch automatically.

Kindly suggest.

Regards,

Deepak GS

Former Member
0 Kudos

Hi,

Batch determination uses characteristic values assigned to batch classification for sorting batches and make a selection. A series of customization steps should be completed for batch determination. You will have to learn by reading SAP help or threads throughout this forum. Check out threads below.

[;

[;

> But for GR it is ok, if this is required for the child item level , while doing the confirmation when the issue is happening in bith cases 1. BAckflush 2. Manual issue

>

> Here in both the case it should pick the batch automatically.

According to which criteria do you want batches to be selected, order name? Are there batches in the system named after production order for components of the order? No matter what, selection must be based on batch characteristics.

Regards.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

Since it is correctly answered by an expert ozgen,in addition to that please check Scheduling profile for the rspective order type and make the desired settings.

If the issue still persists,Please check with the ABAPer for making certain changes with user-exit options.

Cheers

chandra

Former Member
0 Kudos

hi,

you can use the Exit to capture the order number in the Batch number field of the process order in the header under good receipt tab.

this number will be copied to the confirmation screen during good receipt of the manufactured product.

you can search for the exit name, in this forum or in SPRO under help for batch determination for process order.

HOpe this helps.

regards,

sandeep

Former Member
0 Kudos

Hi Sandeep,

I need this for the production order and not for the process order.Either the solution provided will work for the production order also.

Thanks for the reply

Regards,

Deepak GS

Former Member
0 Kudos

yes

Former Member
0 Kudos

This will work only for the 101 mvt where the GR is carried out if it is to be captured for the 261 issue level for the child item then what can be done in this regard.

Regards,

Deepak GS