Problem in saving production order confirmations

Hi,
  I'm trying to save the production order in SAP using xMII and BAPI_PROCORDCONF_CREATE_HDR.
I'm getting a message which says that confirmations are saved, but it is not reflected in SAP.
Please help me regarding it.
Thanks

Hi,
   see the SAP note # 744403. Here it says that if we are updating SAP using BAPIs/RFCs... then we need to commit the BAPI.
In normal scenarios, we call this BAPI
BAPI_TRANSACTION_COMMIT
but in xMII, we have an option in JCO block which says "auto commit this transaction". Check this option.This will do the same thing. and data will be reflected in SAP
Hope it helps.
Regards,
Musarrat

Similar Messages

  • Production order confirmation thru IDoc , IDoc has been processed twice

    Hi Experts,
    Good day.
    I have a problem with my Production orders confirmation using IDoc automatic processing.
    I have an IDoc that has successfully confirmed a Production order, the Idoc has a status of 53.
    However, after a month, the Idoc has been used again on a different Production order confirmation, and the IDoc resulted again to status 53.
    Could you kindly confirm if this a SAP standard behavior or an error? If this is an error, is there any available SAP notes that I can use.
    Here is the spec of our system:
    ECC 5.00 - SP SAPKH50015
    Please kindly provide us your idea on this.
    Thank you very much.
    Kind regards,
    Rosalinda Ines Aben
    PP Support

    Hi Rosalinda, i have the same problem. You found some solution ?
    Thanks a lot !!!.
    Federico Cicerchia

  • Production Order Confirmation saved but no goods movement happening

    Hi Folks,
    I have implemented an enhancement while Production Order Confirmation ( txn CO11N). The enhancment works as follow:
    I have a production order with quantiy 2. Now I am making confirmation for quantity 1. In the enhancement, i have used a BAPI called BAPI_PRODORD_CREATE_FROM_REF to create another production order with the remaining quantity 1.
    As of now everything works fine and a new prod order is created with quantity 1.
    Now, I release this newly created prod order and make GR for the same. The problem here is, now when I try to confirm this newly created prod order ( txn CO11N), the confimation is saved but the goods movement does not happen. I get a message saying " Confirmation saved (Goods movement 0, failed 1) ".
    The original order is of type PP01 and everything works fine for it. The newly created order is of type ZRWK (rework) and for this only confimation is saved but no goods movement.
    Request you to please suggest how can I remove this error and make goods movement as that of for the original order.
    Thank you.
    Regards,
    Sud.

    Hi
    Check if you have something in the tcode COGI. Perhaps you don't have enough stock of raw materials
    Regards
    Eduardo

  • Production order confirmation problems

    My production facility has been having problems for years centered around the production order confirmation process.  My colleagues and I are considering submitting an OSS note to SAP, but figured that we should present our problems in these forums before making that next step.
    Here are some individual issues which I believe may be related.  All of these issues occur off and on at random.  They will typically occur when more users are working in the SAP system or when SAP is running slow.
    - When an order is confirmed and a label is printed, sometimes the quantity on the label will be incorrect.  Sometimes no label will print out at all.  When the order is unconfirmed and then reconfirmed again, a label prints out with the correct quantity.
    - When a confirmation is unconfirmed, the unconfirmation will not backflush the associated materials correctly.  Sometimes this error will appear in CO1P for us to re-confirm, but not always.
    - Sometimes confirmations will only backflush certain materials and not ALL the components within the production order.  When the confirmation is unconfirmed and then reconfirmed again, the confirmation will backflush all materials correctly.
    These problems occur at random intervals and never present the user with an error.  Close to 100% of the time all the confirmation issues will be corrected by simply u201Cre-doingu201D the confirmation as we did the first time (no changes in the process).  Only the second time around there will not be any issues.  This leads me to believe there is some internal issue with SAP, perhaps involving which tables CO11N pulls from when a confirmation is made.
    Any and all help is appreciated.  We currently run the AFS version of SAP.  This is my last stop before submitting an OSS note.

    Hi,
    I have not worked on AFS, so consider the below as a pointer which might help:
    When you post confirmations & notice that the components are not being backflushed, check in COGI it could be that there are some incorrect goods movement. You will be required to clear these entries from COGI.
    I suspect that you notice these because, the confirmations are being posted even before the stock for the same has been received & hence the issue with labels as well.
    Do a check on the above, if it resolves the issue, then i would suggest re-design the process to ensure you do not have COGI or COFC entries.
    Also do a search in OSS for AFS specific notes on confirmation.
    Hope it helps.
    Regards,
    Vivek

  • Production Order Confirm/Label Printing problems

    I am currently having issues printing out labels for production orders.  Whenever I confirm an order, our printer will print out a different quantity or no label at all.  
    Here is a brief history of production order confirmations today....
    Entered                Printed
    80                           40 (2 labels of 20)
    20                           No Print
    20                           No Print
    40                           No Print
    ALL confirmations were accepted by SAP
    SAP WILL often drag during a normal confirmation when correct labels are printed
    SAP will NOT drag when a confirmation is entered and no labels are printed
    Yesterday I had a confirmation for 10 print out a label for 19.  All of the quantities in SAP are correct, it's only the printer that is creating labels for different quantities.  If all the lot sizes in SAP are correct, what do you think the issue might be?

    Hi,
    Based on what i understand of your query, would suggest to work with your technical person to have a look at the print program. The delay you notice or the incorrect data being printed might have to do with the program.
    Regards,
    Vivek

  • Production order confirmation detail problem

    Hi,
    how can i get the production order confirmation detail by sending confirmation mumber alone?
    in BAPI_PRODORDCONF_GETDETAIL, it need confirmation counter. but if i know confirmation number alone, how can i get the details? which BAPI shall i use to get the confirmation details by sending confirmation number alone?
    regards
    senthil

    Dear Senthil,
    I saw you already solved this thread.
    call function 'BAPI_PRODORDCONF_GETDETAIL'
          exporting
            confirmation              = conf_detail_2-conf_no
            confirmationcounter       = conf_detail_2-conf_cnt
         importing
         RETURN                    = i_return2
           conf_detail               = conf_detail_3 .
    In this FM there has no any tables.
    How can I get the details?
    Could you please advice me?
    Thanks in advance.
    Bishnu
    18/10/2011

  • URGENT: Prob with Production Order Confirmation

    Hi Gurus,
    I have a problem with Production Order Confirmation.
    When I am confirming a Prod Order and if the components present are more than '999', then error is being thrown and Material Document Number is not being created.
    I want to split the records into 500 slots and pass them at a time for the creation of the Production Order so that it doesnt throw me an error while creating a Material Document No.
    While saving the Production Order confirmation order, it should split the records into 500 slots each and then create Material Document No for each slot.
    Can anyone please help me out in this regard, how to solve this.
    Thanks & Regards,
    Harish Kalla

    Hi Harish,
    This problem is addressed in OSS Note : 36353
    The Symptom reads like this
    ==========================================================================
    When you post documents using the AC interface (from SD, MM or other applications), items appear in the FI document which are identical in all or in almost all fields.
    This can also cause error message F5 727 ("Maximum number of items in FI reached"). The system issues this error if more than 999 items occur in an FI document.
    ===========================================================================
    This Note is an elaborate one..
    Hence, go through this and ask your FI Consultant to help you in this regard.
    All the best..
    Regards,
    Siva

  • Base unit of measurement while saving production order

    Hi
    While saving production order I am getting following problems:
    "Material has no base unit of measure"
    Whereas UOM is there, I also can see that as soon as I  enter qty while creating the order. System automatically prompts the UOM.
    I also donot find any problem in MRP run, planned order creation etc
    So what can be the problem?
    Edited by: BNR on Nov 24, 2008 5:22 AM

    Dear,
    It may be data base problem as you are getting this problem fequently so please check with Basis person.
    Have you defined the any production unit in both material master WS view & in routing or any other alternative unit of measurement please check?
    Regards,
    R.Brahmankar

  • Production Order Confirmation- User Exit

    Hi guys,
    I am working on File to IDOC scenario interface in SAP XI/PI.
    Here before posting a confirmation IDOC into SAP.. validations or data checks required for Order Number ,Order status, size grid, std text key and work centre.
    and this can be achieved using some USEREXIT..I have found the USEREXIT as PPCO0001 with the help of an ABAPer
    Could someone help me whether it is the right one if not what could be the other one and the steps involved in implementing it
    Thanks
    Sahil

    Hi Sahil,
    You should be using PPCO0007  Exit when saving production order.
    Check with your ABAPer once again.
    Regards
    Abhii
    Edited by: Abhii on Sep 14, 2010 11:28 AM

  • Error during Production Order Confirmation mfbf ( backflush)

    in my company in sap when i using mfbf for production Order confirmation of tractor then during backflush using mfbf tcode order confirm but in my store dept no metiral cunsume  so please regards this problem
    with warm regards
    pritpal singh

    Dear Pritpal,
    sorry dear,today i cant check  my inbox immediately. Anyway my mail id is [email protected]
    have checked as per my previous post.
    regards
    pradeep

  • Production order confirmation document

    Hi All,
    After carrying out production order confirmation, material document generated is not displayed at the front end.Instead we get messege that "confirmation of order XXX is saved".We have to view that in MB51/COOIS .
    How to display confirmation material document number ( Not confirmation number ) in the front endscreen. This is required as user can write down document number at the time of confirmation for his record.
    Whether there is any option?
    Regards,
    Milind.

    Hi,
    Do the below given settings to print your confirmation document after you confirm the production order.
    Go to OPJ8, check on print confirmation.
    Now you do the confirmation. You will get the confirmation slips.
    Thanks
    Muthu

  • GR qty showing less than production order confirmation qty

    Hello Experts,
    Greetings.
    My issue is while doing production order confirmation(CO12),for some materials it shows less GR quantity than the confirmation qty.I m wondering how it can be possible?
    What could be the problem?
    Plz advice.
    Thanks
    Nitin

    Confirmed qty of each operation and delivery qty at the header are two different fields.   Confirmed qty will be the same with the yield to conf. during confirmation.  Whereas, the GR qty is equal to the total sum of quantity received from the order. 
    Check whether during confirmation you create auto GR or not.  If yes, then check the COGI t-code.  There might be some error log of goods receipt in there.  If no, then check GR qty in document goods movement compared to confirmed qty during confirmation.
    Hope it helps.

  • Checks in userexits of production order confirmations from PDC in CO16N

    Hi,
    we are using PDC interface for production order confirmations. This is done by Idoc type PPCC2PRETTICKET01 (time ticket) based on BAPI BAPI_PRODORDCONF_PDC_UPLOAD_TT. Standard confirmations are working well. In case of SAP detected errors the confirmations are registered for error handling in CO16N.
    So far so good but we have some own check logic implemented in confirmation user exit CONFPP04 and BADI WORKORDER_CONFIRM. These checks are working fine whith online confirmations in CO11N but not in background PDC Idoc processing. I checked the function module EXIT_SAPLCORF_104 for exit CONFPP04 but it has got no exception. The call in SAP processing is like this:
          CALL CUSTOMER-FUNCTION '104'
               EXPORTING
                    CAUFVD_IMP    = I_CAUFVD
                    AFVGD_IMP     = I_AFVGD
                    AFRUD_IMP     = E_AFRUD
               IMPORTING
                    AFRUD_EXP     = LS_AFRUD
               EXCEPTIONS
                    ERROR_MESSAGE = 01
                    OTHERS        = 02.
      CASE SY-SUBRC.
        WHEN 0.
        WHEN 1.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH
                  SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
                  RAISING CONF_DATA_FALSE.
        WHEN 2.
          MESSAGE E174 RAISING CONF_DATA_FALSE.
    How can I throw the exception when there is no exception defined in the function module interface without modification?
    As 2. option I wonder if it is better to implement the check logic in the BADI WORKORDER_CONFIRM Method AT_SAVE. This has got an exception ERROR_WITH_MESSAGE. But I don't know if this will lead to CO16N registration of the confirmation.
    Any hint how I can solve the problem to apply the online checks in CO11N also to PDC interface confirmations with CO16N in error case?

    Hi Michael,
    First, I think that the BAPI that you are looking for is: BAPI_PRODORDCONF_CREATE_HDR
    Second,
    I don't think that in the framework of such a forum it can be explained in detail how to use BAPIs; nevertheless, here are some highlights:
    A BAPI is an executable piece of code that can be called from either an external program within SAP (Z program), or called from an external system either via RFC, or as a web service (depends on your NetWeaver  release).
    As such, it has input (import) data that you transfer when you call it, and output (export) data that you recieve when it ended processing.
    More detailed information, documentation, and a description of the import/export parameters, as well as error handling, one can find in SAP by calling transaction BAPI.
    Regards,
    Mario

  • User Exit for Production Order confirmation with CO15

    Hi All,
    what User Exit I should use when validating batch when we do Production Order confirmation with CO15.
    Not when we create or release a Production Order.
    Will reward,
    mindaugas
    Edited by: Mindaugas Kazlauskas on Jan 30, 2008 5:03 PM

    Hi
    The Follwing Userexits available:
        Transaction Code - CO15                     Enter Production order Confirmation
    Enhancement/ Business Add-in            Description
    Enhancement
    CONFPP01                             
      PP order conf.: Determine customer specific default values
    CONFPP02                               
      PP order conf.: Customer specific input checks 1
    CONFPP03                              
       PP order conf.: Cust. specific check after op. selection
    CONFPP04                             
        PP order conf.: Customer specific input checks 2
    CONFPP05                               
       PP order conf.: Customer specific enhancements when saving
    CONFPP06                               
       PP Order Confirmations: Actual Data Transfer
    CONFPP07                               
       Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                              
       PS confirmation: Determine customer specific default values
    CONFPS02                               
      PS confirmation: Customer specific input checks 1
    CONFPS03                             
        PS confirmation: Customer specific check after op. selection
    CONFPS04                              
       PS confirmation: Customer specific input checks 2
    CONFPS05                              
       PS confirmation: Customer specific enhancements when saving
    CONF0001                               
      Enhancements in order confirmation
    CONFPI01                              
       Process order conf.: Calculate cust.specific default values
    CONFPI02                               
       Process order confirmation: Customer spec. input checks 1
    CONFPI03                              
       Process order conf.: Cust. spec. check after op. selection
    CONFPI04                               
       Process order conf.: Customer specific input checks 2
    CONFPI05                              
       Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                              
      Process order confirmation: Actual data transfer
    CONFPM01                             
        PM/SM order conf.: Determine cust. specific default values
    CONFPM02                             
        PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                               
    PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                              
       PM/SM order conf.: Customer specific input check 2
    CONFPM05                              
       PM/SM order conf.: Cust. specific enhancements when saving
    If it is helpful rewards points.
    Regards
    Pratp.M

  • User Exit For Production Order Confirmation Using CO15 or COGI

    Hi all,
    I need user exit for the production order confirmation so that i can set
    AFPO-ELIKZ and AUFM-ELIKZ (delivery completedu2019 status flag) to Blank......
    Thanks

    hi,
    check these exits.
    CONFPP01                                PP order conf.: Determine customer specific default values
    CONFPP02                                PP order conf.: Customer specific input checks 1
    CONFPP03                                PP order conf.: Cust. specific check after op. selection
    CONFPP04                                PP order conf.: Customer specific input checks 2
    CONFPP05                                PP order conf.: Customer specific enhancements when saving
    CONFPP06                                PP Order Confirmations: Actual Data Transfer
    CONFPP07                                Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                                PS confirmation: Determine customer specific default values
    CONFPS02                                PS confirmation: Customer specific input checks 1
    CONFPS03                                PS confirmation: Customer specific check after op. selection
    CONFPS04                                PS confirmation: Customer specific input checks 2
    CONFPS05                                PS confirmation: Customer specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    CONFPI01                                Process order conf.: Calculate cust.specific default values
    CONFPI02                                Process order confirmation: Customer spec. input checks 1
    CONFPI03                                Process order conf.: Cust. spec. check after op. selection
    CONFPI04                                Process order conf.: Customer specific input checks 2
    CONFPI05                                Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                                Process order confirmation: Actual data transfer
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    use the exit which contains both structures AFPO,AUFM.

Maybe you are looking for