BAPI_PROCORDCONF_CREATE_TT

I am wanting to use this standard BAPI but we are on R/3 4.6c.  I have been told that this BAPI is not available until ECC 5.
Questions:
- Is this available under R/3 4.6c?
- If not, is there an enhancement pack that will give me it?

check this too
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0f26203-5ebd-2b10-5cb4-84e7019bfadc
Regards
Ram Upadhyay
Edited by: ram Upadhyay on Jun 3, 2009 11:02 PM

Similar Messages

  • Problem with  BAPI_PROCORDCONF_CREATE_TT

    Dear Gurus,
    I am trying to change the indicator "Final delivery" in a process order .
    I am trying to do it with a BAPI .
    I can't do it ...
    And the funny is that the system say that the Order was saved  !!!!
    Look my code ...
    *& Report  YDP_METAL_BOOK_CHECK_V13
    REPORT  YDP_METAL_BOOK_CHECK_V10.
    TABLES : AFKO , AFPO .
    DATA BEGIN OF AAA OCCURS 0.
            INCLUDE STRUCTURE BAPI_ORDER_HEADER1.
    DATA END OF AAA.
    DATA BEGIN OF BBB OCCURS 0.
            INCLUDE STRUCTURE BAPI_ORDER_ITEM.
    DATA END OF BBB.
    DATA BEGIN OF CCC OCCURS 0.
            INCLUDE STRUCTURE BAPI_PI_ORDER_OBJECTS.
    DATA END OF CCC.
    DATA BEGIN OF DDD OCCURS 0.
            INCLUDE STRUCTURE BAPI2017_GM_ITEM_CREATE.
    DATA END OF DDD.
    DATA BEGIN OF MMM OCCURS 0.
            INCLUDE STRUCTURE BAPI_ORDER_PHASE.
    DATA END OF MMM.
    DATA BEGIN OF NNN OCCURS 0.
            INCLUDE STRUCTURE BAPI_ORDER_TRIGGER_POINT.
    DATA END OF NNN.
    DATA BEGIN OF LOCK OCCURS 0.
            INCLUDE STRUCTURE BAPI_CORU_PARAM.
    DATA END OF LOCK.
    DATA BEGIN OF EEE OCCURS 0.
            INCLUDE STRUCTURE BAPI_PI_TIMETICKET1.
    DATA END OF EEE.
    DATA BEGIN OF DETAILS OCCURS 0.
            INCLUDE STRUCTURE BAPI_CORU_RETURN.
    DATA END OF DETAILS.
    DATA BEGIN OF LLL OCCURS 0.
            INCLUDE STRUCTURE BAPI_ORDER_STATUS.
    DATA END OF LLL.
    START-OF-SELECTION.
    CLEAR AFKO.
    SELECT SINGLE * FROM AFKO WHERE AUFNR = '000039085004'.
    IF SY-SUBRC = 0.
      CCC-HEADER = 'X'.
      CCC-POSITIONS = 'X'.
      APPEND CCC.
    CALL FUNCTION 'BAPI_PROCORD_GET_DETAIL'
      EXPORTING
        NUMBER                 = AFKO-AUFNR
       COLLECTIVE_ORDER       = 'X'
        ORDER_OBJECTS          = CCC
    * IMPORTING
    *   RETURN                 =
    TABLES
       HEADER                 = AAA
       POSITION               = BBB
    *   SEQUENCE               =
       PHASE                  = MMM
       TRIGGER_POINT          = NNN
    *   COMPONENT              =
    *   PROD_REL_TOOL          =
    EEE-ORDERID     = AFKO-AUFNR.
    EEE-PHASE       = '0500'.
    DDD-NO_MORE_GR = 'X'.
    APPEND EEE.
    APPEND DDD.
    CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'
    EXPORTING
       POST_WRONG_ENTRIES       = '0' "LOCK              " '0'
    *   TESTRUN                  =
    * IMPORTING
    *   RETURN                   =
      TABLES
        TIMETICKETS              = EEE
        GOODSMOVEMENTS           = DDD
    *   LINK_CONF_GOODSMOV       =
       DETAIL_RETURN            = DETAILS          .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
    ENDIF.
    END-OF-SELECTION.

    tried COMMIT WORK  directly after calling up this BAPI ?

  • SAP Standard BAPI Issue ---BAPI_PROCORDCONF_CREATE_TT

    Hi
    We are using the standard BAPI--  BAPI_PROCORDCONF_CREATE_TT to do Process order confirmations , which is invoked by an MII BLS using data from the MES system.
    Everything worked like a charm ( Partial confirmations, Final Confirmations, Goods Movements ie.101 etc) , but recently we implemented it a new plant. Now in this plant there is a strange Business process i.e they Do a partial confirmation of the full qty of the process order and then do a Final Confirmation with Zero Qty. let me explain
    Process order requires 100 GAL of a perticlar paint .
    First the MES system does a process order confirmation and goods Receipt of 100 Qtys  as  a Partial confirmations and then They do a Final confirmation with Qty as Zero.
    This works fine when i do it in the SAP GUI ( CORK t-code for process order confirmations and GR) but with the BAPI  BAPI_PROCORDCONF_CREATE_TT , the first transaction sets the Status of the process order the to PCNF DLV (which is as expected) .
    Next when they send a Zero Qty with a final Confirmation , the system changes the STATUS of the proces order to CNF (and removes the DLV) which does not happen with SAP GUI and CORK t-Code.
    Is there any parameter that i am missing.
    Please help me. the plant has gone live , they dont want to change the process and i need to resolve this issue.
    Regrads
    Suraj Prabhu

    Hi CKxMII
    Movement Type value i am passing is 101.
    What i am doing in MII is first i Pass the basing parameters of Plant, Order ID, Phase, Yield and Confirmation type (X for Final, Space for partial) to another standard BAPI BAPI_PROCORDCONF_GET_TT_PROP.
    Now this BAPI returns me with all the required parameters for the  actual Process Order Confirmation BAPI i.e BAPI_PROCORDCONF_CREATE_TT .
    See the issue is not that the Final or Partial Confirmation is not happening. They are happening fine. Only in case where i am doing a final confirmation with the Qty = Zero is where i am seeing the  DL Flag is dropped.
    Regards
    Suraj

  • BAPI_PROCORDCONF_CREATE_TT Goods Movement Posting Problem

    When performing a process order confirmation via the BAPI_PROCORDCONF_CREATE_TT, I'm experiencing some difficulties with the goods movements.  Specifically, when attempting to post a goods receipt to the order via a 101 movement along with a goods issue to the order via a 261 movement, the movements are posting as two separate material documents instead of a single material document.  Secondly, the movements post under the transaction code COGI (from the MKPF-TCODE2 field) which seems a little odd to me as I was expecting something specific to the BAPI or at least COR6N.
    For others utilizing this BAPI with goods movements specified, what transaction code do the materials post under and is there some config or setting directly in the BAPI which I'm missing to ensure goods movement postings occur under a single material document?
    Thanks in advance for any/all assistance,
    Randy Lintz
    Foster Farms
    Livingston, California

    Hi Randy,
    Please check with T-Code CORK & also check hte confirmation configuration in OPK4.
    Check the "All Components" under Generally Valid settings Tab.
    Thanks

  • BAPI_PROCORDCONF_CREATE_TT Not working

    Hi friends,
    I am testing the FM : BAPI_PROCORDCONF_CREATE_TT to confirm the process order.With this FM am passing the confirmation slip number and process order number , phase(operation level).In the output its showing as "Confirmation of process order xxxxx is saved".
    But if i check in the transaction cor6 this process order is not yet confirmed.
    I have also used "BAPI_TRANSACTION_COMMIT"
    Kindly let me know if I am missing anything here.
    Thanks in advance

    Hi,
    You need to call...
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
    after executing BAPI_PRODORDCONF_CREATE_TT

  • About PostWrongEntries under BAPI_PROCORDCONF_CREATE_TT

    Dear PP guru,
    I have an enhancement program which used  BAPI_PROCORDCONF_CREATE_TT.
    The program work correctly but sometime some goods movement not posted but store under T-code CO1P that user have to clear manually.
    Therefore I have look at BAPI it have structure POST_WRONG_ENTRIES that default value is '0'
    I saw the document its explain that:
    "Description
    The PostWrongEntries parameter controls which confirmations are transferred into the error pool.
    You can correct and re-post the error pool entries via the post-processing of confirmations.
    Value range
    0: No confirmations
    1: Only incorrect confirmations
    2: Incorrect confirmations and confirmations that cannot be processed due to a lock situation."
    My question is, is it will solve my problem if i change value of POST_WRONG_ENTRIES from '0' to '2'?
    Thank and best regards,
    Konnapa

    Hi,
    I'm facing the same issue. Did you find a solution ?
    Thanks in advance for your response,
    br,
    yannick

  • Badi/exit for BAPI_PROCORDCONF_CREATE_TT   MSEG table update

    Dear Experts,
    I want to modify MSEG table field in bapi BAPI_PROCORDCONF_CREATE_TT.
    When I pass parent_id data for Goods movement to this bapi, the bapi clear the parent_id data and after confirmation, MSEG tables parent_id field is blank.
    I have debug this bapi and the reason is AFFW table. In the AFFW table has only line_id field. No parent_id field available in AFFW table.
    Goods movement data move through MOVE-CORRESPONDING statement from goodsmovement to AFFW.
    So I want any BADI or Exit used by this bapi to change the movement data.
    Regards,

    Plz reply,
    I also want to modify/populate the AUFM table, is there any way to populate MSEG and AUFM table.

  • Goods movement using bapi BAPI_PROCORDCONF_CREATE_TT

    Hi,
    I am using the bapi BAPI_PROCORDCONF_CREATE_TT to confirm the process order and do automatic goods movement. The problem I am facing is it is confirming the process order but goods movement, at times is working and at times is not doing goods movement. Do not know whether its a data issue or I am doing something wrong in the bapi. Pls help on this.

    Hi Vishal, Thnx for the reply, actually what is happening.
    step1: I am creating a process order in COR1.
    step2: I am releasing the process order in COR2. Batch is getting assigned automatically.
    step3: In tcode COR6N when I am entering the process order, the yield field is getting populated with the order quantity ( quantity created in COR1 ). Then I am moving to goods movement button. There at times I am getting material with movement type 261, then GM is not happening, but if I delete that partucular material with movement type 261 and click save button GM is done successfully.
    This when I am doing through bapi, I am getting the confirmation but no GM. Hence in AFRU-WABLNR is coming blank

  • BAPI Problem - BAPI_PROCORDCONF_CREATE_TT

    I am using this BAPI to notify  Process Orders.
    But I do not make any recording the movement of goods into the table goodsmovements.
    Moreover, the table link_conf_goodsmov him the income index of the table goodsmovements that must change.
    How can I notify the movement of goods?

    Hi Pablo,
    I assume that you are creating process order confirmations and corresponding goods movements. BAPIs I am referring are different.
    Here are the steps that might help you.
    Reward if you find this useful.
    1. Call bapi - BAPI_PROCORDCONF_GET_HDR_PROP and pass PROP_GMOV = 'X' and ATHDRLEVELS. This bapi will return the proposals of automatic goods movements. After the execution of this bapi, following tables will be filled up with data
    ATHDRLEVELS
    GOODSMOVEMENTS
    LINK_CONF_GOODSMOV
    2. Change ATHDRLEVELS and GOODSMOVEMENTS as per file data
    3. Append GOODSMOVEMENTS with components from file.
    4. Append LINK_CONF_GOODSMOV with indexes for components
    5. Pass these 3 tables to bapi - BAPI_PROCORDCONF_CREATE_HDR. This bapi will create confirmation.
    But this will create 2 material documents, one for 101 movement type and other for your movement  for ex. 261 (consumption)
    Thanks,
    Shriram.

  • Same functionality as COR6N - through Function Mod - passing Batch Number

    Hi All,
    We are using function 'BAPI_PRODORDCONF_CREATE_TT' to make a completion confirmation with a goods movement.
    We are trying to achieve the same functionality as COR6N.
    We enter a proc order, then put a qty into yield, click Goods movement (the matr is batch managed) and then enter a batch (movement type 101 by default). Then save. Everything is ok and is I check in table MSEG there is an entry for the confirmation with the batch I used.
    Now, when we try this with the bapi the qty is confirmed but in MSEG the batch that appears is different than the one we passed to the BAPI. This is how we are calling the funciton:
    CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'
    EXPORTING
    POST_WRONG_ENTRIES = '0'
    TESTRUN = 'X'
    IMPORTING
    return = wa_bapiret1
    TABLES
    timetickets = i_timetickets[]
    goodsmovements = i_goodsmovements[]
    link_conf_goodsmov = i_link_conf_goodsmov[]
    detail_return = li_detail_return[] .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = li_ret
    i_timeticket one entry with fields informed: orderid, phase, plant, yield
    i_goodsmovements one entry with material plant resource stg location, batch, mov type
    (values as in COR6N)
    i_link_conf_goodsmov[] two cases:
    1.if we place an entry such as
    i_link_conf_goodsmov-INDEX_CONFIRM = 1.
    i_link_conf_goodsmov-INDEX_GOODSMOV = 1.
    Then no entry appears in table MSEG, in COR3 delivered qty is not increase but in COR6N the already confirmed quantity IS increase
    1.if we place no entry then
    Then an entry appears in table MSEG but the batch is not the one in i_goodsmovements, in COR3 delivered qty is increase and in COR6N the already confirmed quantity also increases.
    So our problem is that when we use i_link_conf_goodsmov to make the bapi use the batch we specify then it does not seem to work. success is returned from bapi in both cases. Of course we do a commit work immeaditely after the bapi.
    I would really appreciate somebody help me out.
    BR,
    Ashwani

    Guys please advise on this issue.
    Ashwani

  • Process Order accepts Confirmation & GR from BAPI even after Confirmed

    No matter what i try the formatting and CRLF go for a toss in this text.
    Hi PPPI Gurus,
    I am a beginner in this area and request your help.
    We are implementing a project where the process order Confirmation in SAP ECC 5.0 in SAP PPPI module is done using xMII which call the BAPI_PROCORD_CREATE_TT     RFC.
    The customer wants to (certain times) do a final confirmation without actually completing the order e.g if the Order Qty is 100 then, they want to just manufacture 25 and then do a final confirmation, after which SAP GUI screen does not allow any Process order Confirmations against that process order.
    We are using the BAPI_PROCORDCONF_CREATE_TTRFC to do multiple PO Confirmations and GR for particular Process order. Below is a scenario
    Case 1:
    1. Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only 100 is accepted.
    2. 100 Quantities are produced and confirmed using the BAPI_PROCORDCONF_CREATE_TT (with Final confirmation value as 1 , which mean auto confirmation)
    3. Next when the BAPI confirms & GR's against the same order, the Complete qty is not visible in the COR3 status. And is visible only in the COGI transaction.
    That is expected behavior. and i am ok with that.
    Case 2: (The one with the problem)
    1.  Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only the 100 is accepted.
    2.  25 Quantities are produced and confirmed using BAPI_PROCORDCONF_CREATE_TT (with Final Confirmation value as X , which mean Final confirmation)
    3. The Confirmation and GR go through and the status of the process order now changed is CNF and the Deliverd qty is 25.
    At this point , if you logon to SAP GUI and try to make a process order confirmation you get an error messages which says the Process Order is already confirmed and no more confirmations or GR can be done against this Process order.
    4. But when you Again Run the BAPI_PROCORDCONF_CREATE_TT, it goes ahead and confirms and makes the GR for that Process order.
    The Expected Behavior should have been that this quantity is now in the COGI transaction.
    5. The Process order  allows any number of Further confirmations till the Ordered Qty and Delivered quantity are  same .
    so dear gurus I know i have written a very long doubt but would be very happy to get a response from you. I would ideally not like to enhance or change the BAPI and want to understand if I have missed some setting or parameter that I have to pass in the BAPI for the final confirmation so that once the Status of the Process order is CNF , no more Confirmations are allowed even from the BAPI.
    Thanks in Advance.
    Regards
    Suraj
    Edited by: surajprabhu on Aug 17, 2009 6:37 AM

    Hi,
    The standard SAP will allow the GR even after the Final Confirmation. The Final Confirmation is acting as a agent to change the status of the process order to CNF. thats all.
    If you want to restrict the GR then you have to do Enhancement with  use the USer Exits. Pleas try to use the User Exits PPC00009 or MBCF0001,MBCF0005
    thanks and regards
    murugesan

  • Process Order does Confirmations and GR even after the Process order is CNF

    Not Sure why the Formatting is lost.
    Hi Gurus,                                                                               
    I am a beginner in this area and request your help.                                                                               
    We are implementing a project where the process order Confirmation in SAP ECC 5.0 in SAP PPPI module is done using xMII which call the BAPI_PROCORD_CREATE_TT     RFC.
    The customer wants to (certain times) do a final confirmation without actually completing the order e.g if the Order Qty is 100 then, they want to just manufacture 25 and then do a final confirmation, after which SAP GUI screen does not allow any Process order Confirmations against that process order.
    We are using the BAPI_PROCORDCONF_CREATE_TTRFC to do multiple PO Confirmations and GR for particular Process order. Below is a scenario
    Case 1:
    1. Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only 100 is accepted.
    2. 100 Quantities are produced and confirmed using the BAPI_PROCORDCONF_CREATE_TT (with Final confirmation value as 1 , which mean auto confirmation)
    3. Next when the BAPI confirms & GR's against the same order, the Complete qty is not visible in the COR3 status. And is visible only in the COGI transaction.
    That is expected behavior. and i am ok with that.
    Case 2: (The one with the problem)
    1.  Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only the 100 is accepted.
    2.  25 Quantities are produced and confirmed using BAPI_PROCORDCONF_CREATE_TT (with Final Confirmation value as X , which mean Final confirmation)
    3. The Confirmation and GR go through and the status of the process order now changed is CNF and the Deliverd qty is 25.
    At this point , if you logon to SAP GUI and try to make a process order confirmation you get an error messages which says the Process Order is already confirmed and no more confirmations or GR can be done against this Process order.
    4. But when you Again Run the BAPI_PROCORDCONF_CREATE_TT, it goes ahead and confirms and makes the GR for that Process order.
    The Expected Behavior should have been that this quantity is now in the COGI transaction.
    5. The Process order  allows any number of Further confirmations till the Ordered Qty and Delivered quantity are  same .
    so dear gurus I know i have written a very long doubt but would be very happy to get a response from you. I would ideally not like to enhance or change the BAPI and want to understand if I have missed some setting or parameter that I have to pass in the BAPI for the final confirmation so that once the Status of the Process order is CNF , no more Confirmations are allowed even from the BAPI.
    Thanks in Advance.
    Regards
    Suraj

    Hi Suraj,
    I am not positive, but I suspectt the problem lies in the BAPI.  It might be how you have the data set in MII, but it sounded like you are doing it correctly. 
    However there are a number of things you can do to troubleshoot your situation.
    First create a few process orders to test with. 
    Record the confirmation numbers and counters for each of the following:
    1) Do a final confirmation (for quantity of 25 instead of the 100) in CORK (or whichever transaction you are using). 
    2) Do a final confirmation (for quantitiy of 25 instead of the 100) in SE37 or BAPI in ERP using the BAPI_PROCORDCONF_CREATE_TT.
    3) Do a final confirmation (for quantitiy of 25 instead of the 100) from MII using your current transaction. 
    Review the confirmations in ERP to see if there are any differences.
    Review the confirmaitons in MII to see if there are any non visible differences (use a Tracer to retrieve the response segment from an execution of BAPI_PROCORDCONF_GETDETAIL using the recorded confirmation numbers and counters) 
    Case 1) If there are differences in the results, that should tell you how to modify your transaction to include or change the appropriate values in your inputs. 
    Case 2) If there are no differences, then it is most likely that there is something not working properly in the BAPI you are using.  It may not completely replicate the functionality in CORK (or whichever transaction you are using in ERP).  Then open a ticket, because the BAPI is not working as it should.
    Good luck,
    Mike
    Edited by: Michael Appleby on Aug 17, 2009 8:20 PM

  • Batch problem with 'BAPI_PRODORDCONF_CREATE_TT'

    Hi All!
    We are using function 'BAPI_PRODORDCONF_CREATE_TT' but not fully sucessfully.
    We call this function to make a completion confirmation with a goods movement.
    Right now we are doing some test trying to get the same results that if we use COR6N.
    We enter a proc order, then put a qty into yield, click Goods movement (the matr is batch managed) and then enter a batch (movement type 101 by default). Then save. Everything is ok and is I check in table MSEG there is an entry for the confirmation with the batch I used.
    Now, when we try this with the bapi the qty is confirmed but in MSEG the batch that appears is different than the one we passed to the BAPI. This is how we are calling the funciton:
      CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'
    EXPORTING
      POST_WRONG_ENTRIES       = '0'
      TESTRUN                  = 'X'
       IMPORTING
         return                   = wa_bapiret1
       TABLES
             timetickets              = i_timetickets[]
             goodsmovements           = i_goodsmovements[]
             link_conf_goodsmov       = i_link_conf_goodsmov[]
             detail_return            = li_detail_return[] .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
         WAIT          = 'X'
       IMPORTING
         RETURN        = li_ret
    i_timeticket one entry with fields informed: orderid, phase, plant, yield, conf_acti_unit1
    i_goodsmovements one entry with material plant resource stg location, batch, mov type
    (values as in COR6N)
    i_link_conf_goodsmov[] two cases:
      1.if we place an entry such as
          i_link_conf_goodsmov-INDEX_CONFIRM = 1.
          i_link_conf_goodsmov-INDEX_GOODSMOV = 1.
        Then no entry appears in table MSEG, in COR3 delivered qty is not increase but in COR6N the already confirmed quantity IS increase
      1.if we place no entry then
        Then an entry appears in table MSEG but the batch is not the one in i_goodsmovements, in COR3 delivered qty is increase and in COR6N the already confirmed quantity also increases
    So our problem is that when we use i_link_conf_goodsmov to make the bapi use the batch we specify then it does not seem to work. success is returned from bapi in both cases.
    I would really appreciate it anyone can shed some light in this. (points will be given of course!)

    Hi Alberto,
    We are facing same problem.
    While we are passing batch through BAPI it is considering running batch not considering inputed batch.
    Thanks
    Ram Mittal

  • 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

  • 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

Maybe you are looking for