When we use BAPI_PLANNEDORDER_CREATE and send material, location, quantity and dates information through the BAPI, in some situations SAP creates a planned order with a different date (+/- 2 days). Firstly what might be causing SAP to change the dates and secondly what can we do to have SAP create planned orders on the same days as mentioned in the BAPI?
Request clarification before answering.
Hello Manoj,
Please verify if this start date modification was done because the planned order changes based on the factory calendar. I mean I thing maybe there is some control with the Factory calendar with all working days and assign it to the Work center in Capacity header.
Seeing very quickly the BAPI, please verify if you can change the scheduling parameters.
I hope this can address you.
Best Regards,
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Manoj,
Try to create planned order in tx MD11 using the same data (material, plant, quantity and dates) . ¿Does the system change dates?.
Moreover, Scheduling is based in :
I hope this help you.
That makes sense. Thank you so much. I am still testing the next stage where I converted the planned order to production order and even if calendar is closed for weekend I can see the Production order scheduled in the weekend (CM21 transaction).
Effectively while creating Planned order through BAPI it is checking Factory calendar but when converting planned order to production order it is not checking Calendar?
In Gantt diagram you see the operation's duration.
For instance:
Standar values 2 days
Start : Friday (1 day)
Saturday : Non-work day (0 days)
Sunday :Non-work day (0 day)
Finish : Monday (1 day)
In adition, in CM21, check the Strategy profile . There is an option called "Planning in non-work periods" in the Scheduling control section.
You should check Intervarls and Shift of the Workcenters(PP) / Resources (PP-PI) involved in the order.
To do this, go to modify Work center (CR02) / Resource(CRC2), then go to Capacity tab, select the capacity category and click Capacity Header data. In the screen Change Capacity, click Intervals and Shift and the system shows data about shifts
Look workdays indicator. The posible values are:
Working days according to the factory calendar
0 Non-working days (overrides factory calendar)
1 Working days (overrides factory calendar)
It's posible weekends are non-work days in Factory calendar , however the workcenter (Intervals and Shitft) is available on weekends.
| User | Count |
|---|---|
| 14 | |
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.