Skip to Content

To get process order activity.

Hello All,

We are planning to use BAPI_PROCORDCONF_CREATE_TT for process order confirmation.

To give activity quantity input based on yield quantity, we are trying to execute first BAPI_PRODORDCONF_GET_TT_PROP with inputs in ‘TIMETICKETS’ as 1) ORDERID 2) OPERATION 3) SUB_OPER (Sub operation number of ‘Phase’) 4) POSTG_DATE 5) Plant 6) YIELD.

For ‘PROPOSE’, ACTIVITY = X; QUANTITY = X and GOODSMOVEMENT = X.

After execution, BAPI didn’t give any results related to proposed ‘Activity/quantity/goods movement but in ‘DETAIL_RETURN’ it gives error message “Orders of the order type PI01 cannot be confirmed” (RU 51).

For testing purpose I executed BAPI_PRODORDCONF_GET_TT_PROP with order related to order type PP01 with same above inputs except ‘SUB_OPER’. It had given expected results.

Please suggest whether BAPI_PRODORDCONF_GET_TT_PROP doesn’t work for process orders? or I am missing some thing. Please suggest.

Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 22, 2018 at 07:05 AM

    hello,

    Can you confirm your order Category for the order Type (PI01). Its should have '40'.

    T-code to check : CORN nor OPJH

    https://blogs.sap.com/2016/01/06/badis-and-exits-for-production-and-process-orders/ - FYI

    Thanks & Best Regards,

    Kumar Semmalai



    ltjzv.png (17.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2018 at 09:14 AM

    Hi

    BAPI_PRODORDCONF_GET_TT_PROP cannot be used for process orders. Use BAPI_PROCORDCONF_GET_TT_PROP instead. In your example, provide 1) ORDERID 2) PHASE 3) POSTG_DATE 5) PLANT 6) YIELD with the same flags for PURPOSE.

    Jan

    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.