ConfirmDelete producing random process order!

I have a confirmDelete* in an Interactive Report. The target is the same page. When user clicks Ok, REQUEST = 'ABC'. There is an After Submit Processes, P1, which run when REQUEST = 'ABC'. There is also a Before Header unconditionnal process, P2, and an After Header unconditionnal process, P3.
The problem is, when user click and select "Ok", the processes are executed in somewhat random order. It can be P1-P2-P3, which is ok, but also P2-P3-P1 or P2-P1-P3. So, it appears that P3 is always done after P2, but P1 (the After Submit process), is randomly executed.
Whether I use Internet Explorer (6.0) or Firefox (3.0.10), the problem is the same.
I'm guessing it's something related to confirmDelete because I created a button which Button Name is 'ABC' and when I click on it, and select 'Ok', processes are always executed in the right order, i.e. P1-P2-P3.
Is that a known bug? Is there something I can do about it? I was hoping to fix it by targetting another page, that one only having a branch to the first page, but, that's not working...
*onclick = "javascript:confirmDelete('Bla, bla, bla?','ABC')"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

There is something else...
When I was using "Page in this application" instead of "URL" as Target, I was setting an Item with a value of the report (the chart below "Request" in "Column Link"). Could you tell me how may I set an item with a value in the URL box (including the ConfirmDelete info)?
Or, how can I merge these two?
javascript:confirmDelete('Voulez-vous vraiment supprimer cette règle', 'SUPPRESSION_1')
AND
f?p=&APP_ID.:10:&SESSION.::&DEBUG.::P10_ID_CC_REGLE:#ID_CC_REGLE#

Similar Messages

  • Process Order number as batch number for produced materiai

    Hi gurus
    Is it possible in SAP to automatically set the process order number as the batch number for an semi finished good or finished good? Is there a config like that in SAP?
    Thanks

    Hi,
    Refer this [link|http://help.sap.com/saphelp_46b/helpdata/fr/e9/c6f9bdaa28d3119b440060b0671acc/content.htm]
    you have to use EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 in the case were you want to Copying the production order number to the batch number.
    Regards,
    Dhaval

  • 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

  • Produce one planned order in more resources at same time

    Dear Experts,
    My client uses PP-PI and he has a requirement for a line that he has 4 resources to do the same operation. We are using a class 019 to plan the resources as alternative resources, but he also wants in some cases to produce the same process order in more than one resource at the same time.
    How can I produce the same process order in more resources and do not split the order?
    Thanks in antecipate
    Thiago Cyrillo

    In the case of some special case, you could add some operation to the process order , assign it to the different resource and link the phases of these operations as parallel. You should also enter the operation quantity, this is the way that splitting takes place.
    Regards

  • Cost error message at the point of saving a Process Order

    Dear Experts,
    Raw Materials R458 and R467 are processed to produce semifinished material S229
    While creating a Process Order for material S229, at the point of saving the process order I get the following error messages:
    1 No cost element segment exists for 21501000 on 07.07.2011
    2 Cost Element Group 2950 does not exist
    At the point of saving, cost gets calculated by the system.
    Which account(s) is this cost posted to?
    Is it the ''Offsetting entry for inventory posting'' account  of the Raw materials R458 and R467? or
    Is it the ''Offsetting entry for inventory posting'' account  of the Semi material S229? or
    Is it the Cost Center to which the Resource is assigned to?
    How can I view this calculated cost value within the particular account?

    Hi,
    1. For error No cost element segment exists for 21501000 on 07.07.2011
    Can you check whether you have maintained valuation type in the accounting tab? Also have you maintained costing tab? If you have maintained then go to OBYC that is in GBB with account key VBR GL may have not maintained. Ask your FICO guy to check this.
    2. For error Cost Element Group 2950 does not exist
    Go to below link
    Cost element group does not exist. S_ALR_87013620 report
    Regards / US

  • Partial reversal of a goods receipt from process order

    Dear All
    Could anyone please help me with explaining how to do a partial reversal of a goods receipt from process order? If Iu2019m using trans CORS I have to cancel the entire operation, which I donu2019t want to do. If Iu2019m using MIGO and MT 102 I only reverse the goods receipts of the produced material, the corresponding components from the BoM is not reversed with MT 262 as they are if I cancel with CORS, and I donu2019t want to do a second MIGO transaction in which I cancel the components with MT 261. I have also tried to create an operation with a negative quantity, but without any success.
    Itu2019s not an option for the business to reverse the entire quantity and then perform a new goods receipt with the right quantity.

    Hi again,
    I have been trying to do the reversal with CORR but Iu2019m getting the error message u201CMixed confirmation types (time ticket/time event) are not allowedu201D, message number RU179.
    Anyone who can help me on the way?
    /WM consultant on unknown territory

  • Goods receipt from process Order, different plants same warehouse

    Hi All,
    Would really apreciate guidence on my issue below.
    We plane to implement the following Org Structure:
    Plant A                 Plant B
        Warehouse 0001
    warehouse 001 shared by both plants
    I execute a process order in plant A, when I perform Goods Receipt against the process order will it show under Plant A or both Plants A & B.
    Plant A executes for Plant B as Plant B is new and all master data is set up in Plant A.
    My hope is to get the business to execute Plant B process orders in Plant B but this will require huge effort I think as masetr data will need changing etc.
    Thanks
    Stuart

    Hi,
    If you post GR in Plant - A, then the stocks in the warehouse will reflect for Plant - A & not in Plant - B.
    Although the warehouse is the same, it is linked to the combination of Plant & Storage location. You can check the warehouse stocks using LS26, just specify the warehouse number & material number.
    But there is also a concept of planning plant & production plant, so Plant A can be where the planning takes place, while Plant B is where the actual production takes place. In this case, although you produce in Plant B, the GR will be done in Plant A.
    Hope the above clarifies.
    Regards,
    Vivek

  • Final Delivery indicator in Goods Receipt tab in Process Order

    Hello Friends,
    I have one doubt, thought to discuss with you.Whats the importance of Final delivery indicator in Process order.I know that if any further goods receipt is not accepted against the order than we should tick this indicator,because of which system sets the DLV status at order header level or if goods receipt qty against the order is equal to order qty than system automatically sets this indicator.
    when we do the settlement of order than system looks either for TECO or DLV status of order , if its find  there than system consider such orders for settlement.
    Now my question is suppose i have done the Goods Receipt against the order less than the order qty, than system will set the PDLV Status against that order.Now no further goods receipt is  expected against that order.Now i haven't set the Final delivery indicator in goods receipt tab in process order.But i have technically completed the order,because of which system has set the TECO status against that order.
    Will system allow me to settle such order?and viceversa, if order has DLV status at header level and no TECO status, than system will allow to settle such order?If yes than whats the other use of Final Delivery indicator in process order?Is it important to set that indicator from settlement point of view only?
    As far as i know, system allows us to do,but on this issue i have got different answers from different person.So bit confused.
    Thanks and Regards,
    Jitendra Chauhan
    Edited by: jitendra chauhan on May 8, 2009 8:42 AM

    Dear,
    Will system allow me to settle such order?and viceversa, if order has DLV status at header level and no TECO status, than system will allow to settle such order?
    Yes
    If yes than whats the other use of Final Delivery indicator in process order?Is it important to set that indicator from settlement point of view only?
    You need to Final confirm (CNF) the Order to get the DLV Status.
    Or if the Delivery completed indicator is set in the Process Order, then also th System status will be DLV
    If your order quantity10 and you produced 10 quantity it means that order is fully deliver  then Final delivery will automatically be set.
    The "delivery completed" indicator has the following effects:
    o The item is regarded as closed, even if the total quantity was not delivered.
    o A further delivery is not expected, may, however, arrive.
    If status is DLV then it cannot be a WIP stage where the the good are posted to stock and production is completed
    Please refer this thread fro DLV and TECO,
    Re: order settlement
    Regards,
    R.Brahmankar

  • Pallet Label print after TO of Goods receipt of process Order

    Hello,
    After the GR of Process Order I need to prin tthe Pallet label through Transfer Order.
    Example .. CH-6200 ( SKU Product ) is produce 60 kg.. after process Order..
    The output of the process order is nothing but the 6 can each of 10 kg. 
    Now My pallet limitation is 2 can per pallet which I have maintained in the Material master ( Warehouse Management View 2: 2 can per pallet)
    Not I want to prin the the pallet label i.e. during TO ....number of label is going to print are 3.. ( 2 can per pallet) .
    Can anyone suggest me is there nany standard form for Pallet Label print in WM.
    Thanks
    Vaibhva BAnsod

    Hi again,
    I have been trying to do the reversal with CORR but Iu2019m getting the error message u201CMixed confirmation types (time ticket/time event) are not allowedu201D, message number RU179.
    Anyone who can help me on the way?
    /WM consultant on unknown territory

  • Not to update Goods receipt on process order in LIMS system

    Dear all,
    I am working on SAP-LIMS interface project.
    Please help me out with the below requriement:
    Release of process order (COR1) in SAP creates lot creation in LIMS (creates an inspection lot in QIWL table which is read by LIMS system to download data from SAP to LIMS).
    When we do goods receipt (MB31) against the process order, currently it updates same inspection lot in QIWL table to send the same record for LIMS system again.
    We have a requirement not to update on Goods Receipt to LIMS system.
    Please let me know if there are any user-exits/BADIs for the same.
    I know that goods receipt MB31 runs the FM MB_POST_DOCUMENT in background.
    Please let me know if somebody has worked on this requirement.
    P.S. - We need the functionality of updating goods receipt on purchase order in LIMS.
    Thanks,
    Sachin

    Hi,
    If you post GR in Plant - A, then the stocks in the warehouse will reflect for Plant - A & not in Plant - B.
    Although the warehouse is the same, it is linked to the combination of Plant & Storage location. You can check the warehouse stocks using LS26, just specify the warehouse number & material number.
    But there is also a concept of planning plant & production plant, so Plant A can be where the planning takes place, while Plant B is where the actual production takes place. In this case, although you produce in Plant B, the GR will be done in Plant A.
    Hope the above clarifies.
    Regards,
    Vivek

  • Missing stock during Process Order creation

    Hello Masters.
    I'm facing a new problem here in my client.
    Thats the situation:
    We are trying to generate a subcontracting process order to delivery a semi finished material to a supplier in order to be packed. We already have a contract with this ssupplier, its been saved as a supplier, we already did this operation with him more than once.
    The question is that during the process to create the process order, system is giving us a message that there is no enough stock off semi finished material to be send to the supplier.  (it comes a message that is missing a small quantity to fiill the right amout we want to send to the 3rd party - something around 1,5% of the total amount)
    But if we go to MMBE we can see the same amount of stock we want to delivery to the supplier in free utilization.
    Besides we are using here WM we didn't see any difference that could give us the error.
    In QM inspection batch all the amount were released (321 movement) no sample quantity was taking/retained.
    The most insteresting part is the we did the same operation for the next batch of the same semi-finished material. I mean for the batch produced yesterday (monday may 9th) we already sent to the 3rd party for packing but for the batch from last friday, we are facing the issue.
    In this case we have the same kind of process order, same 3rd party, same materials, same process a so on.
    Please could you give me an idea where should I look for a solution.
    Thanks in advance.
    Harlen

    Hello Vivek thanks for your anwer.
    However, Ive talked to a QM consultant and presented the issue for him. He told me to use a SAP program QEVAC20 ( notes  48815 and 717622 ) to check possible inconsistences  between QM and IM stock.
    So We will try to use this report to check if there is an issue. Have you used this program before? Do you think it should help us?
    Due to the process to create the process order, there is no issue, no issue with batch number or inspection lot. The error message comes when we try to select the batch number of semi finished material in COR1 tcode.
    The message complains theat is missing a small quantity of the batch.
    Tks,
    Harlen

  • Need to show data related to Process order request , BOM in a smart form

    Hi,
    I need to show data related to
    •     Process order request
    •     BoM
    Now in selection screen we are entering the followings.
    Manufacturing  Plant ,MRP Controller, Production scheduler, Order type , Order , Material, Sales order, WBS Element,Release,Scheduled start, Scheduled finish ,Selection profile.
    how to get 1> Process Order number,Produced Material,Material Description,Print date,Narcotics indicator , Quantity produced , Phase number , Phase description ,Resource description,Standard value  to show in a request form.
      2> Item category ,Component code,Component description , Component quantity ,Component Unit of measure ,BoM base quantity.
    Please help me how to get those values , what should be the aaproach , how to write the select quiry.
    Thanks

    Hi
    To get BOM details, do the following:
    1. Use the material number and goto Article to BOM link table (MAST) to get STLNR (BOM).
    2. With this STLNR, goto STPO table (where STLNR is the key field).  Here you will get all the BOM details like components (IDNRK), UoM (MEINS) etc....
    Hope this helps.
    THanks
    Vijay
    <b>PLZ REWARD POINTS IF HELPFUL</b>

  • Changing material number when Process Order is released

    Hello,
    We have a scenario in which the material number of a process order may need to be changed after the process order is released.  We will have both in process and post production inspection types assigned to this order, and both inspection lots are created at process order release.  We also will have a batch number created at process order release. 
    When recording test results in the inspection lot before a process order has been confirmed, the users may identify that the material number should be different.  We would like a way to be able to either change the material number in the process order (and inspection lots).  We know this involves a lot of updates (master data changes to the existing process order and inspection lots).  Currently, there is no way to transfer information to a new material number without receiving product in and performing a usage decision in the post production inspection lot to transfer to a new material number. 
    The client has implemented all modules, except PP (which we are in the process of now).  We know that Variant Configuration would have been the right solution for this, but this is not an option since MM is already implemented. 
    If you have any suggestions, please reply. 
    Thanks in advance.

    Hi Prasobh,
    The exact scenario is as follows:
    1. A semi finished good will be used as a component to produce the finished good.
    2. This semi finished good will have treatments added to it, and quality inspection will be performed as treatments are added. 
    3. Inspections will occur several times as treatments are added.  If during one of these inspections, material is out of spec, and the blend should be transferred to another material number, we need to be able to change to another material number.  To have a customization where material number is changed in all of the relevant PP and QM tables seems risky. 
    This is why we can't really use material classification.  We also do not have the option to use VC bc the MM module is already implemented. 
    Thanks.

  • Problem with process order settlement

    Hi,
    I'm having a problem while doing settlment for process orders. I have two types of process orders AJWV and AJW0; AJWV works for center 2000 and AJW0 works for center 1000. When I calculate variances both work good. The problem comes when I try to settle them. For AJWV orders there are three finance documents generated, FI document, Controlling document and Profit Center document. But for AJW0 it's just generated Controlling document and Profit Center document.
    Both order types have the same settlement profile assinged
    The settlement rule for both orders is to Cost Center, full settlement 100%
    Both orders are produced for Sales order with valuated stock
    I already checked the account assigment for the materials corresponding to each order, and both account determination are ok.
    What can be the problem so the AJW0 is not posting to FI variances?
    Thanks

    Hi,
    Yes for AJWV the FI entry was generated.

Maybe you are looking for