Process order activity confirmations

I have a requirement to write a program which automatically confirms the secondary resources in an opeation, for a specific AUFNR. The manual confirmation is done using COR6N.
I am fetching all the relevant fields from gt_phase parameter of the bapi bapi_procord_getdetail. Now I have to do the calculations of each standard values for activity types mentioned in the secondary resources. If the total quantity to be produced is 100 kg, and if the yield is 5 kg, then I am calculating 5% time for each activities mentioned there.
For viewing all the operations and secondary resources, the tcode is COR3.
Now my confusion is, how should I confirm these activitis. THere are two function modules, BAPI_PROCORDCONF_CREATE_TT and BAPI_PRODORDCONF_CREATE_TT. Which one is the right one? Also, how will I pass my calculated values for activities. If we are specifying the yield parameter there, do we need to do the calculation really? Please help me...

Function module documentation BAPI_PROCORDCONF_CREATE_TT is for Process Order.

Similar Messages

  • Process Order Partial confirmation (PNCF) and Final Confirmation

    Hi expert,
    I'm already running t-code COHVPI to mass processing process order so it status change from TECO to CLOSED. But there is an error message "process order partially confirmed". Is that true if process order must be final confirmed before it changed to CLOSED. Should we change the status of partial confirmed (PNCF) to Final confirmed (CNF) before process order CLOSED.
    Please give me a suggestion.
    Thank you.

    Correct. Final Confirmation is THE signal to the rest of the world that that this order is DONE (at least from the GR standpoint). This will also retire the order from the APO/SNP radar.

  • 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

  • COR6 - Process order confirmation Activity

    Dear All,
    I am doing process order activity confirmation in cor6. One of my activity is "power" unit is KWH ( Kilo watt hour). While confirmation system is not allowing me to take KWH unit of power. It is taking TO ( Ton which is the base unit of measurement) and getting the following error.
    " Alternative qty unit KWH can not be converted in to base unit TO"
    Please suggest me how to solve this issue.
    Thanks & Regards
    Kundan Kumar

    Dear Brahmaji,
    Thanks for your quick reply. In master recipe activity type is different from the resource. I think this is the reason for the same.
    can we change this activity type manually in master recipe?
    can we find out the last amendment date in master recipe & resource?
    pls let me know if we can find out the amendment date.
    Thanks & Regards
    Kundan Kumar

  • Confirmation number sequence in the process order

    Hi,
    When we create a process order , system assigns the confirmation no for each of the operation & these confirmation numbers are in sequence.
    In our case we have activity numbers in the recipe as 0010, 0020, 0030, 0040, 0050, 0060...... Subsequently we have inserted operations..now the sequence has become 0010, 0020, 0030, 0040, 0041, 0042, 0050, 0060...... Now when we create the process order, the confirmation numbers for operations 0041, 0042 comes after 0060. We have a development which has a pre-requisite that the sequence of confirmation no's should be as per sequence of operations.
    Any idea how to achieve the correct sequence of confirmation no's?
    regards,
    Mohit

    Dear Mohit,
    I have find the route cause BUT I Don't know how to fix it
    Based on Operation ID, system is creating a confirmation No
    Since you have created a operation 41 and 42,  System gives the operation ID next to 60
    Thats the reason system is giving the confirmation No after 60
    I don't know how To add operation ID in routing

  • Process order confirmation date

    Hi all,
    I am making a Zreport in PP along with the ABAPER for my client. In the report output there is one column named as "Actual finish date" which as the name suggests is the process order finished date for confirmation.
    For this I am using "GLTRIactual finish date" field from AFKO table. But in this table many of the process orders are showing the date as "00:00:0000" even though the process order is confirmed & in the order header some value for actual finish date field-GLTRI is there.
    When i see the same order in S021 the same field shows some date value.
    Since some ABAP coding is done I want to use only AFKO & not S021.
    Can any body help me to solve the problem of GLTRI not getting updated in AFKO.
    Regards,
    Manish Phatak

    Dear Vishal,
    Thanks for ur answer.
    I have already rewarded for the same.
    I will like to know that wheather it is only "closed" OR "TECO" will also update GLTRI in the table..
    Regards,
    Manish

  • Process Order Confirmation COR6N - By using Shift Management Functionality

    Hi,
    I want to confirm Operations/Phases by using T.Code COR6N.
    Here i want to identify which Shift i have done confirmation by using shift management functionality.
    It can be done for CORK. While doing Cofirmation for Order by using CORK, we can use this functionality.
    The same i want to use for COR6N.
    I have done as per following link
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0fa9a04-376a-2c10-c396-86d32ac80614
    Is there any option to use this functionality for COR6N ?
    Pl suggest
    Regards
    Nag
    Edited by: nag1975 on Mar 29, 2010 3:06 PM

    Hi Srinath,
    Go to T-code CO86 directly or go to SPRO> Production planning for process industries>process order--> operation>>confirmation and then hide the field for scrap by clicking the radio button. I think this should serve your purpose.
    Please let me know if you have any issues.
    Regards,
    Abhijeet

  • How to avoid actual cost error log while confirm production order activity

    Hi
    I dont want to post actual activity cost via production order activity confirmation. But i want standard value keys for my production duration purpose. So,i defined activites(strd value key) in work center without assigning cost center to that work center. While i confirm in CO11N, system throws erro log as Actual cost calculation contain errors and allows me to confirm the activities. I am doing MB31 and all CO settlement activities also. But when i try to close the order it says error log exists,so closing of order is not possible. How to overcome this problem as i dont want to capture any cost of activites via production order,but i want confirmation only for production analysis.

    Hi
    Issue is resolved thru PP forum. Thanks for ur reply.
    Solution lies in Control key of routing and BOM costing relevancy.

  • PLANNED AND ACTUAL COST IN A PROCESS ORDER

    From where the planned cost of material and activity types in cost itemizationafter creation flow ?From where the actual cost of a material and activity types in  cost analysis of process order after confirmation flow?

    You may be knowing you give Costing Variants ( Both actual as well as Planned ) in Order type. These Costing variants contains Valuation variants which says which costs are to be taken while creation ( for Planned Cost ) and Actual cost ( while confirming and Moving Goods) to be calculate. These Variants decides mode of Cost Flows.
    Now, Data in Planned costs are Standard Cost figures or Current prices for material or Planned Prices of Activities.
    As far as Actual costs are considered it may be the price for the consumed quantity @ the moving average price of the day or activity price for the qty. consumed which include up planned consumption too.....
    Reward if you find useful

  • Issue in Sales Order & Process Order interface

    Hi,
    Issue:
    In case of Assemble to Order scenario, Process order is created automatically when SO  is created.
    Process order will have Sales order number  under General data tab ( COR3)
    When sales order is  created with respect to Inquiry, Inquiry number is displayed in process order instead of Sales order number.
    Also when process order is confirmed, stocks are posted to Inquiry number stock i.e in MMBE Inquiry number is displayed against stock ( sales order stock)
    since stock are not posted to sales order stock, schedule line is not confirmed.
    As a result sales order cannot be delivered.
    Query
    1) please let me know the customizing settings  done for automatic creation of process order WRT sales order( Both SD and PP if possible)
    2) Customizing setting which controls the sales order field in Process order. so that stocks are posted to sales order stocks and not Inquiry or Qutation stock even if they are present.

    Where you checking these details.Are you seeing the print preview If yes then it seems the changes not captured into print preview.Check with your ABAPer why system is not getting right weights.

  • Process Order cannot be reversed

    Hi PP Gurus,
    When reversing process order for confirmed scrap quantity using tcode CORS.
    System will prompt an error message. Please advice if confirmed operation scrap quantity
    for process order can be reverse?
    Thanks,
    Sodacracker
    Edited by: sodacracker on Jul 7, 2010 12:44 AM
    Edited by: sodacracker on Jul 7, 2010 1:11 AM

    Dear
    Confirmation Reversal through CORS - is cancellation .If the process order was designed for Backflushing and Auto GR, then the reversal of all goods movment also happens when canelling confirmation.
    But what sort of erro mesge are you getting ? Are u getting any period issue or scrap reversal ? Did u try in MBST ?
    Come back with exct error messeg for farther analysis
    Regards
    JH

  • Process order - Status

    Hi All,
    When one process order is confirmed, It has a status of PCNF.
    Now the  problem is that I am not able to identify which process order has the status of PCNF.
    There is a table AFRU in which I can fetch the Confirmed(CNF)  process orders through the field criteria AEURU = 'X'.
    Please tell me how to fetch  the partial confirmed orders.
    Please help me out.
    Eagerly waiting for reply.
    Thanks & regards,
    Guru Dutt.

    u have to get it from AFRU itself
    <b>aueru = ' ' (space) -> partial confirmation</b>, if u want to know the status then u have to use FM
    STATUS_READ
    Re: Plant Maintenance
    Regards
    Prabhu

  • Planned cost for process order

    Can we see the planned order cost of a process order before confirmation?If can how is it done?

    Hi,
    To see the planned cost of order before cofirmation,
    COR2-> Goto-> cost-> Itemization.
    Regards
    Pradeep

  • Process Order Costing

    Hi Guru's,
                 I am having problem that when my process order gets confirmed the values of production are not updated in the cost center, what i done wrong, pls provide me solution.
    Thanks & Regards,
    Karad D D

    Pls help me in this

Maybe you are looking for

  • WRT54G v6 blinking power light after update

    After performing an update for my WRT54G v6 to version 1.02.6 the power LED blinks fast. DMZ is off.  All the others act normally, on when connected. I have looked in the fourms here, and online, and tried many things, all failed. Pinging the router

  • UNCHECK BATCH MANAGEMENT INDICATOR

    Hello all, I cannot find an appropriate Note onto OSS to solve this issue and hope you could provide some ideas over it. By error on initial upload we've flagged the 'batch-mgmnt' box (MARC-XCHAR) for few materials on period 12-06.  These materials h

  • SRM and Payment gateway

    Dear Friends,    I had been trying to integrate ICICI payment gateway with SRM 5.0. They are in two different boxes.    What have been done uptill now:-    1. Button on template SAPLBBP_QUOT_UI_ITS_300. On click it connects to ICICI gateway (which is

  • Black screen when opening a jpg file

    Dear all, When opening a jpg file with Quicktime Pro, I get a black screen of the dimensions of the picture instead of the picture itself. Any idea how to fix this ? Thanks ! Laurent

  • 404 page not found error without specifying port 8080 tomcat

    Hello, We experienced an unexpected tomcat down, after restarting it no page is found if 8080 port isn�t specified, in the past it wasn�t needed. What could be causing that behavior? I went to the server.xml file and everything is in order:     <!--