on 06-12-2013 7:08 AM
Hi,
We are trying to create a custom program to upload production orders.
We used BAPI_PRODORD_CREATE but users want to enter Schedule Date and Time.
Are there any FM that is available for us to use? I tried CO_XT_ORDER_CREATE but it always result to error (CO028 Backward scheduling (enter finish date) even if I key in the dates already (both in IS_MI_SCHEDULED_DATES and IS_BASIC_DATES.)
Thanks guys in advance.
Thanks and regards,
John
Hi All,
This issue is solved. We changed the Scheduling Type to Backwards in Time.
That way, Basic Time field was opened up for entry.
Thanks and regards,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are the approximate changes in the dates.
If that date is in past then you can manage by allowing back date scheduling in scheduling paratmeters setting of order type..
If that dates are in future or current date then i think this must not be a problem.
You can give logic this way.
1. If order start date is current date then pass scheduling type as 4 while creating order.
2. If order start date is in future then pass scheduling type as 1 while creating order.
you can develop this logic in z program through which you are going to transfer data to BAPI.
Jigar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello John,
Check in OPU3 order type profiles>adjust scheduling and scheduling control for detailed scheduling.
do you get same error through CO01 also?are you able to get order no successfully through BAPI?Normally the process would be as below.
BAPI_PRODORD_CREATE
check this if you have not used BAPI_ALM_ORDER_MAINTAIN
BAPI_PRODORD_SETUSERSTATUS """if any
BAPI_PRODORD_RELEASE
BAPI_GOODSMVT_CREATE
BAPI_PRODORD_COMPLETE_TECH
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.