BAPI/FM for Confirmation of Production order at operation level

Hi ABAPers,
I am using the 'BAPI_PRODORDCONF_CREATE_ACT'for Confirmation of Production order at operation level.
I am able to pass the Production order number and Active Operation get the confirmation done.
But the Confirmed Qty is not being updating in AFKO table.
The 'BAPI_PRODORDCONF_CREATE_HDR' cannot be used for Confirmation of Production order at operation level as there is no Operation/Activity(Vornr) field in the input table. Hence using this bapi confirmation of Prod order can be only at Order level.
Can someone know any FM/BAPI which can be used for the Confirmation of Production order at operation level(not order level).
Thanks in Advance
Ramesh Babu Cikka

Hi Ramesh,
Please use FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'.
This will work as like as T/Code "CO11".
I hope this will help you.
Example :
  CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
    EXPORTING
      POST_WRONG_ENTRIES = '0'
      TESTRUN            = ' '
    IMPORTING
      RETURN             = ZRETURN
    TABLES
      TIMETICKETS        = ZBAPI_PP_TIMETICKET
      DETAIL_RETURN      = ZBAPI_CORU_RETURN.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT = 'W'.
Lanka

Similar Messages

  • BAPI/FM to confirm the Production Order

    Hi Friends,
    I have created the Production Order using the 'BAPI_PRODORD_CREATE'.
    I also have to confirm the production order.
    please provide if any BAPI/FM is available for confirming production order?
    Regards,
    xavier.P

    Hi ,
    Try these
    BAPI_PROCORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_HDR
    Edited by: Selva M on Oct 22, 2009 4:37 PM

  • User exit for confirmation of production order for mandatory fields

    While confirming the production order ( CO11 & order type -PP01) , production order should not be saved/confirmed without entering the mandatory field (No. of employees), which is the mandatory field set in the config of "define field selection for confirmation"
    It is allowing if user does't click on the tab (personal/additional data).
    Without entering the mandatory fields in any tab system should not allow user to confirm the order
    How to apply this lock ?
    Also while doing the production confirmation (Co11N) ,user should not have the rights to changes ,adds or delete the component and its quantity OR if user make the changes , suystem should not allow to post the confirmation?How to make this in SAP?
    regards,
    Ramesh Bandi

    Hi,
    You can check the user exit CONFPP05 (Customer Specific Input Checks when Saving) and its function exit  EXIT_SAPLCORF_105 in the transaction code SMOD.
    With this enhancement you can update your own data after saving the confirmation. You cannot change the confirmation itself.
    In this enhancement it is strictly FORBIDDEN to send error messages or other dialogs, otherwise data inconsistencies could occur, for which SAP accepts no liability.
    You can check with your ABAPer's.
    please check & revert back to me.
    Regards,
    Mohan.R

  • Error in CO15 for confirmation of production order

    Hi,
    We are doing the Product cost by order scenario wherein we have maintained the all the required data and when we are doing CO15 to confirm the production order we are getting the erorr message of company code is not defined and the message no.F5 165 and the actual cost calculation is not happened due to this error.

    Hi,
    Confirm whether you have assigned the order type to the Plant in OPK4.
    Regards,
    Sadashivan

  • FM/BAPI to update Production Order at Operation Level

    Hi Friends,
    Can any one help me in this issue.
    My rek is, needs to update Production Order Sequence Number(AFVC-CY_SEQNRV) at operation level.
    There are some Production Orders under one Project.User is updating theSequence Numberfor the first order in that group (TCode CO02),at the time of save remaining Orders in that group needs to be updated with the same Sequence Number.
    Please provide me with FM/BAPI(operation level not at header level)
    Points Rewarded,
    Thanks in advance,
    PRBode.

    Prathap,
    Have you tried using the Bapi :  BAPI_PP_TIMETICKET
    This would confirm at operation level..
    Hope it is useful.
    Regards
    Ram

  • Release of Production Order at operation level

    Dear Experts,
    Production order to be released at operation level automatically one by one, after confirmation of operation.
    Let us suppose
    Op 10 ...... 10 Confirmed
    Op 20 ...... 10 Confirmed
    then in the Op 30 ..... 4 Qunatity to be released automatically once Operation 20 is confirmaed.
    Please give your valuble inputs
    regards
    Ram Kumar

    Dear Experts,
    Production order to be released at operation level automatically one by one, after confirmation of operation.
    Let us suppose
    Op 10 ...... 10 Confirmed
    Op 20 ...... 10 Confirmed
    then in the Op 30 ..... 4 Quantity to be released automatically once Operation 20 is confirmed.
    How to create trigger point for this?
    Can anybody give clear idea, what all the fields I need to maintain ?
    regards
    Ram Kumar

  • Confirm the production order - urgent

    Hi all,
    I'm trying to confirm the production order by operation wise, where in my production order qty & yield are same, even then the system is giving a WARNING message that "total confirmation qty not equal to planned confirmation qty"
    Please help,
    Thanks in advance

    Shaiz,
    In the  CO11n  screen there will be a button "Actual Data" press that,system will then propose the yield,set up,machine,labour etc(the values maintained in the routing),now compare whether the system proposed value & actual value are equal,they will be equal,if they are not then it can be due to following reasons
    In the earlier you might have confirmed some scrap/rework
    In CO11(old transaction in earlier versions) system will automatically suggest(copy) the values,There you wont find the "Actual Data" button
    Check n revert back
    Reward points if useful
    regards,
    SVP

  • Release the order on operation level

    Hi,
    Currently we are releasing the complete production order. But Now we want to release the order operation by operation. How can we do that?
    Regards
    deepak sharma

    Hi Deepak,
    I think that you have already realesed the order at header level and now you want to realese the production order at operation level. If this is correct,then follow step as below.
    1.Goto CO02
    2.Select Function,then Read PP master data.continue,enter & save. So status of order will be changed to created.
    3. Now follow the step given by SAP PP consultant.
    Hope this help you.
    Regards,
    Raja.

  • 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

  • BAPI for creation of Production Order with Ref to sales order

    Hi all,
    we are using BAPI_PRODORD_CREATE  for creating Production Order with ref to sales order.
    As per the Business Scenario, we are not creating any masters like BOM and Routing, instead
    we are creating Routing directly into the Production Order under operation overview screen.
    during creation of routing system is generating a default operation.
    the following is the error results after running the Bapi.
    "No routing selected"
    Best Regards.
    GTNRNR.

    Hi GTNRNR,
    with out creation of BOM you created routing and in routing for the operations which components did you allocated so that can be used to manufacture the final product. Can you be please specific?
    Regards,
    Madhu.G

  • BAPI or FM for Transaction CO02 (Production Order Change)

    Hi I have to change fields(CHARG,LGORT,RGEKZ,MENGE,EWAHR) in sap transaction (CO02-Change Production Order) in COMPONENT LEVEL
    Can anyone suggest one BAPI or FM for this.

    Hi Ravi
    Thanks for your Suggestion.
    I tried with BAPI <b>'BAPI_ALM_ORDER_MAINTAIN'</b>.
    It is updating in the transaction CO02 also.
    Actually it is using for Internal Orders.Can i use this one for <b>PRODUCTION ORDER</b> Also.
    Umashankar

  • Confirmation of  production orders with several operations

    Hello,
    I am  using transaction CO11 in order to perform  confirmation of Production orders that has 3  operations...
    with this transaction, I have to enter 3 times the transaction for each  operation...
    could you please tell me a transaction where I can make the confirmation  for all operations in one step ? ( a kind of screen where I can access all operations and manage  the hours and quantities before saving.)
    thanks and regards

    Dear,
    How many such orders would you come across everyday for the confirmation to happen?
    Does the operation sequence remain the same across all the orders?
    Then,i would like to suggest a method,Im not sure how it can be adopted to your scenario
    Try this!!
    We can  group all the production orders on daily basis or in shift basis in a EXCEL spreadsheet.
    Through a BDC,we can migrate the information on a daily basis to SAP.
    Regards,
    Joseph Charles vaikathussery

  • Confirmation of production order - stock not updated

    Dear all
    On confirmation of production order,all dependent requirements as per bom (stock available at storage locations) should get updated ( as I set back flushing for all material stocks at material master level). But, when i do mb31, final product stock is updated, and bom stocks not getting updated.
    what is the reason.please give solution

    Hi GB,
    Please analysise the following :
    1.COGI what is exact error u are getting.
    2.Did u check the following options
      1. In the routing, the backflush indicator is set in the component assignment.
    2. In the material master record, the backflush indicator has the characteristic "Always backflush".
    3. In the material master record, the backflush indicator has the characteristic "Work center decides", the indicator being set in the work center.
    Use
    3.MB31 is for GR of stock means it post the stock at FG storage loactication ok.
    4.If u need to update in BOM stock , u have to do it by MB1C/MB1A with movement type 262.
    5.Check the stock in MMBE whether u have maintained ornot.
    Please check all those anf come back.
    Regards
    Jia

  • FM for creation of production order creation

    Hi All,
    Can anyone tell me the BAPI for the production order creation.
    BAPI for creation of production order through CO01 transaction code.
    Thanks in advance
    Ramesh.

    Hi,
    Please check this FM CO_ZF_PRODUCTIONORDER_CREATE.
    Regards,
    Ferry Lianto

  • Overtime in Confirmation of Production order

    Hi
    Production dept want to enter both overtime FG Qty and overtime time in confirmation of production order.
    However, I see there isn't any fields where can enter these data. I just enter these data in Text. do I?
    Regards
    Henry

    Dear,
    There is no direct field available in the Confirmation Screen for recording Overtime Qty and time, but if it is required only for reporting purpose then you can try for some work around.
    If you are not using more than 3 standard values then customize 2 more standard values Overtime Qty and Overtime Hrs. Create them as Constants, include them in the standard value key and assign to the work center.
    Now when you do the confirmation in CO11n, you can enter the total quantity produced and Total production time in the standard fields for the normal flow to happen, in the Overtime Qty and time field record the overtime values for reporting purpose.
    Hope this helps.
    Thanks & Regards,
    Vijaya Bhaskar A

Maybe you are looking for

  • How to connect my camera on mac book?

    how to connect my camera on my mac book?

  • System Freezes in 10.4.9

    I have an eMac 1.25Ghz with 1GB RAM, running 10.4.9. It just started freezing lately, and it seems to be getting worse. The only way to restart is to hold the power button. I actually got it to freeze while the activity monitor was on, and no unsusal

  • How to move music to new HDD

    I added a new HDD on my Dell studio xps desktop.  I moved my itunes folder to the new drive.  Now when I start itunes it sets up a new itunes folder in the c: drive.  I went into advance and said the path is now on the k: drive.  But itunes doesn't s

  • One-time Reconciliation in Xellerate

    Hi, I read in the Connector Framework Guide that one-time reconciliation can be done with target systems to import all accounts into Xellerate. Then, Xellerate can be used to provision from there onwards. Currently, I've got trusted source reconcilia

  • How to send messages alternately to two MTA's?

    I would like to set up a constallation of a HA-iMS 5.1 and two Virusscanners working parallel but not clustered. How can I address those two MTA's (Virusscanners) alternatly or even randomly. Thanks in advance, Roberto