BAPI or FM to DISPATCH PLANNED ORDERS

HI Gurus,
We have a requirement to automatically dispatch planned orders instead of manually going to CM25/CM21 screen to manually do it.
Is anybody aware of any BAPIs, FMs or anything to be able to dispatch planned orders.
I was going to use BDC but the table control has restricted me to do this.
Thanks for you help.

Hello Basil,
I am looking for the same solution, can u plz update if u hav some information how to approch for the requirement.
Thanks in Advance.
Adar

Similar Messages

  • CM40 dispatch planned order among different work centers

    Hi
       we have a finish material ,which can be manufactured using 3 different work centers.Then I create 3 production versions to link each work center .
    PV1   Routing 1(work center1)   BOM 1    production line:work center1
    PV2   Routing 1(work center2)   BOM 1    production line:work center2
    PV3   Routing 1(work center3)   BOM 1    production line:work center3
       Is it possible to create a batch job to dispatch planned order between work centers in CM40?I am able to manually dispatch planned orders between different work centers in CM22..
       CM40 use the same selection/strategy profile as CM22 and the planned orders are dispatched to other period if current period get overload..But I expect CM40 to dispatch the planned orders to other available work centers..Anyone has any suggestions?
       thanks very much..
    Edited by: Monst Yang on Jan 10, 2012 9:59 PM

    Hello,
    With CM40 also you can dispatch planned orders as like CM22
    Please look into the below link for more functions performed with the transaction:
    http://help.sap.com/saphelp_46c/helpdata/en/f3/0869a3a6ae11d183d00000e83235ee/content.htm
    Hope the information was useful
    Regards,

  • Can't dispatch planned order (LA), but can dispatch production order

    Hello,
       I'm new to capacity planning and all of the related configuration screens.  I'm probably missing something simple.  We've configured our work centers and routings.  We've configured our production order types (tcode OPU3, type US01) and planned order types (tcode OPU5, type LA) so that all create capacity requirements and are relevant to 'detailed scheduling'.  Requirements are being generated for production orders and planned orders.  We can see correct setup and production times in the graphical planning table CM21.
       Here's the problem: When we try to dispatch a planned order, nothing happens.  There is no error, but the order is not dispatched.  If we convert the planned order into a production order, accepting all SAP proposed defaults, and then try to dispatch the production order, it works fine.
       What configuration are we missing?  My first thought was to look in OPU5 for order type LA.  In the detailed scheduling section, scheduling horizon is zero (is this Ok?), SelID: Detailed is 01, 'scheduled' and 'generate capacity reqs' are checked.
    Thanks,
    Randy

    Randy ,
    Please analyse the below note related to your issue.Hope this will help you to sort out the problem.I have cheked the configuration area.I hope u are correct .In fact , it may related to your production version if you do automatic dipatch.Please reade the note and come back.
    If an error arises when automatically dispatching planned orders (for example, a capacity overload at a work center) then the system schedules the affected planned orders to another production line.This function is available in both types of planning table. It is of interest for all areas that use planned orders, for example in repetitive manufacturing or in MRP/MPS. It can also be used in production control when later converting planned orders to production orders.
    this function the following conditions must be met:
    The dispatching function Change production version on error must be set in the strategy profile.
    The original work center
    must be entered in the production version of the material as the production line (not necessarily in the current production version).
    can only be assigned to one operation in the routing for this production version
    The alternative work center can only be assigned to one operation in the routing for the alternative production version
    If an error arises the system copies the production version with the version key that is next alphanumerically into the planned order. The planned order is rescheduled with this production version. However, it is not dispatched to the new production line but remains in the pool. In this way you can dispatch the rescheduled planned orders together with other planned orders in the pool to the new production line.
    To give you a better overview and to improve handling you should choose a sort key with which the planned orders in the pool are sorted according to work center and, for example, latest start date. All orders that are to be dispatched to a production line are then placed next to one another in the pool. If an error arises during automatic dispatching to the new line every planned order affected is rescheduled with the next production version
    . If the conditions are not met then the following occurs depending on your settings in the strategy profile:
    Dispatching is terminated
    Dispatching to the same work center is continued and error messages are written to the planning log
    You can only dispatch main operations with this function, but not sub-operations. Operations are always dispatched with the full quantity to the new work center
    Reward point if useful
    Regards
    Jia

  • BAPI/FM TO DEALLOCATE/UNDISPATCH PLANNED ORDERS

    Guru,
    Is there a BAPI or FM to Deallocate Planned Orders (PP).
    Thanks.

    Please search in SCN
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=bapiforproductionandplanned+orders&cat=sdn_all

  • Dispatch planned orders CM25

    Dear experts,
    Is it possible to dispatch planned orders in the capacity planning board CM25?
    In which profile do I change the settings to make this happen?
    Many thanks,
    Tim
    PS: will award points!

    the following  profiles can be used for viewing capacity over load
    SAPSFCG001     SFC: View work center/capacity (2 graf.)
    SAPSFCG002     SFC: View work cntr./capacity (tabular)
    SAPSFCG003     SFC: View order/capacity      (tabular)
    SAPSFCG004     SFC: View order/capacity     (graphical)
    SAPSFCG005     SFC: View Individual cap.    (graphical)
    SAPSFCG006     SFC: View work cntr/ind.cap.  (tabular)
    SAPSFCG007     SFC: View order/individual cap. (graph.)
    SAPSFCG008     SFC: View order/individual cap. (tabul.)
    SAPSFCG009     SFC: View line               (graphical)
    SAPSFCG010     SFC: View setup optimize     (graphical)
    SAPSFCG011     SFC: View work center/capacity (3 graf.)
    SAPSFCG014     SFC: GANTT view wkcntr/capacity (3 grph)
    SAPSFCG015     SFC: Evaluation, standard overview
    SAPSFCG016     SFC: WC/Capa (2 temp.save graphical)
    SAPSFCG020     SFC: Standard overview in work cntr view
    SAPSFCG021     SFC: Standard overview in order view
    SAPSFCG022     SFC: Standard overview in indiv.cap.view
    SAPSFCG023     SFC: Standard overview + actual cap.rqts
    Usually the following std profiles are used.
    SAPSFCG021     SFC: Standard overview in order view
    SAPSFCG022     SFC: Standard overview in indiv.cap.view
    <b>Dispatch of capacity is carried out in the following transaction</b>
    CM21, CM22
    CM27, CM28
    CM31, CM32

  • Tcode CM25:BDC or function module to dispatch planned orders

    Hi all,
    Could you please suggest a BAPI/FM for CM25 -dispatching the planned orders.
    While i try BDC, it requires the line selection for dispatch,which does not get captured in recording.
    Can anyone throw light on this or suggest any alternative.
    thanks
    kiran
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Oct 23, 2009 11:28 AM

    reposting it

  • BDC for CM25 tcode or a function module to dispatch planned orders

    Please suggest a way for BDC of CM25 tcode as the selection of planned/process order in the tcode is not captured in recording.
    or provide FM/BAPI for dispatch of planned orders.
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Oct 23, 2009 11:27 AM

    reposting it

  • Any bapi avaialble to fetch component planned orders for header planned ord

    Hi Experts,
                     We have a req where we need to fetch component planned orders for  header planned order .
    In Detail :
      In MD4C tcode (select planned orders tab -> F8 ), when i pass the header planned order like 17474 .
      I get two component planned orders like 16276 16277 and corresponding materials like 12025185 , 12025189.
    We are using   BAPI_PLANNEDORDER_GET_DETAIL  to  fetch  component materials for a planned order .
    similarly any bapi or tables which have this data  to fetch component planned orders.
    Thanks in advance,
    Mani.

    Hope it would be helpful for you:
    Check these user exits.
    CO610001            User exits: Assembly processing                             
    M61X0001            User exits PP-MRP materials planning                        
    M61X0002            User Exits PP-MRP Material Requirements Planning Evaluations
    Thanks

  • Planned order and Production order Not appearing cm21 transaction code

    Hi
    I have created a planned order for a material through MRP run
    As soon as the planned order is created its available in the cm21 transaction code . But once i dispatch the planed orders , the planned orders can be seen only as a BAR in the upper right side of the screen .
    1.Can any body please let me know how i can view the details of this dispatched planned orders in the same way when the planned orders were un dispatched ?
    2.If i create a production order manually or convert a planned order to production order i cannot see these production orders in cm21 neither on cm22 , can any body please let me know what i have to do so that i can view these production orders as well in cm21 or cm22 transaction code.
    Thanks and regards
    Sankar N

    Hi Pradeep
    I have checked the generate capacity requirements and it worked ,Thank you
    Presently i can view only the work centre details in cm21 screen extreme left , how can i see the details of the orders that are dispatched at this work centre ,in the similar way we see in the order pool, bottom left of cm21 screen .
    Thanks
    Sankar

  • User exit in planned Orders

    Hello all.
    I have been search for a user exit in planned orders that allow me to define some code in it to triger some changes. this user exit should be at time of planned order is saved.
    I have already search in this forum and I found out how to find the user exits by transaction. I have tried for transaction MD12 but did not found any suitable user exit.
    Does any one know any user exit that could make my life easiser
    thanks
    Manuel Antonio

    You can try the following BAdIs:
    You can use the Business Add-In (BAdI) MD_PLDORD_CHANGE to change, before posting, data from planned orders, which have been created, changed, or deleted as a result of planning a material or manual processing.
    The Business Add-In allows you to fill and change fields from planned orders in the PLAF table. It also supports filling of customer-specific fields in the customer include CI_PLAFDB.
    You can execute the Business Add-In in the planning run in the following areas:
    Material requirements planning
    Master production planning
    Long-term planning
    You can also carry out the Business Add-In in all applications, which execute manual planned order changes. Examples of this kind of application are:
    The dialog transactions for creating and changing planned orders (MD11, MD12, MS11, MS12)
    The Business Application Programming Interfaces (BAPI) for creating and changing planned orders
    all applications that explicitly or implicitly create or change planned orders, for example the planning table of repetitive manufacturing, repetitive manufacturing confirmation, capacity planning, assembly order processing and so on.
    Requirements
    When planning a material or manually processing a planned order, you must change individual fields in the planned order or provide entries for customer-specific enhancements of the planned order structure.
    Standard settings
    The Business Add-In is not active in the standard.
    The Business Add-In cannot be used multiple times.
    The Business Add-In is not filter dependent.
    Activities
    To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation
    For more information about this procedure, see the SAP Library under
    Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.
    Further notes
    Documentation on the BAdI method CHANGE_BEFORE_SAVE_MRP
    Documentation on the BAdI method CHANGE_BEFORE_SAVE_MAN
    You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:
    1. Choose the tab page Interface.
    2. Double-click on the relevant method.
    3. Click on the right mouse button and choose Component documentation.
    Update Planned Orders (MD_PLDORD_POST)
    Use
    Application components:  PP-MRP, PP-MP-MPS, PP-MP-LTP, PP-REM
    Function group: M61P, M61U
    You can use the Business Add-In (BAdI) MD_PLDORD_POST to further process data from planned orders, which have been created, changed or deleted through the planning of a material or as a result of manual processing.
    The Business Add-In allows you to publish the created and changed data from planned orders and can be used to update customer-specific tables or to connect to information systems and workflows.
    You cannot use the methods of the Business Add-In to change the planned orders themselves. The planned orders are always posted in the communicated form.
    You can execute the Business Add-In in the planning run of the following areas:
    Material requirements planning (PP-MRP)
    Master production planning (PP-MP-MPS)
    Long-term planning (PP-MP-LTP)
    You can also execute the Business Add-In in all applications, which carry out manual planned order changes, for example:
    The dialog transactions for creating and changing planned orders (MD11, MD12, MS11, MS12)
    The Business Application Programming Interfaces (BAPI) for creating and changing planned orders ( PlannedOrder Create, PlannedOrder Change)
    All applications that explicitly or implicitly create and change planned orders, for example the planning table of repetitive manufacturing, repetitive manufacturing confirmation, capacity planning, assembly order processing, and so on.
    Standard settings
    The Business Add-In is not active in the standard.
    The Business Add-In can be used multiple times.
    The Business Add-In is not filter dependent.
    Activities
    To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation
    For more information about this procedure, see the SAP Library under
    Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.
    Note that the Business Add-In can be used multiple times and therefore all active implementations are called and run through.
    Example
    The following is a possible use for the methods of this Business Add-In:
    When planning a material or manually processing planned orders, you want to log the changes made to the planned orders or the triggered subsequent functions.
    The subsequent processing of certain planned orders or individual data from the planned orders occurs in an external planning system. In this case, you can log the corresponding changes to these planned orders in a user-defined table during planning. Using a separate report, you can select the data from the log table and process it further.
    Further notes
    Methods
    Update Planned Orders: Requirements Planning - POST_AFTER_SAVE_MRP
    Update Planned Orders: Manual Processing  - POST_AFTER_SAVE_MAN
    You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:
    1. Choose the tab page Interface.
    2. Double-click on the relevant method.
    3. Click on the right mouse button and choose Component documentation.
    Regards
    Ram

  • Capacity Leveling in CM25 by Sequence Number in Planned Order

    Hello Gurus,
    I am having an issue with dispatching planned orders using tabular form.  We have to use the tabular form in order to be able to have our program select all planned orders.
    I have been testing and testing this trying to get it to work.  We have sequence numbers defined for our planned orders in the PLAF-SEQNR field.  When entering CM25, we are wanting to dispatch all of our planned orders at once and have them dispatched in the correct order by sequence number.  I have the Strategy Profile defined for Finite Scheduling, Plan. direction forwards, and no closing of gaps.  and I have my Dispatch Sequence layout key defined to only use the Sequence Number in the Planned Orders.
    We need to use the tabular form so we can select all planned orders.  I set up the requirements grouping to only include planned orders that are not yet dispatched.
    When I use the graphical form instead of tabular and I manually highlight all of the planned orders and dispatch then they are all in the correct order with all of the gaps are closed...which is what i want.
    However, I need to be able to do this using the tablular form.  No matter how I try to set up the strategy profile, it doesnt seem to work using tabular form.  They are dispatched according to start date with gaps in between the orders.
    Any help is greatly appreciated.
    I also have the following defined in Strategy Profile for Dispatching Control:
    Sort operation to be dispatched
    Consider operation sequence in the order
    Midpoint scheduling
    Thank you.
    Edited by: Kevin Gorman on Jan 14, 2009 8:19 PM
    Edited by: Kevin Gorman on Jan 15, 2009 3:26 AM

    Hi Vishal,
    I hope the below link will provide you need full information:
    http://help.sap.com/saphelp_470/helpdata/en/8a/a5a7674adc11d189740000e8322d00/content.htm
    Hope it clears your doubt.
    Regards,
    Madhu.G

  • Migration of Planned Orders from one SAP system to another one

    Hi,
    A quick help needed.
    We are migrating SAP data from one SAP system to other due to business split. Regarding PP data, can Planned orders be migrated as it is from one SAP System to another? What is the impact if we do so?
    Appreciate your response.
    Kind Regards,
    tanuji

    hi ,
    As suggested , you can propose to migrate only Firmed Planned orders from SAP  to SAP system .
    How to acheive it ?
    You can use below BAPI to extract details of planned order from Table PLAF and upload in TARGET SYSTEM
    BAPI_PLANNEDORDER_CREATE
    Please note  newly created Planned order in Target system would not have BOM EXPLOSION and Scheduling .
    If need , Make a BDC recording as a add on step to explode Bom and Schedule by clicking those icons in Planned order .
    Technical Team can do this .

  • Bapi for sfg dependent dem,snp planned order qty, and ppds planned orde qty

    Hi Gurus,
    I am not much familiar with APO, so please help me,
    Input details:
    Field                         Value     
    Planning Version     000     
    Source Location *     1001     Single/Multi Value
    Product *                          1000061     Single/Multi Value
    Production Planner *     PRC     Single/Multi Value
    Start Date *          
    End Date *          
    o/p:
    Source Location     Date     Semi-Finished Material     Material Description     SFG Dependent Demand     SNP Planned Orders qty     PPDS Planned order Qty     Total SFG Variance due to Lot size     Total SFG Variance reference to dependent demand
    1001     15-Jul-10     1000041PP     PRIMARY FF MILK  3% FAT     340     412     420     8     80
    1001     15-Jul-10     1000041PP     PRIMARY FF MILK  3% FAT                         
    1001     15-Jul-10     1000041PP     PRIMARY FF MILK  3% FAT                         
    Is there any bapi to fetch the data as shown in o/p.
    Thanks

    Hi Phani,
    Tryout the below BAPIs
    IF10503 (object)
    BUS10503
    Regards
    R. Senthil Mareeswaran.

  • BAPI or FM for scheduling a planned order (like MD11 or MD12)

    Hi guys.
    We are working with a group of materials and planned orders, in order to modify and create new planned orders depending on the stock per each material. So we use MD12 to 1) modify the quantity in the order, and MD11 to create new planned orders for the rest of stock for this material.
    For process of creation we don't have problems (BAPI_PLANNEDORDER_CREATE makes its work well ), but when we want to schedule the new planned order created before via FM or BAPI, we cannot see any results in MD12.
    I mean, when a planned order is scheduled via menu button, a new tabstrip appears in the transaction with dates. So this similar action we've tried using CX_PLANNED_ORDER_SCHEDULE or CX_CRP_PLANNED_ORDER_SCHEDULE but there was no change.  If we execute the Schedule button action, in table PLAF (master of planned orders) apears a new number in field PLAF-BEDID related to MRP.
    So guys, could you please help us how to get this issue? As last option is BDC, but BDC's and me are not good friends because its performance. So please, any suggestions?
    Thanks in advance!
    Raul Romero

    Hi guys...
    Sorry for the long time without an answer, which I'm sharing you now:
    1. In order to perform the proccess of scheduling, you have to record the steps from menu bar in your batch input. I mean: (1) set values into fields CRHARBPL-LOW () and CRHWERKS-LOW
      PERFORM set_batch USING: 'X' 'RCCRY000' '1000',
                                      space 'BDC_CURSOR' 'CRHARBPL-LOW',
                                      space 'BDC_OKCODE' '=PLNG',
                                      space 'CRHARBPL-LOW' p_arbpl,
                                      space 'CRHWERKS-LOW' 'PR01'.
    (2) After you ordered your list of planned orders or production orders, loop your internal table and per each order record these commands (these simulates the popup option to select the order you want for scheduling and mark it in the dynpro you are processing):
      LOOP AT gtd_tabofplan INTO gvc_tabofplan.
        PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
                                        space 'BDC_OKCODE' '=Z021'.
        PERFORM completa_bi_campos USING: 'X' 'SAPLCY19' '0120',
                                space 'BDC_CURSOR' 'CYMARK-VALUE(02)',
                                space 'BDC_OKCODE' '=BACK',
                                space 'CYMARK-VALUE(02)' gvc_tabofplan,
                                space 'CYMARK-MARK(01)' space,
                                space 'CYMARK-MARK(02)' 'X'.
        PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
                                space 'BDC_OKCODE' '=SL25'.
      ENDLOOP.
    (3) Set the SAVE operation.
      PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
                              space 'BDC_OKCODE' '=SAVE'.
    Hope you' ve succeeded in this task, let me know if you've another questions.

  • BAPI for Scheduling Planned Order

    Hi,
    Please tell me if there are any BAPIs for Scheduling a Pllaned Order and for Deleting a Planned Oredr.
    Thankes & Regards,
    Rahul

    BAPI_PLANNEDORDER_CHANGE       Change planned order
    BAPI_PLANNEDORDER_CREATE       Create planned order
    BAPI_PLANNEDORDER_DELETE       Delete planned order
    BAPI_PLANNEDORDER_EXIST_CHECK  Planned order existence check
    BAPI_PLANNEDORDER_GET_DETAIL   Get details for planned order
    BAPI_PLANNEDORDER_GET_DET_LIST Get detailed planned order list
    All bapi's related to planned order processing
    BR
    Manthan.

Maybe you are looking for

  • How to send XML using UTL_HTTP

    I am trying to workout how to send XML data to a webserver using UTL_HTTP but am not getting any reply I need to submit the following XML document to a server "http://api.fastsms.co.uk/api/xmlapi.php"  Their instructions are "The XML Document should

  • How  to  create an infotype in sap ecc6.0 ?

    Hi all, I know i how to create an infotype   in   sap 4.7, but i am facing the problem while creating an infotype in sap ecc6.0 version. could u plz provide me  the info with screen shots how to create an infotype and how to enhace that infotype ? Wa

  • Adding a second drive

    Hi All, I'm sorry to say I have to install windows 7 in my mac pro. I would like to place windows 7 OS and all the windows files on a second drive. When I bought the mac I only bought one drive so now I need to install a second one. Since I don't nee

  • Tethering advances to next shot

    Hi guys, I am having issues and I don't know if this is a feature. It seems to come and go with different releases of lightroom. When I am shooting tethered using either auto import or lightroom tethering the viewed image is automatically updated to

  • Customize Overview Page of ESS Creation?

    HI All How to create Customize Overview Page of ESS.. Lists the available services under Employee Self Service.. 1.Employee Administration 2.Personal Information 3.Working Time 4.Career 5.Payments Please help me on the above issue. Rafi Shaik