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

How to change dates for Operation Segments in production order

Hi all,

I'd like to upload the operation time from other system to SAP.

For that, I'm looking for how to change dates for operation segments (Operation-Details) in production order by FM or BAPI.

I found the FM "CO_SE_PRODORD_CHANGE" and tried executing it for test,

but it didn't work well.

Here is my parameters;


Import: IV_ORDER_NUMBER = "60000000"

IT_OPERATION - OPERATION = "0010"

- EARLIEST_START_PROC_DATE = 2015/09/14


After testing, there was no error, but the production order date was not changed.

How should I set parameters for this FM?

Also, if someone know is other solution to change production order date and time,

could you help me?

Best regards,

Mei

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 13, 2015 at 09:31 AM

    Hi Mei,

    this function module works similar to a BAPI, means you have to perform a commit afterwards or supply import parameter IV_COMMIT with X. Hope this helps. Please also review the function module documentation for further information.

    Best Regards,

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi, experts

      I found this FM works well in case of Header data.

      For example,

      Import:

      IV_ORDER_NUMBER = "60000000"

      IS_HEADER-QUANTITY = "120"

      IS_HEADER-QUANTITY_X = "X"

      IV_COMMIT = "X"


      As a result, the quantity of production order "60000000" updates to "120".


      However, I cannot get the same good result about import parameter "IT_OPERATION".


      Could anyone help me find an solution?


      Best regards,

      Mei


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.