Dispatch an operation of a PM order

Hi Experts,
Could you tell me if a BAPI, FM, Method or anything else can be used to dispatch an operation of a PM order?
Here is the need:
Our customer uses the Planing Board (CM25) to dispatch operations of PM orders.
When the related work can't be executed on field, corresponding operations need to be dispatched a second time (at another time and day).
Currently we simply add a constraint on the StartPoint date/time and change the status of the operation to DSPT. But this doesn't take into account the workcenter capacity. So it can result to workcenter capacity overload.
For that pupose I'm looking for a standard FM or BAPI or ... that can do the job.
I think the following information should be sufficient to make the dispatching: Order nr, Workcenter, operation, day, time.
I found some threads about his on SDN forums but none answer my question.
Thanks a lot.
Regards,
Philippe
Edited by: Philippe Tsalos on Jan 18, 2010 9:33 AM

Hi Philippe,
So you want to reschedule considering available capacity. That is exactly what dispatching in the planning table does.
If you were to re-dispatch the operation dependent upon the availability of capacity, it may not end up at day + 2. It may be shifted to some other time in the future, assuming you have search in the forward direction as your strategy. So is your intent simply to "throw" it forward somewhere or is it a hard requirement that it is re-scheduled for today + 2? I presume you know how to change the operation details programatically.
For the sake of the following, I presume that the order operations to be re-scheduled were once dispatched in the planning table.
So why don't you explore the following:
Why don't you collect all the order operations together and undispatch (deallocate) them with Transaction CM40 in background? and then after you have changed their dates to day + 2, reschedule them, then dispatch them with CM40 again in background?
By using an appropriate profile, you can specify the appropriate work centres and the order operations belonging to them that need dispatching. say profile SAPPM_G006 - define the plant and workcentre on the first screen, then the orders on the filter screen.
If you feel like a little more of a challenge, you can review the coding of RCCYMAB2, particularly the subroutine EXECUTE_MASS_DISPATCHING, which shows all the details. Unless you are really confident, I'd stick with the transaction CM40 if I were you and set the objects and filter according the definition of your overall profile to define the order operations you wish to dispatch / undispatch.
I should point out that CM40 is designed to let the system do a first cut dispatch for all the requirements on a workcentre prioritised according to the strategy sort key. In your case you don't want (I don't think you want) to deallocate and then dispatch all non-dispatched requirements - just those of the particularl order operations. That is why the filter is necessary to further restrict which order operations are to be processed. You could also use the selection schema as well, selecting those with user status NOEX.
Is that helpful?
Edited by: Andrew Barnard on Jan 26, 2010 11:05 PM

Similar Messages

  • Bapi to dispatch an operation

    Hello ,
    We need to dispatch an operation in the production order using a BAPI .
    Could some let me us know the name of the BAPI to dispatch an operation
    Thanks
    Abhijeet

    Hi Abhijeet,
    Please refer to the thread http://scn.sap.com/thread/1036249
    Regards
    Tao

  • How to change operation dates in Production Order /Capacity Leveling

    Dear Experts ,
    We are using ECC 5.0 .In production order , scheduling happing as Backward  based on the Sales Order Delivery Date .I am doing the following :
    1.Demand as Sales Order with Delievery date : 20.03.2010
    2.Running MRP with Lead Time Scheduling -2  in md02 and converting the Planned Order to Production Order .
    4.Production Order have following dates :
             Basic Finsish Date : 21.03.2010
             Basic Start : the day Pl.Or--Pr.Ord
             Schedule Start : 15.03.2010
             Schedule Finsish : 17.03.2010
            Schedule Release : 13.03.2010
    5.In schedueling margin key :  Float Before Production : 3    , FAP : 3 , Release Period : 2
    6.In material master : Work Scheduling View : Setup : 3 days , Processing : 4 ,Interoperation : 2 for one Base Qty 1
    7.In operation : Op1  : Start Date  : 15.03.2010    Finish Date: 15.03.2010
                             Op2 : Start Date : 16.03.2010      Finish Date : 17.03.2010
                             Op2 : Start Date : 17.03.2010      FD : 17.03.2010
    Question :
    1.How to change the Operation dates  in Production Order Operation over view screen ? Today,  operation over view screen , Start date and Finsih Date  of individual operation are not changable with in Production Basic Start /BF date  or beyond .It is only changing based on the Standard Value : Labor
    2.How to change/re-schedule operation dates d in CM21 (Graphical view -Work Center Capacity load as per   Production Order and Operation combination ) based on capacity availale in advance dates? I am using  Time Profile : SAPSFCZ002 -SFC Graph midterm-3 motnhs and Planning  ,
    How to solve this above issue in scheduling operation and capacity distribution .
    Regards
    JH

    Closing the thread

  • How to customize standard text in operation tab of PM order

    Hi everybody,
    I am Rajat.
    I have question in SAP PM:
    In operation tab of PM order we have standard text, rt now i m using fresh system...kindly let me know how to enter values in that so that when i take drop down i'll see those values.
    Kindly reply with the path, for customization and t-code or path for master data both.
    Thanks
    Warm regards
    Rajat

    and IMG path - plant maintenance and customer service - maintenance and service processing - Assign standard texts for short message to order types
    Thanks
    S.N

  • Update Operations in a process order

    Hi,
    My task is to update operational level information in a process order via standard function module, can any one help me by providing a function module or a method to update the operations in a process order.
    Thanks in advance.
    Kind Regards,
    Abhi.

    Hi Gabriel,
    No, this function is not released to the customer.
    You can check this by going to the Attributes screen of the function module.  The last field in the General data section shows the release date of a function if it has been released (you can see an example of a released function module by checking any of the BAPI_ function modules).
    Cheers,
    Brad

  • Operations in Preventive maintenance order has to release then only order has to TECO

    Hi,Friends
    is there any standard in R/3 that as soon as i am not releasing Operations in Preventive maintenance order, order should not be TECO
    when ever i have released Operations then only Preventive Maint order has to be TECO
    Your response is highly appriciated
    Regards,
    Kumar

    Kumar,
    I'm still confused...
    When you release the order header (REL), then all operations are also set to released (REL). You cannot individually release operations using the system status.
    However, you can set user statuses for each operation which are configured in the IMG.
    Please give more details.
    PeteA

  • Programming Operation in a Production Order

    Hello all.
    How can i mark an operation of a production order as programmed with my predifined dates and without being scheduled by SAP?
    Thank you
    Nuno Silva
    Message was edited by:
            Nuno Silva

    Hi,
    In my case i am not using puchasing info records in this cases. i am making the system to create only automatic purchase requestion only.so how can i insert that item category D in this case.
    please suggest .
    rgs
    madan

  • Sequence 0 operation  not found in order 800000036870, check entry

    Hi experts,
    I am facing the problem first time. when I go for order confirmation at operation through CO11n then as i enter the order number system gives me the error Sequence 0 operation  not found in order 800000036870, check entry.
    Regards

    Dear Anil,
    Your initial query is different form query you posted to our replies
    As per your initial query what is replied is correct ( it is regrding operation number )
    Now as ur latest query it is confirmation number
    Yes one order can have different confirmation numbers
    Just check in CO14 or COOIS
    in COOIS in list make it as confirmations & execute
    Hope it clarifies
    Regards
    Madhu

  • Change Resource(Operation Overview) in Process order

    I need a program or funciton module to change the resource in "operation overview" in Pocess order. BDC is not possible as we cannot select the line item as the count of line item in a page differs with the system screen size...
    Kindly help on this issue.

    Hi
    Check the following fun modules
    RPM_CHANGE_RESOURCE
    RPM_CHANGE_RESOURCE_DATA
    RPM_CHANGE_RESOURCE_LONG_TEXT
    RPM_CHANGE_RESOURCE_POOL
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to have a default generated operation in a Planned Order

    Dear Sir,
    We execute MRP run to generate dependent Planned Orders for a FERT having multi-level BOM . In the BOM there may be few components against which the Routing has not been defined .
    So we desire that generated Planned Order should have a default operation against those components which have no routing available .
    Kindly guide us as how can we achive the same .
    With Thanks & Rgds
    B Mittal

    Dear Mittal ,
    I will be interted to know about your material structure based on the BOM Level :
    For an exmaple : FERT-HALB-RAW .There may be as many HALAB , RAW as per your business process.
    For any FERT/HALB if this has to be produced in-house , generally , it should have valid BOM as well valid routing with sequence of operation and BOM compoenet assinged to those operation because , when you will run MRP-MD02 , it will generate Planned Order for both and subsequncelt it will allow you to convert the planned Order to Production Order .In case , routing is missing or BOM is mssing , while converting planned order to PO ( FERT/HALB) , it will flag you exception masg and ask you to create the same before proceed farther  or you can generate Operation based on the Option refelected while productioin order conversion .
    we desire that generated Planned Order should have a default operation against those components which have no routing available -As you stated , if there is no routing avaliable for those component ( must be HALB /FERT) , there will not be any Routing copied to Planned Order in Master Data Tab  when running MRP in MD02.Basically  , in your case , Planned Order of FERT will be having routing with operation where as Planned Order for BOM compoenet which are HALB  , will not be having any routing master data .U have generate operation or create routing beofre conversion of production order .
    Hope it is clear
    Regards
    JH

  • Operation number from Work Order to Auto-Generated PR

    Hello All PM Experts,
    I have activated the business function:
    LOG_EAM_OLC Operation Account Assignment
    This enable me to calculate cost in for operation level in Maintenance Order.
    I have also done the required customizing: Define Cost Setting at Operation Level in SPRO
    and have define which Order Type will have cost at operation level.
    I create an externally process order (External Service) and after that release the order to automatically generate the Purchase Requisition.
    However, when  I checked the created PR, in the account assignment Tab...only the order number is displayed and the operation number for the order is blank. (not automatically copied)
    This cause a problem to me during the Purchase Order Creation and the Service Entry Process, which requires me to enter the operation number since I have activate the account assignment at operation level. But, since the PR is automatically generated from Maintenance Order, I can't enter it manually...
    Is there any missing customizing which still need to be done?
    is this problem need to be solved in the PM side or the Purchase Requisition side?
    Please help
    Many Thanks
    DT

    I don't think that it is possible in standard.

  • Subcontracting of one of operations in the production order of SPK

    Dear All,
    Example:  
    Material A (soft) having special procurement key SPK as "52". In the routing of this material there r 3 operations 10, 20, 30.
    We have generated production order of this material A.
    We want to get 20 th operation done from outside i.e.  subcontracting.
    When we receive the material from subcontractor we should able to confirm 30th operation in the production order by CO11.
    outgoing material & incoming material will remain same i.e. material A. (Material A has special procurement key SPK as "52")
    How to do this in SAP ?  Pl' give detailed steps.

    Hi,
    sorry to point you to help ....
    check out whether this std scenario is a best fit
    http://help.sap.com/saphelp_46c/helpdata/en/51/95303ca1fa11d189ba0000e829fbbd/frameset.htm
    SAP Std BPL: http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    Thanks,
    sudhakar

  • BAPI to create an operation in the productin order

    Hi,
      can any one help me in finding a BAPI that creates an operation in a production order, my functionality is to add a last operation to the production that indicated where the part has to be moved to.
    This function should be triggered when the production order is released (i found the BADI to do this, only thing left is the BAPI that creates an operation.)
    Thanks
    Rich

    HI
    try this 
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    Reward if usefull
    V.balaji

  • Current operation for the product order

    how do i determine a current operation for the production order? in what table shall i get this indicator? ive been searching in afru and i cant seem to find it?

    In your production order, there might be a sequence of operations. Each operations will be having the status. Based on the confirmation, the operation status will be updated. If the order status is CNF means it is completed. If the status in not CNF, then it is not completed. Based on the operation sequence, you can find out the current operation in your production order.
    This information you can get from the table AFVG. AFVG table is for order operation details.
    Hope this clarifies your doubt.
    Regards,
    V. Suresh

  • Schedule lines for an external operation in a production order

    Hi All,
    I have an external operation defined in a production order and a scheduling agreement is assigned to it in the Routing operation details.  Now, i want to generate schedule lines when a production order created but the system always generating a purchase requisition.  Do we need something to be configured in the background?  Please help!
    The idea is to have the goods receipt done against the same agreement always.
    Regards,
    Sravan

    Hi Sravan,
    As per my view point, this is standard SAP behaviour. System will generate PR only in case of external operation.
    If you go to OPL8 (Order type dependent parameters) for your respective order type & plant combination you have option of maintaining setting related to PR only and there is no option of using scheduling agreement or generating schedule lines.
    I don't see any possibility to use scheduling agreement using to have schedule lines for external operation.
    Regards,
    Tejas

Maybe you are looking for

  • Metadata not displaying properly in movie list view 12.1.0.50

    Has anyone had issues with metadata not displaying properly in iTunes iTunes 12.1.0.50? Seems since the last update or maybe even before that the metadata is not displaying properly in the movies/list view window. All seems fine in the movies window

  • Nee Help in iReceivables Self Service Registration Form

    Hi, I am new to iReceivables and implementing it. I had followed all the steps mentioned int he doucument iREC GUIDE mentioned in page 37 to setup sellf service Registration. During this when i click the link which i generated as per the document its

  • Another bus issue that needs attention

    Every time I copy and paste a schematic sheet for replication which includes predefined bus data names and nets, the paste function keeps clearing the bus name to the default offpage connector and/or bus defaulted increment bus number 1, 2, 3, etc et

  • Junk characters display while using multipart with html content in Javamail

    Hi All, I have used Java mail API to send mail with attachment. To enable to attachment in mail and to do content formatting i have used multipart and html content type together. My web application runs on apache tomcat 5.5 in MAC server. Java versio

  • Account Set-up Problems

    Hi there, I have a MobileME account and trying to set up my iChat. I select MobileMe account type and enter my username and password and select continue. On the next screen, it tells me to click DONE, however, there is no DONE button. I click the CON