Skip to Content

How to create new orders with 'Date Fixed' set as true

Dear experts,

I am currently working on a custom report that creates new orders via the FM, /SAPAPO/RRP_ORDER_CREATE_FINDS.

How can I create a new orders by also setting the Date Fixed (technical name: DATE_FIXED) order status as true?

Apparently, setting the importing parameter, IV_FIRMED as true in the FM, /SAPAPO/RRP_ORDER_CREATE_FINDS will not set the Date Fixed order status as true. Would you please advise me on how I can achieve this instead?

Thanks in advance for all your inputs.

Deborah

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 25, 2013 at 03:53 PM

    Hi Deborah,

    You can check BAPI (BAPI_MOSRVAPS_SAVEMULTI3) that allows you fix the date while creating or changing the planned order.

    On of the tables referred by this BAPI is ORDER_HEAD (BAPI10503ORDHEADIN) that has a reference to DATE_FIXED (APO_BAPIDATEFIX).

    Thanks,
    Rajesh

    Add comment
    10|10000 characters needed characters exceeded

    • Deborah Tan Rajesh Jagadeeswaran

      Hi Rajesh,

      Unfortunately, I am still unable to have a breakthrough in this.

      This is what I have also tried several times:-

      1) Create an order via the FM, /SAPAPO/RRP_ORDER_CREATE_FINDS via the report program

      2) Exit the report program

      3) Checking in /SAPAPO/RRP3, the newly created order can be seen here too

      4) Go to the transaction, SE37 and then run the FM, BAPI_MOSRVAPS_SAVEMULTI3 here with the same data inputs - for the newly created planned order in step 1

      5) The same error messages are still returned from the FM, and the newly created order's Date Fixed attribute is still marked as false

      Should I perhaps try on a different FM instead?

      Please advise.

      Thanks.

      Deborah