Releasing production order automatically on clicking approve tab

Hi ,
I am working on workflows for production order and my scenario is when new production order will create then  workflow will send mail to approver containing link to execute workitem. when approver clicks on that link then it will login into SAP and show that very workitem with approve and reject tabs. till now everything is working fine but my user wants when approver clicks on approve tab then that production order will automatically be released as he dont want to go into co02 for manual release.
Please suggest me how can this be possible as its urgent.
points will be rewarded.
Thanks,
Rahul

First you check the standard BOR object type to see if it has a method for releasing the production order, and if one is found you use it in a step in your workflow.
If the standard BOR object type does not have a method for releasing the production order, you have to extend it in a subtype with a custom method for releasing the production order. If you have an existing subtype you can just add a new method, otherwise you must first create a new object type as a subtype of the SAP standard object type, and then add your custom method for releasing the production order. You can delegate the standard object type to your subtype so you can call the new method directly from the standard object type, or add a step which will create an object of your subtype before the step that uses your custom method. Don't forget to set the status of the object type and method to implemented (or released).

Similar Messages

  • Releasing production order using workflows from outlook.

    Hi  ,
    i am working on workflows and my scenario is whenever production order creates it will send mail to approver in his/her outlook. And approver will approve/reject from outlook only by just clicking on approve or reject tab.
    As of now mail is coming from SAP to outlook but the problem is how to release production order by just clicking on approve or reject tab in mail.
    please help on this its urgent.
    point will be awarded.
    Edited by: Rahul Bhasin on Dec 27, 2007 7:00 AM

    Hi satish,
    Thanks for ur reply first .
    as u told me create an event for relaesing production order , but as per my knowledge event are somethings that gets trigger at some point like creation , deletion. with events one cannot process things those are only for alerts so please confirm the same and how to process it.
    Thanks,
    Rahul

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • System Status WCRE is active unalbe to release production order

    Unable to release production order,
    System status is WCRE is active.

    Hi
    WCRE - Indicates Workcenter Until Release.
    Please check the status of you work center
    Go to CR03 transaction, In the Basic Data view check click on Admin Data to view the status if it is in Locked Status.
    Regards
    Venugopal

  • Release Production order in Background

    Hello,
    Does someone know if there is a functionallity or  exit to release a Production order in background even if the order has missing parts and the customizing setting in TA OPJK is set for the relevant order type to indicator 1 ( User decides on release if parts are missing ) !
    In background it should release the order automatically in Foreground the the user should decide
    Thanks in advance
    Holger

    Thanks for your quick response.
    I would like to know if we can run CO05N in background ? I dont want user to execute CO05N.
    Do to client business it is not possible to configure SAP system to auto release.
    Regards
    Seshu

  • How get all released production orders

    Hi experts,
    I need to get all released Production Orders for a specific plant. I noticed that usually you don´t select directly from table AUFK. Most of people use function module WCFS_STTXT_GET to get the status of an order. I know that table AUFK has fields ASTNR (status) and PHAS1 (released) however those fields don't reflect the status of an order (thatu2019s why WCFS_STTXT_GET is used).
    Also, I know that table JEST contains status for an order; however, for a simple order that table shows more than one status (I guess is like a history of all status the order had).
    So my question is: How can I get all released orders for an specific plant? If I use WCFS_STTXT_GET I would have to select all orders and check the status one by one, which is obviously not efficient at all.
    Thanks!

    Hi Carlos,
       As far as i know, it is not possible to get the latest status on a production order. if we see a production order in CO03, we see that all the status' are displayed on the order which it has been through.
    I remember we had to include the system status logic similar to the transaction COHV, and we had used the table JEST for the same.
    Kindly update the solution if you find any.
    Thanks.

  • Material shortage ( soft or hard error ) while releasing production order?

    Hi Guys
    I  am a SAP tech guy wrote a BDC program to release production order. It worked fine in one enviroment but not working another enviroment saying ..Material shortage.
    My BDC program can't afford any hard errors in the process. The execution stop abruptly for any hard error.
    How to change that Material shortage from hard error to soft error or any info message.
    Any ideas? any thing to do with material master or spro?
    Thanks
    Hari

    Hi
    You can make settings in SPRO, so that the material availability check will not restrict you to go further...
    follow the path:
    SPRO>Production->Shop floor control>Operations->Availability Check-->Scope of check
    There you will find the settings for order creation and release (1 & 2)..
    You have remove the restriction there.
    Regards
    Bala

  • Abap dump error while release Production order

    Dear Gurus,
                          Abap dump error is creating while release production order , pour some light on this issue.
    Regards,
    Kamal

    Hello,
      use transaction ST22 to analyze the error type. There you have the detail of the error message, the program and the line of the ABAP code where the dump was triggered.
    Best regards,
    Andrea

  • Error while releasing Production order

    Dear experts
    I am getting error "JV Object Type Is Required by JV Parameters for Company '1000'", message =  Message no. GJ118 while releasing Production order. Plz help me on this issue.

    Hi Harish,
    Please refer the below link, hope should be helpful
    Creating a Cost Center

  • Change of sales order in combination with planned/released production order

    Hi Guru's,
    How do you deal with changes in the sales order in combination with planned orders and the scenario how to deal with release production orders?
    Can you tell me the SAP scenario, technically or reports or transactions or user exits, etc?
    Thank you in advance,
    Eric

    Here You have 2 scenarios
    1. Sales order changed at planned order stage
    In this case any chagne of quantity done in the sales order level will be taken care by the Planned order until it was not firmed .
    In case if it was firmed for the increased qty you will get a new planned order getting created.
    In case if it is reduced and if it was unfirmed it will get changed accordingly
    2. Sales order changed at production  order stage
    if the planned order was converted to production order change we can manually changes the respective Production order util no confirmation was done to any operations..
    is all this scenariors you are looking for if it is helpful let me know
    thanks..
    dskumar

  • Production order: Automatic Generation of settlement rule .......

    Hi Gurus,
    I am trying to settle a production order to a cost center. I have already define a settlement profile with Cost center as the default reciever and assigned it to the Order type but when I tried to settle it, I have to create a distirbution rule manually every time. Is this some thing to do with the strategy sequence? I have done a lot of research but the system doesnt give me any option for autmatically generating a settlement rule or assigning strategy sequence to order type for production order. I found some thing for Internal orders, but still i cant do it. Would any of you please help me. I would appreciate if you put the steps with the trxn codes.
    Thanks

    Dear.
    As I know, there're no way to generate settlement rule of production order automatically such as that of WBS(network).
    In settlement profile, If you want automatic fuction, you can only set PA segment as receiver addionally.
    What you want to do is the price difference(PRD-PRF) of production order be settled? then, why don't you make automatic account assignment(OKB9)?
    Generally, assumed using PA segment as receiver, we don't make price difference account as cost element, But, In your case, If you want to settle all amount of that to fixed cost center, specify that cost element to cost center by OKB9 instead of adding cost center in settleme rule.
    Regards.

  • Add/change multiple operations on a released Production Order

    How can I add/change multiple operations on a released Production Order...I know how to add them manually one by one but is there a better way to add...like copy/paste since i am adding operations from an alternate route? Please advise?

    Hy Aziz,
    In process order go to operation screen go to Operation - Include Master recipe, then one pop up comes select required Master recipe and add operations of your interest.
    But there are some restriction which doesn/t allow it if Inspection Lot, Control Recipe are created..
    Regards,
    Dhaval

  • Capacity Requirement From Released Production Order

    Hi PP Gurus,
    Can i limit capacity requirement only from released production order ? I don't want to count requirement from production order that just created but not yet release.
    Regards,
    Arman Lie

    Dear Arman,
    As a standard practice the system creates the capacityrequirements once the production order is created.
    Check this,
    When a production order is created the following actions are carried out:
    ·        A routing is selected, its operations and sequences are transferred to the order
    ·        The bill of materials is exploded and the items in the bill of material are transferred to the order
    ·        Reservations are generated for bill of material items held in stock
    ·        The planned costs for the order are generated
    ·        The capacity requirements are generated for the work centers
    ·        Purchase requisitions are generated for non-stock items and externally-processed operations
    Regards
    Mangalraj.S

  • Cannot release production order for a plant

    Hi:
    When I try to release a process order , I get this error message:
    "CAnnot release production order for plant".
    I get this message  for a particular material in the plant. For other materials, it's working fine.
    Please give your suggestions!
    Gautham

    Hi,
    Check the Tasklist usage for your routing for that material.
    For this usage ,check in op45 against the task list type whether until release indicator has been enabled.If so remove
    and do the release.
    or
    check whether workcenter which is used for producing the   material has been locked in work center itself.
    Indicator: Usage only until release in orderIndicator used to specify for a task list usage and a task list type that an operation in the order cannot be released.  This occurs when a work center group that is not intended for production is allocated to this operation.
    When this type of operation in the order is released you must enter the work center where production should take place.
    Regards,
    nandha

  • Auto Material & Capacity Availability check when releasing Production Order

    Dear Experts,
    Is there any configuration in Production Planning that will automatically check material availability and capacity availability automatically when a Production Order is released?
    Meaning to say, users will not need to manually click on the Check Material Availability and Check Capacity Availability button.
    Please advise.
    Thanks in advance.

    Hi,
    I've solved the problem. Just maintain the config in transaction OPJK.
    Thanks

Maybe you are looking for

  • ALV Download to Excel

    Hi Experts, Currently in my custom program I have an issue regarding downloading ALV to excel file where one of the fields in the report will output more than 400 characters which is in Chinese characters and this field already type to string. The pr

  • How do I get all audio to stop from a button

    I have a next button in my animation. What I need it to do is stop all audio and video but not mute it. I want the user to be able to use all the audio in the next scene of the interactive without audio from the last scean still playing.

  • User settings

    How I can get user settings, for example the resolution? 10x

  • Can't Change Rigged Parameter

    Hi guys, I've got a motion project where I have several things going on (it's a title project for fcpx, actually).  The problem is that I cannot change the position (which is keyframed) in a rigged parameter.  I have the first line of text which invo

  • COM object that has been seperated from its uderlying RCW cannot be used

    What exactly does this error mean? I receive this error when I perform "Unload All Modules" from the sequence editor using TestStand 4.2.1.83 development system, which is part of NI Developer Suite 2010 DS1. It causes TestStand to crash citing that e