Release service work order

HI everyone,
I have a scenario where when the user creates a work order and hits on save, I need to assign workcenter based on control key of the first operation maintain in Z table and if assigned succesfully need to auto release.
Now that I m assigning the workcenter in userexit "PPCO0001" since I get the workorder and operation data here. but im running out of options to release this.
I created a standard task to release and triggered the event from user exit but it didnt work
used FM "ALM_ME_ORDER_RELEASE" and couple more but it gives dump as there are nested commit
Please let me know a solution to this so that i can release teh service order when the user hit on save and assign workcenter as well for the 1st operation.
-Raj

Hi
Please try BAPI "IBAPI_ALM_ORDER_RELEASE"
Regards,
Prajakta

Similar Messages

  • I am unable to save a service work order designated and configured as MRS work order

    Every time I try to create a SM work order, and save it, I get the following message"
    Error in the ABAP Application Program
        The current ABAP program "/MRSS/SAPLRSG_PM_ORDER" had to be terminat
         it has
        come across a statement that unfortunately cannot be executed.
        In include "/MRSS/LRSG_PMCS_APPSCHEDF02 ", in line 93 of
    "/MRSS/SAPLRSG_PMCS_APPSCHED             ", the following syntax er
        have occurred:
        The row type of the table "G_APPOINTMENT_LIST" is not compatible wit
        field symbol type "<APPOINTMENT_LIST>".
        Author and last person to change the include are:
        Author         SAP
        Last changed by "SAP         "
    Any help or advise that would allow me to successfully create the work order and then open the planning board to view both the demand and the resources? I would appreciate any help. Thanks

    Hi Hussein,
    I found a SAP note 2030049 that is relevant to the problem: http://service.sap.com/sap/support/notes/2030049
    But when attempting to implement the note, it showed a syntax error.
    Will likely log this with SAP for resolution.
    Regards, Warren

  • Print out documents attached to a work order before Releasing a work order

    Team
    Requirement is given below. Need some advice.
    How to print out documents attached to a PM work order before the order is set to released status?
    Further the same documents have to be printed again after the order is released.
    Regards
    Sunil

    I think there is an OSS Note on this one - have a look there.
    There is a work-around where you do the following:
    - Enter IW32 and RELEASE the the order (but do not save)
    - Print out whatever you require
    - Exit the order without saving (therefore the RELEASE is not saved)
    Note: for one client we put a PRINT button on the Enhancement tab (user-exit IWO10018) for this purpose.
    Prometheus Group also provide a solution called Print Manager
    PeteA

  • Service Work Order & Service Entry - quantities for services

    Hi,
    I have a work order, the item category for item 10 is set as "Service". A service is inserted in the "Services" tab of item 10 with quantity 100 EA. Service entries were entered.
    But when display the details of the service (either in ME23N or ML81N), the "Actual Quantity" in "Statistic" tab does not tally with my actual total quantity entered.
    For example, the Actual Quantity may display 100 EA. But the total quantity of all the service entries may only be 90.
    Did I missed out anything? Can anyone enlighten me?
    thanks.

    Hi Kishore,
    thanks for your reply.
    I have added quantities added for all my service entry sheets. The total does not tally with Actual Quantity field.
    In other words, my total quantities for all the service entry sheets is 90 EA. But the Actual Quantity field is showing 100 EA.
    I have used t-code MSRV6 to display the list of service entries for the service. It is showing me all the service entry sheet for the WO/PO. The total quantity is 90 EA, but Actual Quantity field is showing 100 EA.

  • While saving service work order Update termination

    Hi Friends,
    We have a service order integration with Notifications. First we create a Notification and in turn create as service order.
    When the order is saved it goes for a update termination and the error message is " 00 671: ABAP/4 processor: DBIF_RSQL_INVALID_RSQL "  for IW52 transaction. Actually when we save it provides the order number but never gets updated in the data base.
    Again when we create the order from Notification for the second time, order gets created by skipping a number. For example when we save the order if the ordewr number is 902345 where it is not created , then when we create again the order number is 902346.
    Have any one come across such terminations in IW52 for IW32?
    Regards,
    Selva

    Friends,
    At last my problem was resolved as it was escalated to SAP and SAP analysed as below,
    This problem is caused becuase of the error in database interface. As the database server and the application server is a mix of platforms with different internal character data representations, this error occurs,
    The work around solution as narrated below,
    " For this we need to set the following parameters on the Default and Instance Profiles:
    Profile Name                            Parameter name         Current Value     Recomm by SAP
    DEFAULT.PFL                           rdisp/vbname              not set           rdisp/vbname=$(rdisp/myname)
    CRH DVEBMGS00 cr1apod        rdisp/wp no vb               2                  Greater than 0
    CRH DVEBMGS00 cr1apod        rdisp/vb dispatching        1                  Set to 0
    crap0 CRH 20                            rdisp/wp no vb                4                  Greater than 0
    crap0 CRH 20                            rdisp/vb dispatching        1                  Set to 0
    Inorder to reflect all the changes, System CRH-202 needs to be restarted. Basis have done the above changes through T.Code: RZ11 and CRH indicates the Quality client.
    So the profile paprameters will be different in each of SAP systems.
    Hope this will be very useful for future reference to all of us.
    Regards,
    selva

  • Service Work Order Report

    Dear All,
    My company is using Service master. In Wo  we use use same service code in two line. We want to see excuted qty through t code ME2S.in this report  both line item qty add . Please suggest.

    Hi,
    Check on it:-
    Book a credit note related to service entry sheet
    service reporting ME2S - output format
    Re: Service PO
    http://wiki.sdn.sap.com/wiki/display/ERPLO/SAPStandardReports
    pherasath

  • Single work order to release 2 operation from Task list 1 month and 6 month

    Hello,
    We have a maintenance plan for an equipment. It has a task list with 2 operation: Operation 0010 is 1 month interval and Operation 0020 is 6 month intervals.
    Currently when the preventive maintenance plan is release, 2 work order are created for every 6 months.
    Is it possible to combine the One month interval and 6 month interval task to a single Work Order?
    Thanks.

    For 1 month freq, orders will be created every month. In 6th month, order will be created with one month & 6th month operation together.
    If you want to suppress one month operation while order is getting created with 6th month operation, mention higher hierarchy for 6 month freq in strategy. This means, mention hierarchy 1 for 1 month freq & 2 for 6 months freq. While both the operations are due, operation with higher hierarchy only will be taken over to the order.
    I guess, this what you expect. Please confirm.

  • Wrong release strategy assigned for a PM work order

    Hi
    Would like to seek your inputs on this.
    I have created a work order that has a settlement rule for a WBS element. I then created a material, RELEASE the work order then SAVE.
    I found out when going back inside the work order that the PR number generated was having a different release strategy, which is not appropriate for the approval.
    The only time when you can fix the issue is when you do a change on the work order or you have to create the order, save, then open again the work order then release it, and save.
    Have you had this same scenario? Can you please share any suggestion to address this issue?

    Hi Nazarene
    You may need to give us a background of how your organization have set up the release strategies. Some organization uses User Exits or Work Centers to set up release strategies. Either your work order is not picking the correct work Centre or if the work center is new you have to change the work order (IW32) and save it to pick the correct release strategy. 
    Alternatively you may need to check your workflow and the release limits.
    Regards
    Gibson

  • Work order release

    HI all,
    can we release a work order from cor1 and cor2
    if yes where can we find that release flag
    Thanks in Advance,
    Suresh

    Hello Experts
    Just to add more info if i try to create a work order and after filling details if i click on "Put in Process" then again i got error mesage that Activity type ENHX01 is not valid in fiscal year 2012
    Regards
    Himanshu
    Edited by: Himanshu Nijhawan on Jan 3, 2012 1:00 PM

  • Delta Print Ticket print on Released Work Order

    Hi Experts,
    I would like advice on how to configure or programatically activate automatic printing of the delta Pick Ticket when saving an already-released PM Work Order after adding additional components on the Component tab.
    Has anybody done this before? I am new to PM module and want to explore this option. Is it technically feasible(Using ABAP)?
    Please suggest on this regard.
    WR

    WR,
    There are many way this could be achieved, here is one:
    User-exit IWO10009:
    - Determine if there are any newly added components (difference betwen database data and buffered data)
    - Add an entry in a customer table with relevant change data
    New ABAP program:
    ABAP program runs periodically (say each night) and selects data from customer table. It then formulates and sends the required to the printer. The relvant records are then deleted from the customer table.
    PeteA

  • Work Order Release related issue in PM

    Hi Experts,
    I am using the WorkOrderRelease template in BLS to release the work order in PM.After creating transaction in BLS , I created Query Template for the same.
    Now In both BLS as well as in Query template its working fine.
    But when i am trying to create the Display template for the same, i am not able to retrieve column names from OutputXML file automatically once query template is selected .
    Please guide me.
    Saumil

    Hi Jamie,
    ya i also know that it returns only one coulmn ' Message ' as output but thats the only field which will tell the status of releasing action like whether my Order is released or it is  already been previously released or there are some other errors. So because of this i need to display that column for which i am not able to create the display template.
    Please suggest.
    Thanks & Regards
    Saumil

  • PR Created with reference to Work Order

    Dear Experts,
    We have Work Order Process where Purchase Requisition for Material & Services are created with reference to Work Order . We have chosen the Option (from release), which means PR is created once the Order is released.
    Our requirement is always from release and when the work order released, system to pick the user details of Work Order Creator (not Work Order Release).
    Hope to get the details on the issue.
    Regards,
    Sahu

    Dear Chaitanya,
    When the work Order is released, system creates the Purchase Requisition and in this case PR Creator is the person who has released the Work Order.
    In Work Order log, we know the details  such as, who has created the Work Order and who has released. As SAP standard, Work Order release person is the PR Creator as we have made the setting with From Release.
    Our Requirement is on PR creation, system to take the user details of Work Order Creator. This would help to determine the PR approval process in a better way.
    Regards,
    Sahu

  • COR2 release flag(Process Order Release)

    HI all,
    can we release a work order from  cor2
    if yes where can we find that release flag
    Thanks in Advance,
    Suresh

    Hi Suresh,
    Please find the process for releasing process order .
    1.     Choose from menu Process order à Functions à Approval à Individual approval.
    2.     Choose Materials and on the Create Process Order: Material List screen release the order by choosing Release (Ctrl + F6). Batch determination and creation of control recipe are carried out automatically.
    3.     Save your entries.
    For releasing a process order which already exists please use following steps:
    4.     Access the transaction using:
    Menu     Logistic à Production–Process à Process Order à Process Order à Change
    Transaction code     COR2
    5.     On the initial screen, enter the necessary data.
    Process order          Your PO number     
    6.     Choose Enter.
    7.     Choose Release (Ctrl + F6).
    8.     Save your entry.
    Result
    When the process order is opened, material reservations for the required material components are created automatically or the specifications are transferred from the planned order. Purchase requisitions are created for material components or services that have to be procured externally. Capacity loads occur at the resources where the order is executed. The planned costs are also determined.
    The following constraints apply to an opened process order:
    ·     You cannot carry out a confirmation for the order.
    ·     Shop floor papers cannot be printed.
    ·     You cannot generate a control recipe.
    ·     You cannot carry out goods movements for the order; in other words, the components cannot be withdrawn.
    These constraints no longer apply when the order has been released.
    During releasing the availability of the materials will be checked again. Automatic batch determination is carried out for the materials PH-1710, PH-1720 (or PH-1810, PH-1820, PH-1830 and PH-2700 respectively). In addition to this, the control recipe is created, preliminary costing is carried out, and the process instructions are generated.
    Hope This Info Helps YOU.
    Regards,
    Lakshmi

  • Error Message while assigning resource to work orders

    Hi All,
    We have the MRS tool integration with service work orders for scheduling. When we assign the resources with 9 hours as duration there is no error. When we allocate more than 9 hours for some resources, not all, we receive the error message as
    " Duration    29,160 S is not a multiple of 15 minutes " .  These duration of secs varies when the duration is varied > 9 hours.
    We have checked the planning board profile configurations but nothing seems to be visible. In customising we have the following settings,
    Time Granularity                 : 15 mins
    Min duraiton of assignments: 15 mins
    Automatic Assignment Splits
    Min duraiton           : 2 hours
    Max overtime hours : 2 hours
    Max Ratio is %       :  75
    Can anyone throw some light on this?
    Regards,
    Selva

    Hi Anil Satya,
    The MRS is integrated with Service Order types and the operations are selected for each order then the assignment of hours takes place in MRS.
    If the assignment is done for 9 hours then there is no such error. These errors are very specific to some personnel numbers ( not for all )  where the duration is more than 9 hours.
    Is there any availability of resources for this operation / job through configuration settings? Why such a question is some resources even when 15 or 20 hours is assigned , no errors exists.
    Hope this explanation provides a better clarity.
    Regards,
    Selva

  • Scheduled start and finish dates in the Work order.

    Hi Friends,
    I am facing peculiar issue that once the Work order has been released schedule start and finish dates should be derived from the control key and
    operation hours and work center capacity,infact in my case while releasing the Work order,these dates (scheduled start & finish) are not been
    populating in the Work order,(but SAP standard behavior is while releasing WO,the dates should be populated).
    though i have maintained proper configuration
    could you please light up some thing on it.
    Regards,
    Srinika

    Check Scheduling Parameters assignment to order type, Scheduling option in Control key.

Maybe you are looking for