Handling Planned order created from Demand planning and Sales order in MTO

Hi all
In MTO\ Repetitive we genrate Dependent requirement from demand planning (PIR) after running MRP which finally planned order created but on the other hand in short term we have Sales order which generate planned order after running MRP(In MTO), How we should handle planned order generated from Demand planning and the ones generated from sales order.(both after MRP Running).
Regards
Babak Bolourchi

Dear,
You can combine the planning strategy also main as 56 and second as 65 and in demand managment MD61 you have the option select requirement type.
Then while creating sales order use MTO strategy and take MRP run through MD50 and then MD02.
and if you want to assign the stock to sales order then you and do it through MB1b with 412 E movement type.
As per my knowledge, generally 56 strategy only takes Sales Order Stock into consideration.
Consider setting the Individual/Collective indicator to 2.
Mark those characteristics that should have a usage probability in demand management as Relevant for planning.
Hope clear to you.
Regards,
R.Brahmankar

Similar Messages

  • Restricting prod order quantity from being higher than sales order quantty

    Dear Experts,
       I create production order interactively through co08 ( prod order with respect to sales order). the prod order automatically picks up the quantity in the sales order which is desired, but this order quantity field in the prod order is editable (i.e can be made higher or lower). Please how do I restrict this prod order quantity from being  higher than the sales order quantity?i mean what should be done to make system disallow the prod order qty being fixed higher than thesales order qty?

    Hi,
    Even though you create the production in refernce to the SO, the order quantity can be alter.
    This is a normal behaviour of the system.
    To restrict any change in the order quantity, you can use tarnsaction variant for CO08. T code is SHD0.
    Secondly you can use the following enhancements to restrict the same,
    PPCO0006
    PPCO0007
    Hope this helps you.
    SmanS

  • Purchase order coppy from QT/Contract to Sale Order

    Hi,
    When i coppy sales document from Quotation/Contract in to sale order, the PO No wat ever i ve saved in quotation/Contract is not getting Coppied in to Sales order & other things are getting coppied.
    I'Ve checked in copy control aswell...but still its(PO) not getting coppied.
    Sdguru's plz help me on solving the same.
    Thanx & Regards,

    In copy control VTAA, maintin 307 routine in the field Copying requirements for data transfer VBAK.
    Regards,
    GSL.

  • No planned order created when run MRP for Sale Order

    As I have told on the subject. My problem is system does not generate planned order for components in BOM
    Some more information is: requirement class in SO is 043
    I have choose "2" in tab MRP 4 for individual/collective and all component and finish product have MRP type is PD and Strategy is 20 - make to order
    Please help me to solve this
    Thanks

    Hi Hoai Vu,
    Please check in OPPQ plant parameters in SPRO weather you maintained for the plant conversions of planned order to production order.
    SPRO-> Production> material requirement planning> plant parameters--> carry out plant parameters or over all maintenance of plant parameters (OPPQ)
    Then check the for the material did you maintained the work scheduling view or not.
    I hope helps you any queries please revert me back.
    Regards,
    Madhu.G

  • PR are created automatically from MRP without Demand and Sales Order

    Hi experts,
    I used Tcode ME5A to display PR list and i see some Perchasing Requisitions created from MRP. I checked Demand by tcode MD61 and Sale Order or Delivery Order by MD04 but i see nothing.
    I don't know how can it happens. Pls give me the way to check it.
    Thank you,

    if you dont see any reason, then the reason may not be present anymore.
    E.g. the sales order got deleted.
    In this case the next MRP run will automatically remove the requisition.
    What are your settings in material master MRP view?  maybe you are below safety stock or reorder point.
    you have to look into the requistion, what item category does it have, what accounting category. Only there you can see if the PR is related to sales order or any other order.

  • ODI and Planning Applications Created from EPMA

    Dear All,
    can ODI be used with Planning applications created from EPMA or it only can be used with classic applications?
    Your answer is very much appreciated.
    BR,
    ioGGo.

    Hi,
    Because the adapters provided within ODI does support only classic Planning applications, you can use ODI with classic Planning for metadata integration. This doesn't mean though, that you cannot use ODI to feed metadata in to EPMA. You can load the metadata to interface tables and automate the integration using EPMA batch utility.
    Plus, you can still use it for data extract & load as essbase is essbase no matter your application is classic or EPMA.
    However I must admit that it's more handy using with classic Planning. Check John Goodwin's blog if you haven't.
    Cheers,
    Alp

  • Issue in creating Duet  Demand Planning Sheet on the basis of Dataview

    Hi all,
    We are using following landscape
    Landscape Details-
     SAPAPO = SCM 700 0002 - SAPKY7002
     Duet 1.5 - 150.700 SP3
     Duet Demand Planning u2013 1000.150.700.3.0 (Server Component), 1000.150.700.3.0 (Client Component)
    There are 2 ways available to create Duet Demand Planning Sheet
    1. On the basis of existing Demand Planning Scenario
    2. On the basis of existing Data views( with SAP macros)
    We are able to create Duet planning Sheet with 1 option. But we got erro with second Option that is on the basis od Data view(with macros).
    Planning area, Planning Book/Data view and Selection Ids are existing and active.All the Webservices given by SAP are released.
    Duet is able to retrive the list of Dataviews avilable for the Planning Area. But it is failing to retrieve the Data View Details the Error is as follow
    "No view Details were found Please choose another dataview."
    Web Service Call (PlanningViewDetails):
    java.rmi.RemoteException:Service call exception; nested exception is:
    java.rmi.UnmarshalException: Attribute schemeAgencyID is required in element ID !
    Data: TYPEID DUET_JAVA_ADDON
    Data: SEVERITYCODE 2
    Exception of type 'System.Exception' was thrown.
    Is there any SAPNOTE for this ?Any specific configuration requirement from SAPAPO side?
    Any webservices to be applied?
    Please help in this Issue
    Thanks &  Regards
    Rahul

    Hi
    There are couple of OSS  notes, you might have already seen:
    1371328 Internal Error using Planning Book with Aux. KF
    1431661 Duet Demand Planning 1.5 SP4.
    Regards
    Datta

  • Exclude sales orders based on sales order type from CTM planning run

    Dear people,
    We have sales orders in R/3 with custom sales order types, like ZE01, ZE02 etc.
    These sales orders are CIFed to APO and all sales orders have ATP category BM. We use CTM and we want to exclude sales order with sales order type ZE01, is this possible?
    Which enhancement could be used to exclude sales orders with selection on sales order type?
    Edited by: Peter237 on Jan 19, 2012 12:35 PM

    Dear,
    Check the requirement type of your sales order line item in VA02 procurement tab it should be Reqmt type of customer reqmt   KSL
    Also check the strategy assign in material master and MRP group OPPR and then check the setting of strategy 10 in OPPS there should be
    Customer Requirement planning
    Reqmt type of customer reqmt   KSL  Sale frm stck w/o ind.req.red.
    Requirements class  030  Sale from stock
    Allocation indicat.     No consumption with customer requirements
    No MRP   :-               1 Requirement not planned, but display.
    Please try and come back.
    Regards,
    R.Brahmankar

  • How to get COUNT of  Invoice No and  Sales Order No from Multiprovider

    Hello Guys,
    I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
    Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong. 
    How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
    Regards,
    Komik Shah
    Edited by: Komik Shah on Aug 20, 2011 5:33 PM

    Hi,
    Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Regards,
    Suman

  • Cost analysis through Purchase Order created from Sales Order

    Hi Experts,
    This is the scenario: There is an Item No. which is not stocked in warehouse and is purchased only when customers ask for it. The cost of the sales order line having this item is calculated by the Purchase Order line on which the item is there. (The PO have items for other Sales Orders as well. And, Sales Orders have multiple item types) The Sales Order have the PO no. against it and Purchase Order has SO no. against the line. This is all done using MS Access and Sage Accounts. Lots of free typing and manual cost analysis involved.
    I have gathered from this forum that we can create Purchase Order from the Sales Order. The Document No. information can be pulled from one another using Formatted Search. Can we do the accounting and cost analysis as well?
    Please let me know if I have not made myself clear.
    Thank you in advance and kind regards.
    IC
    Edited by: iancameron03 on Sep 20, 2011 4:35 PM

    Hi Ian,
    I concur with Faraz, it is better if you use procurement document facility in doing back to back transaction from SO to PO.
    However, in your case, I'm afraid you can't analyze the gross profit and recording the accounting related activity as your request using standard SAP B1 function.
    As for gross profit case:
    Since you're actually using workaround in order to evade all hassles in maintaining all item master data related to this case, you create just one item code called S1 right?
    SO DocEntry - SO Line # - Item Code - Item Name - Quantity - Price
    1001 - 0 - S1 - Table - 2 - 100
    1001 - 1 - S1 - Chair - 8 - 25
    1001 - 2 - S1 - Cloth - 3 - 10
    PO # - PO Line # - PO BaseEntry (SO DocEntry)  - PO BaseLine (SO Line #) - Item Code - Item Name - Quantity - Price
    2001 - 0 - 1001 - 0 - S1 - 2 - 100
    2001 - 1 - 1001 - 1 - S1 - 8 - 25
    2001 - 2 - 1001 - 2 - S1 - 3 - 10
    Note that standard B1 gross profit calculation is that system will compare selling price for each item with item cost / certain price list of each respective item. However, in your case, you put all item as a single item master. Thus, system couldn't compare Table to Table, Chair to Chair, Cloth to Cloth since the item cost for these 3 items will be the same, the price list for these 3 items will also be the same since it is actually only one master data. Of course you could update the gross profit calculation manually for each SO, but to be honest it seems rather weird to do this manually.
    So, in order to simulate the gross profit calculation, you need to create a custom query and comparing PO line no with SO line no.
    As far as accounting related recording concern, I'm afraid you can't do it
    1. SO 1 : Item Table - Selling price 130 ; Item Chair - Selling price 30
    2. PO 1 (linked to SO 1) : Item Table - Purchase price 100 ; Item Chair - Purchase price 25
    3. SO 2 : Item Table - Selling price 150 ; Item Chair - Selling price 40
    4. PO 2 (linked to SO 2) : Item Table - Purchase price 110 ; Item Chair - Purchase price 30
    Correct me if I'm wrong, you want to record accounting wise that CoGS of Delivery based on SO 1 is 100 for Table and 25 for Chair, isn't it? No matter what costing method you use, you can't achieve this.
    If you use moving average, system will average both Table and Chair cost price, since it is actually one item master data. Even if you distinguish each item as a master data, system will average the cost price for Table and Cloth by the time GR for PO 1 and PO 2 occurred.
    Example (order by sequence of event):
    1. GR based on PO 1 - Table - Purchase price = 100, therefore Item cost = 100
    2. GR based on PO 2 - Table - Purchase price = 110, therefore Item cost = 105 (considering quantity only one for both PO)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 105, not 100
    To certain extent, same thing could be said with FIFO costing method
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 2 - Table - CoGS incurred will be 110 (qty 1)
    At first glance, it seems right since the CoGS for SO 1 is 100, tied up with purchase price for PO 1. And CoGS for SO 2 is 110, tied up with purchase price for PO 2. But we're using assumption here, we're assuming the sequence of Goods Receipt of PO and Delivery of SO occurred in the very same sequence as the issuance of SO and PO.
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 2 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 1 - Table - CoGS incurred will be 110 (qty 1)
    If above scenario / sequence that happened, you will get the wrong figure of gross profit since the Delivery of SO 2 will take the item cost based on GR of PO 1. Since we're actually talking about real life business process, who can guarantee that above scenario wouldn't happen? It is possible that you send goods to customer who ordered late in real life, too much possibility that it is better for you to mitigate such result.
    My suggestion would be that you record the accounting transaction based on standard business process, no need to really capture the actual cost and actual gross profit for certain SO and PO. Too complicated, and the software itself doesn't cater this kind of requirement. Best thing you could do only create custom query for gross profit simulation calculation, but for very accurate accounting recording, IMO you should forget it. Hope this help.
    Best Regards,
    Hendry Wijaya

  • Plan costs calculation during results analysis of sales order

    Hi Experts,
    I am in process of implementing sales order costing. I am facing a problem during result analysis with plan costs data.
    We have a sales order for which production order is generated. Cost object is sales order.
    Say, sales order cost estimate which is the plan costs --> is $ 1000 (which includes prod order COGM of $ 600) (So remaining sales and admin costs are $ 400)
    Plan cost of production order is $ 550 (as per production order cost analysis report)
    While calculating the result analysis for sales order, system is calculating the plan costs data as $ 1000 + $ 550 = $ 1550
    As a result, I feel plan costs data during result analysis is over calculated.
    I feel either plan costs should be $ 1000 (as it already includes COGM part)
    or
    $ 950 which is (plan cost of production order $ 550 + sales and admin costs of $ 400)
    Could some one explain me why result analysis shows plan costs data as $ 1500 and if I need to rectify how can I do so.
    Thanks,
    GAN

    Any suggestions please.
    Edited by: DSK on Feb 9, 2012 6:16 AM
    Edited by: DSK on Feb 13, 2012 4:39 AM

  • BAPI:Create sales order from an existing open sales order for open items

    Dear All,
    Could any one suggest me any BAPI that can create sales order from an existing OPEN sales order for OPEN items. since we are closing all open orders and creating new orders with reference to existing open orders.   please suggest, its would be great help.
    Regards,
    Reddy

    hi suresh,
    we are changing tax procedure from formula to condition based, so this is the reason we have close all the open orders and recreate in TAXINN procedure, it is going to be large number of records( open orders), so....
    Regards,
    Reddy

  • Applying Price list for sales order created from Internal Requisition

    I am using 12.0.5. I have created a price list and applicable discount. I am creating Internal Requisitions and Importing them into Order Management as Sales Order using "Create Internal Order" and "Import Request". But when the sales orders are created, the pricing flag is "Freeze Price" and to apply the price list, I have to change the pricing flag of each line and re-price order/ line. Is this a way around this such that Sales orders created from Internal Requisitions pick up the correct discounted selling pricing automatically after import?

    Hi Ravichandran,
    When the Internal Sales Orders are created via Order Import program, the pricing flag will be "Freeze Price" because the value of CALCULATE_PRICE_FLAG will be set to 'N' in the OE interface line table by the Create Internal Orders program. This is the standard functionality of the Oracle.
    However, if your requirement is to re-price the line (automatic application of discounts at the time of booking) after the SO is created then to avoid the manual repricing steps, you can write a custom program to update the CALCULATE_PRICE_FLAG to 'Y' for the OE Line records present in the interface tables itself. You need to make sure that this update happens before the Order Import program. You can create a Request Set to acheive this, for example...
    XXX Create Internal Orders (Custom Request Set)
    - Create Internal Order (Standard Oracle Program)
    - XXX Update PriceFlag for ISO (Custom Program to update the price flag)
    First run the above request set & then run standard Order Import program. So when SO is being booked, CALCULATE_PRICE_FLAG will be 'Y' i.e., Calculate Price, the required discounts will be pulled & the line will be re-priced automatically.
    I hope this is what you wanted to achieve. Let me know if you have any questions.
    Regards,
    Hemanth

  • No Purchase order and sales order from trading contact

    Hi Gurus,
    I am new to this module and i am trying to create a Trading contract. As I understand that the trading contract should create Purchase order and Sales order automatically. But in my case, this didn't happen.
    In this regard, I want to know,
    i. Are info records mandatory or mentioning the required purchasing and sales data during contract creation is sufficient.
    ii. What are the configurations required to do for GTM functionality and which are the points should I check for this.
    help me out.

    HI
    there are some status that is required to be set while you save a  trading contract.
    your trading contract must be approved or released..only then follow-on docs will be created.
    regards,
    Yadesh

  • Should an abaper have  knowledge of creating purachse order and sales order

    should an abaper have  knowledge of creating purachse order and sales order
    if so how to create pls help me
    thanks in advance

    REPORT ZTEST_BAPI .
    *- BAPI related declarations
    DATA : g_pohdr TYPE bapimepoheader,
    g_pohdrx TYPE bapimepoheaderx,
    gt_poitem TYPE TABLE OF bapimepoitem,
    gt_poitemx TYPE TABLE OF bapimepoitemx,
    gt_posched TYPE TABLE OF bapimeposchedule,
    gt_poschedx TYPE TABLE OF bapimeposchedulx,
    gt_poacct TYPE TABLE OF bapimepoaccount,
    gt_poacctx TYPE TABLE OF bapimepoaccountx,
    gt_poservice TYPE TABLE OF bapiesllc,
    gt_posrvacc TYPE TABLE OF bapiesklc,
    gt_return TYPE TABLE OF bapiret2.
    perform prepare_header.
    PERFORM prepare_items.
    PERFORM prepare_schedule.
    perform create_po.
    *& Form prepare_header
    Set up header structure
    FORM prepare_header.
    g_pohdr-comp_code = '2000'.
    g_pohdrx-comp_code = 'X'.
    set up doc type
    g_pohdr-doc_type = 'NB'.
    g_pohdrx-doc_type = 'X'.
    g_pohdr-vendor = '0008000330'.
    g_pohdrx-vendor = 'X'.
    g_pohdr-langu = sy-langu.
    g_pohdrx-langu = 'X'.
    g_pohdr-purch_org = 'BA01'.
    g_pohdrx-purch_org = 'X'.
    g_pohdr-pur_group = '800'.
    g_pohdrx-pur_group = 'X'.
    g_pohdr-currency = 'USD'.
    g_pohdrx-currency = 'X'.
    ENDFORM. " prepare_header
    *& Form prepare_items
    Set up item values
    FORM prepare_items.
    DATA : ls_poitem TYPE bapimepoitem,
    ls_poitemx TYPE bapimepoitemx.
    ls_poitem-po_item = '00010'.
    ls_poitemx-po_item = '00010'.
    ls_poitemx-po_itemx = 'X'.
    ls_poitem-short_text = 'ABSORBER,SHOCK:PALLETIZER'.
    ls_poitemx-short_text = 'X'.
    ls_poitem-material = '000000000001070062'.
    ls_poitemx-material = 'X'.
    ls_poitem-vend_mat = 'xyz'.
    ls_poitemx-vend_mat = 'X'.
    ls_poitem-quantity = '100'.
    ls_poitemx-quantity = 'X'.
    ls_poitem-po_unit = 'EA'.
    ls_poitemx-po_unit = 'X'.
    ls_poitem-po_unit_iso = 'EA'.
    ls_poitemx-po_unit_iso = 'X'.
    ls_poitem-net_price = '6.32'.
    ls_poitemx-net_price = 'X'.
    ls_poitem-price_unit = '1'.
    ls_poitemx-price_unit = 'X'.
    ls_poitem-item_cat = 'D'.
    ls_poitemx-item_cat = 'X'.
    ls_poitem-plant = '1575'.
    ls_poitemx-plant = 'X'.
    ls_poitem-ACCTASSCAT = 'K'.
    ls_poitemx-ACCTASSCAT = 'X'.
    ls_poitem-acctasscat = <fs_req>-knttp.
    ls_poitemx-acctasscat = 'X'.
    ls_poitem-distrib = <fs_req>-vrtkz.
    ls_poitemx-distrib = 'X'.
    ls_poitem-part_inv = <fs_req>-twrkz.
    ls_poitemx-part_inv = 'X'.
    ls_poitem-gr_ind = <fs_req>-wepos.
    ls_poitemx-gr_ind = 'X'.
    ls_poitem-gr_non_val = <fs_req>-weunb.
    ls_poitemx-gr_non_val = 'X'.
    ls_poitem-ir_ind = <fs_req>-repos.
    ls_poitemx-ir_ind = 'X'.
    ls_poitem-agreement = <fs_req>-konnr.
    ls_poitemx-agreement = 'X'.
    ls_poitem-agmt_item = <fs_req>-ktpnr.
    ls_poitemx-agmt_item = 'X'.
    ls_poitem-preq_no = <fs_req>-banfn.
    ls_poitemx-preq_no = 'X'.
    ls_poitem-preq_item = <fs_req>-bnfpo.
    ls_poitemx-preq_item = 'X'.
    ls_poitem-preq_name = <fs_req>-afnam.
    ls_poitemx-preq_name = 'X'.
    ls_poitem-pckg_no = <fs_req>-packno.
    ls_poitemx-pckg_no = 'X'.
    APPEND : ls_poitem TO gt_poitem,
    ls_poitemx TO gt_poitemx.
    ENDFORM. " prepare_items
    *& Form prepare_schedule
    Schedule data
    FORM prepare_schedule.
    DATA : ls_posched TYPE bapimeposchedule,
    ls_poschedx TYPE bapimeposchedulx.
    ls_poschedx-po_item = '00010'.
    ls_posched-po_item = '00010'.
    ls_poschedx-po_itemx = 'X'.
    ls_posched-delivery_date = '10/31/2005'.
    ls_poschedx-delivery_date = 'X'.
    ls_posched-quantity = '100'.
    ls_poschedx-quantity = 'X'.
    ls_posched-preq_no = <fs_req>-banfn.
    ls_poschedx-preq_no = 'X'.
    ls_posched-preq_item = <fs_req>-bnfpo.
    ls_poschedx-preq_item = 'X'.
    APPEND : ls_posched TO gt_posched,
    ls_poschedx TO gt_poschedx.
    ENDFORM. " prepare_schedule
    *& Form create_po
    Create PO with ref to the req
    FORM create_po.
    DATA : lt_return TYPE TABLE OF bapiret2,
    l_ponum TYPE banfn.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = g_pohdr
    poheaderx = g_pohdrx
    testrun = 'X'
    IMPORTING
    exppurchaseorder = l_ponum
    TABLES
    return = lt_return
    poitem = gt_poitem
    poitemx = gt_poitemx
    poschedule = gt_posched
    poschedulex = gt_poschedx
    poaccount = gt_poacct
    poaccountx = gt_poacctx
    poservices = gt_poservice
    posrvaccessvalues = gt_posrvacc.
    APPEND LINES OF lt_return TO gt_return.
    IF NOT l_ponum IS INITIAL.
    MESSAGE s398(00) WITH 'Purchase document ' l_ponum
    ' successfully created'.
    ENDIF.
    ENDFORM. " create_po
    <b>Reward points</b>
    Regards

Maybe you are looking for