cancel
Showing results for 
Search instead for 
Did you mean: 

BackGround Program to Create Production Order

Former Member
0 Kudos

Hi all,

In the below scenario.

We want the back ground programs for

1. Production order creation. (Material, plant on selection screen)

2. Goods receipt.

It is better if we get a program which handles production order creation , release and confirmation together.

***********************************************************************************************

1. STO is created

2. Sales Order created

Line item number 10 is same material as STO line item number 10 Material

We need to check line item 20 is status "fully delivered"

If status is Fully delivered then background processing of the steps below,

1. Create Production order: CO01 (1000180)

2. Release Production order: CO02 (1000180)

3. Confirm Production Order : CO11n (1000180)

4. Goods receipt for Production order : MIGO (1000180)

Stock is available

5. Check STO number from Sales order line item (10)

6. Prepare delivery for STO (VL10d) (example :80000288)

7. PGI for delivery (80000288)

Key factors are Sales Order item reference for STO number and STO line item reference for Material.

Help on this will be appreciated.

Regards,

Mallika

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI

u can use me59n transaction for ur requirement.

this program serves all ur purposes including batchjob scheduling for po creation.

reward if helps !!!!!!

Former Member
0 Kudos

Hi,

I think ME59N is relevant to purchase orders, I am conserned with Production orders creation.

Regards,

Mallika.