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

IDOC/BAPI for production order confirmations

Does anyone know IDOC or a BAPI for confirming a production order? CO11 is the normal transaction for confirmation.

I found one BAPI: BAPI_PRODORDCONF_CREATE_HDR

Is this the right one?

-Thanks

Bhaven

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2004 at 02:11 AM

    Refer FM documentation. I am pasting it for you

    "You can use this method to enter order confirmations for production orders.

    You can also transfer good movements, that are posted together with a confirmation. If no goods movements have been entered for a confirmation , they are determined using the standard logic for backflushing and automatic goods receipt for confirmations."

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2004 at 12:59 PM

    Hi Bhavan,

    status can be find using function module <b>STATUS_TEXT_EDIT</b>.

    Sample code:

    CALL FUNCTION 'STATUS_TEXT_EDIT'

    EXPORTING

    client = sy-mandt

    objnr = >object number of order<

    only_active = 'X'

    spras = 'E'

    IMPORTING

    line = hold_status

    EXCEPTIONS

    object_not_found = 1

    OTHERS = 2.

    *Exception in case status is not found

    IF sy-subrc <> 0.

    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

    ENDIF.

    *Check Status of the Order

    IF hold_status CS 'CNF'.

    confined production orders.

    ENDIF.

    Best regards

    Suresh Babu Karanam

    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.