Skip to Content
author's profile photo Former Member
Former Member

FM to create production order using Scheduled Date

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 21, 2013 at 06:33 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2013 at 10:09 AM

    Hi John,

    Check this link http://scn.sap.com/thread/3263778 amy help you.

    Regards,

    Guru

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2013 at 05:12 AM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2013 at 05:34 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2016 at 11:22 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.