Bapi 4 order confirmation

hi frendz........
i want to create a process order confirmation  using the transaction COR6 .....for this i have done coding in the following BAPI 's(taken individually )..........
BAPI_PRODORDCONF_CREATE_ACT
BAPI_PRODORDCONF_CREATE_HDR
BAPI_PRODORDCONF_CREATE_TE
BAPI_PRODORDCONF_CREATE_TT
BAPI_PRODORDCONF_GET_HDR_PROP
after executing , the message which appears on the screen is that the order no. XYZ is wrong entry.
but the order is very much present in the afpo and afko tables in the database .
i dunno y it is giving me this message and the bapi is not getting executed .
can any body tel me the problem .
hoping 4  a quick reply .
thanx
anil

hi prabhu,
thanks . it worked.
but now the problem is that the message returned from BAPI is saying that the confirmation cannot be posted for that particular order which is of order type xyz.
infact the confirmation is not created for any order types using the BAPI.
but i can create the confirmation manually thru the tcode COR6 for the same order and order type .
can u tel me wtz the prob........
i need to call this bapi in my module pool prog .
thanx in advance
anil

Similar Messages

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • BAPI For Process Order Confirmation

    Hi,
    For Process Order Confirmation we are using the following tcode. COR6N. in the t-code we are include a new field (Shift Field) with help of CONFPP07. and we made the field as mandatory also. in cor6n it is working fine.
    now we are using the bapi for same Process Order Confirmation. here the new field is not available. we want to include the new  ( Shift ) Field also. we are using the following
    BAPI Fm: BAPI_PROCORDCONF_CREATE_TT .
    Regards
    Sathis

    BAPI_PRODORDCONF_CREATE_TT to confirm a production Order
    Erwan

  • BAPI for Mass Purchase Order Confirmation

    Dear All,
    In standard SAP,it is possible to confirm for single line item only by using confirmation tab.
    We want to confirm Mass PO Confirmation.
    Is there any BAPI for Mass Purchase Order Confirmation?
    Regards,
    Ramesh

    Hi Sumant,
    I have tried with TC:MASS.
    By using this TC we can update quantity but not  delivery date & Confirmation Control (Fields available in the confirmation tab of ME22n for Vendor Confirmation).
    Is there any way to updates all these fields which are available in the Confirmation Tab?
    Is there any BAPI which is tranferring confirmation tab details into EKES table?
    Expecting your valuable inputs in this regard.
    Regards,
    Ramesh

  • Problem with creating Process order confirmation using BAPI

    Hello,
    While creating Process Order confirmation using BAPI_PROCORDCONF_CREATE_TT, material document is getting created. But a line item is inserted in the table AFRU without material document number. When it is created manually using the transaction COR6, the table is getting updated with material doc in the line item. Can anyone let me know what other attributes to be passed in order the update the same?
    Thanks in Advance.
    Regards, Senthil G.

    Hello , I am working with the same Bapi, can you please send me the code to fill the parameters, if I find the same error like you, I will send you the solution if I correct that.
    Thanks for your help.
    [email protected]
    Guatemala, Cempro ADATSA

  • Any function module or BAPI for PM order confirmation

    Hi all,
    I'm trying to confirm a PM order (IW41) background. Is there any existing BAPI or FM for me to do that? Thanks in advance.

    Mil,
    check this
    BAPI_PRODORDCONF_CREATE_TT,
    below are other ones which may use for you...
    BAPI_PRODORDCONF_CREATE_ACT Enter Activity Confirmation
    BAPI_PRODORDCONF_CREATE_HDR Enter Order Confirmations
    BAPI_PRODORDCONF_CREATE_TE Enter Time Event Confirmation
    BAPI_PRODORDCONF_CREATE_TT Enter Time Ticket Confirmation
    BAPI_PRODORDCONF_EXIST_CHK Existence Check for Confirming Production Order
    BAPI_PRODORDCONF_GETDETAIL Detailed Data for Production Order Confirmation
    BAPI_PRODORDCONF_GETLIST Confirmations List
    Don't forget to reward if useful....

  • Bapi 4 process order confirmation??

    hi abapers.............
    can ne1 tell me wt is the BAPI  4 process order confirmation.
    thanx in advance .
    anil

    Hi
    BAPI_PRODORDCONF_CANCEL
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    BAPI_PRODORDCONF_EXIST_CHK
    BAPI_PRODORDCONF_GETDETAIL
    BAPI_PRODORDCONF_GETLIST
    BAPI_PRODORDCONF_GET_HDR_PROP
    BAPI_PRODORDCONF_GET_TE_PROP
    BAPI_PRODORDCONF_GET_TT_PROP
    BAPI_PRODORDCONF_PDC_UPLOAD_TE
    BAPI_PRODORDCONF_PDC_UPLOAD_TT
    Regards
    Kathirvel

  • Need a BAPI/FM for process Order Confirmation

    Hi guys,
    I need a bapi or Fm for process Order confirmation.
    thnx in advance

    Checck
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    Better read the documentation of each BAPi using the tcode BAPI and proceed.
    I feel BAPI_PRODORDCONF_CREATE_HDR would do your purpose.
    Documentaion:
    <b>
    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. </b>

  • BAPI For Procduction Order Confirmation

    Hi Expert,
    How to use the BAPI_PRODORDCONF_CREATE_TT for Process Order Confirmation
    I have to use two internal tables for order confirmation 
    GOODSMOVEMENTS
    LINK_CONF_GOODSMOV
    Please help.
    Thanks in advance.

    Hi Arpit,
    This BAPI is having Table parameter 'TIMETICKETS' as mandatory. You can use it as below:
      ls_timeticket-conf_no            = i_rueck. " confirmation number
      ls_timeticket-yield                  = i_erfmg. "Quantity   
      ls_timeticket-conf_quan_unit = i_erfme. " Unit
    ** propose goods movements
       ls_bapi_propose-goodsmovement = 'X'.
      CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'
        EXPORTING
          propose                      = ls_bapi_propose
        IMPORTING
          return                         = ls_bapi_return    
        TABLES
          timetickets                 = lt_timeticket
          goodsmovements     = lt_goodsmovements
          link_conf_goodsmov = lt_link_conf_goods_mov
          detail_return               = lt_detail_return.
    CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
          IMPORTING
            return             = ls_bapi_return
          TABLES
            timetickets        = lt_timeticket
            goodsmovements     = lt_goodsmovements
            link_conf_goodsmov = lt_link_conf_goods_mov
            detail_return      = lt_detail_return.
    If you already have data for internal tables GOODSMOVEMENTS and LINK_CONF_GOODSMOV, you can skip the propose goods movements BAPI  'BAPI_PRODORDCONF_GET_TT_PROP'.

  • BAPI for Service Orders Confirmation

    Can somebody please provide BAPIS for Service Orders Confirmation and other related BAPIS
    Thank you

    To create service confirm order use "BAPI_BUSPROCESSND_CREATEMULTI".
    Regards,
    Animesh

  • BAPI  to confirm the production order

    Hi friends,
    Can anybody tell me whats the BAPI to confirm the production order? If BAPI is not available how to create a BAPI for that?
    Please help me out.
    Thanks & Regards
    Sireesha.

    Here are the list of BAPI's pertaining to confirmations
    BAPI_PRODORDCONF_CREATE_ACT    Enter Activity Confirmation                                              
    BAPI_PRODORDCONF_CREATE_HDR    Enter Order Confirmations                                                
    BAPI_PRODORDCONF_CREATE_TE     Enter Time Event Confirmation                                            
    BAPI_PRODORDCONF_CREATE_TT     Enter Time Ticket Confirmation                                           
    BAPI_PRODORDCONF_EXIST_CHK     Existence Check for Confirming Production Order                          
    BAPI_PRODORDCONF_GETDETAIL     Detailed Data for Production Order Confirmation                          
    BAPI_PRODORDCONF_GETLIST       Confirmations List                                        
    Regards,
    Ravi
    note - Please mark all the helpful answers

  • 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

    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

  • BAPI/ FM for Order Confirmation Tcode IW41

    Hi Experts ,
    I want to do auto order confirmation  using the Tcode iw41, is there any BAPI or Function module available to the order confirmation  , Please suggest if any other way we can do
    Babumiya Mohammad

    Hi,
      Please check the following BAPI's.
       BAPI_ALM_CONF_CREATE
      BAPI_ALM_ORDER_MAINTAIN       
      BAPI_ALM_NOTIF_SAVE
    If you want any other function module please search BAPI_ALM *   like that.
    Regards
    Pugal

  • Extensionin parameter in the Production Order Confirmation BAPI

    Hi All,
    I am looking for a Production Order Confirmation BAPI which has the Extensionin parameter to append values for custom fields in table AFRU.
    But i could not find one with the Extensionin parameter.
    Please let me know if there is any option or any other Production Order Confirmation BAPI which can meet this requirement.
    Thanks in Advance.
    Jaffer Ali.S

    First off, thanks for these posts.  Worked for me, too.
    Let me just add a little more clarification:
    1) First you call BAPI_PRODORDCONF_GET_HDR_PROP
    2) Then you must update the field ENTRY_QNT from the internal table you pass in to "goodsmovements" because function BAPI_PRODORDCONF_GET_HDR_PROP wipes that field out and you will miss the posting without this filled
    3) Then you call BAPI_PRODORDCONF_CREATE_HDR with the same internal table you got back from the first function inclusive of you putting back ENTRY_QNT.
    4) Commit work and wait.
    So, in summary, the first fm is needed and the first fm changes some fields in the "goodsmovements" internal table that you really need to get the posting to work in the second fm.
    And one more thing, the exact function that an earlier posted referenced to find out that both of the functions in this note were called together is:  PP_CATT_CONFBAPI_HDR.
    Message was edited by:
            Kenneth Goldstein

  • Service order confirmation BAPI

    what is the BAPI for service order confirmation (IW42)? I need a BAPI which takes import parameter as Service order number and exports the details of all operations for that order.
    Also, all the materials and quantity used for each operation.
    Are there any BAPI(s) which provides this functionality?
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

    HI dido...
    you can use CRM_ORDER_MAINTAIN.
    you can process any document type you want
    regards
    Marco

Maybe you are looking for

  • Code to 2 DSO fields in 'Customer Exit'

    Hello, For my Customer Exit code, I want to read 2 fields (BEG_FORPER & END_INPER) from DSO 'ZHRPY_O50' & append them to 'Customer Exit' variable 'ZACTDATE'. Could someone help me with this code? Thanks!

  • How to find unhidden tv shows on iTunes?

    I recently saw that I had hid some TV shows on iTunes, and I wanted to watch them, so I clicked 'unhide'.  I thought this would mean that they would reappear in my library.  However I can not find them. Does anyone have any ideas as to where I might

  • Material Type for Material Determination

    Hi Expert, Is there any spesific/standard material master type for material determination on SD ? Thanks, IB

  • What happens if we kill SMON and PMON Back ground processes

    Dear All, It is an interview question to me. What happens to the database if we kill SMON and PMON background processes? I was unable to answer this, please let me know. Thanks Mahi

  • ITunes 10 software update never appeared on my software updates list

    I have two iMacs networked together, one 4 year old iMac running Tiger 10.5, and one 2009 iMac running SL 10.6.4. I downloaded iTunes 10 on the older machine several weeks ago after it appeared in the Software Update list. I have never seen the iTune