Linkage Between PIRs and Sales Order in STandard SAP or AFS

Hi Gurus,
We are implementing the concept of Planned Independent Requirements(PIRs) in SAP AFS.
Below is the process am following :
1. Create PIRs.
2. Create a Purchase Requisitions.
3. Create Sales Order.
I am using the concept of forward consumptiona and planning strategy 40 for the PIRs consumption.
Also I understand that the Sales order will consume the PIRs.But when I go the stock Requirements
list I dont see any changes happening.I mean I dont see any linkage between the Sales Order or the PIRs.
Please help on the above concept,Am trying to understand how does the concept of PIRs work and how can I simulate and see the results in SAP.What will happen to the PIRs and SO and how can I see the linkage that a Particular Sales Order has consumed the PIR.
Any help on this would be appreciable.
Thanks,
Jinen

Hi,
I am explaining the cycle of PIR.
Strategy group(which is used in MRP3) is the combination of different strategies.
The strategies are defined in this following Path
SPRO->Production->Production Planning>Demand Management>Planned Independent Requirements>Planning Strategy>Define Strategy.
Strategy is the combination of requirement types defined wrt demand managament(PIR)-PP area
and req types defined wrt customer(SD area).
These requirement types are assigned to requirement class.
PP area, to assign req type to req class,
Production Planning->Demand Management>Planned Independent Requirements->Requirements Types/Requirements Classes>Define requirements types and allocate requirements class.
In SD area, In OVZH u will assign req type to req class.
In PP area, this requirement class is defined in OMPO transaction where u will maintain Planning indicator,consumption indicator etc.....
In SD area, u will maintain it in OVZG transaction.
For Strategy 40 requirment class are 101, requirement type VSF, Customer req type is KSV
Just check for the above settings.
First create the PIR. Then create sale order. and check in MD04. PIR will get consumed based on the inwarded sales order.
Revert back for any clarification.
Thanks and Regds
Sridhara K N

Similar Messages

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Planning Strategy that drive demand on both PIR and Sales Order

    Hi,
    Do anyone know is there any planning strategy that i could use to drive demand on both PIR and SO? PS 40 won't suitable as it will compare between PIR and SO and only drive demand on which is higher in term of quantity loaded in. I am looking on a planning strategy which will sum up both PIR and SO as total demand.
    Thank you.

    Hi,
    Try Planning Strategy Production By Lot Size (30) it will create planned order by mrp run from PIR and SO, no consumption will do for this planning strategy. This planning strategy commonly used where you want to keep existing sales order in MD04 (usually contract sales type, not a direct sales) as a requirement to generate planned order.
    Here some brief explanation  http://help.sap.com/saphelp_40b/helpdata/en/cb/7f93d943b711d189410000e829fbbd/content.htm
    Regards,
    Arman

  • Link between PO and Sales Order?

    Hi,
    I have an issue..I need to send an idoc containing PO with fields (like ebeln, lifnr...etc). Along with this PO, I need to send a field 'customer po number (vbkd-bstkd)' from sales order.
    Could you please help me out to find out the link between purchase order and sales order? how to fetch customer purchase order number from po number?
    Also what is the difference between Purchase order number and Customer purchase order number?

    The customer purchase order number is the number of the purchase order which you get from one of your <b>customers</b>. This number is copied in the sales order, for future reference.
    On the other hand, the purchase order is the order you send to one of your <b>vendors</b>.
    Thus the sales order and the purchase order are two indipendent objects. The customer purchase order number does not reference any document on the ERP. Therefore you can't link a purchase order to a sales order.
    Refer to the SAP Solution forum SAP ERP Sales and Distribution (SAP SD) for this kind of questions.
    Regards, Davide
    Message was edited by:
            Davide Cavallari

  • SD-How to find table of link between delivery and sales order?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    Hi frank
    Check the following tables  VBAP , VAPMA , VBUP . It may help you
    Regards
    Srinath

  • Link between Project and Sales Order

    Apart from sales order can we have a link between project and customer master ??
    I know that WBS element assignment can be made in sales order but i want to have link between
    customer master and project. I don't want any user field or text field in sales order.
    Any idea ?
    Regards
    Ashish

    Yes Mr Ashish!
    As far as iam concern there is no link between Project & Customer Master, you have to link it with SALES order, I had check in XD03,XD01, the complete customer master, i didnt find any field in customer master which links with Project.
    I'll let you know if i find any links.
    Regards,
    ANSAR

  • Would like solution for Copy Control Between Quotation and Sales Order

    Hi Expert,
    My customer requirement are the following topic:
    1. need condition type (item) to input FIX AMOUNT in Quotation
    2. once copy Quotation to Sales Order Condition have to copy not depend on quantity
    for example
    QUOTATION#1
    =item#1 quantity 20 PC
       =condition#1 fix amount 100 USD
    ================================ copy Quotation to SO
    SO#1
    =item#1 quantity 2 PC
       =condition#1 fix amount 100 USD <-----  full copy and not depend on quantity
    But on my setting I get Sales Order 2 PC with condition#1 10 USD ....
    I need the way to Configure or Customize (need configure if have)
    Many thanks for Advise me
    Best Regard,
    Atom
    Edited by: korakoj chantarasupawong on Mar 25, 2011 7:28 AM

    Thank you very much,
    for my customer requirement for this condition is handing charge.
    This handing charge is agreement between my customer and thier customer to keep fix amount per sales order.
    such as 1 quotations per item has handing charge 100 usd per 10 TON product
    if thier customer would like to split delivery (open sales order) 10 times, they have to earn 100 usd / 10 times.
    so this is the meaning for this condition.
    so
    QUO#1
    item#1
    - mat A 10 TON (handing charge 100 USD per 1 sales order)
    - mat B 20 TON (handing charge 20 USD per 1 sales order)
    --> copy to sales order 1
    SO#1
    item#1
    - mat A 2 TON (handing charge 100 USD per 1 sales order)
    - mat B 1 TON (handing charge 20 USD per 1 sales order)
    --> copy to sales order 2
    SO#2
    item#1
    - mat A 8 TON (handing charge 100 USD per 1 sales order)
    - mat B 19 TON (handing charge 20 USD per 1 sales order)
    some thing like that's
    many thank expert
    please carry on advise me thanks

  • Issue between PO and Sales order

    we are having a serious performance issue in one certain circumstance.
    we have a sales order with 1800 items on it. of these 1800 items, 21 have generated a third party PO, for the goods to be shipped directly to the customer from the supplier.
    When we make a change to the purchase order, for example, to update the confirmation, and hit save, even for a single item, it can take more than a minute to do the update. It appears it is looping through the VBUP table for ALL items in the sales order, and any follow on documents, and pulling in first all VBUP records for the order, then all vbup records for the item. So it appears we are reading the full VBUP for the entire order 1800 times! THis is regardless of the fact that we have the sales order and item, so we dont need to read the entire VBUP for the sales document, and also regardless of the fact that only 21 of the items on the sales order have anything to do with our purchase order!
    I have tried a trace to see where VBUP is getting read and it is 90% of the response time of the save being used just read these records, over and over and over.
    Has anyone ever seen this or found a fix? i have searched google and here and OSS.
    What ties the PO to the sales order, other than the account assignment? what about the sales order is getting updated when we change a PO item, especially, just a confirmation?
    I have checked for user exits, etc, and we are running this vanilla.

    Hi David,
    I guess it might be hard if this is std code all along that takes that much time to process operation you describe.
    You might try some to do some things to speed this up if you are sure that reading VBUP is taking most of the time:
    1) add an index on some fields of this table (this might not be needed as the logic should know the key which is sales order no and item no
    2) try to archive some old data that will free the VBUP from some records and will speed up reading
    Of course you might also ask SAP via OSS channel but I guess if it's only a minute they won't really treat it as any bug and will answer "work as designed" and suggest creating smaller sales order (split the big ones).
    Good luck anyway...
    Tomek

  • Joins between transactions and sales order tables?

    Hi all,
    SELECT ott.NAME,
                 msi.organization_id
      FROM apps.mtl_material_transactions mmt,
                apps.mtl_system_items_kfv msi,
                apps.oe_order_headers_all ooha,
                apps.oe_order_lines_all oola,
                apps.oe_transaction_types_tl ott
    WHERE     mmt.transaction_type_id = 12
           AND mmt.inventory_item_id = msi.inventory_item_id
           AND mmt.organization_id = msi.organization_id
           AND ooha.header_id = oola.header_id
           AND oola.line_id = mmt.trx_source_line_id
           AND oola.inventory_item_id= msi.inventory_item_id
           AND ooha.order_type_id= ott.transaction_type_id
           AND mmt.inventory_item_id = 1234
           AND msi.organization_id = 20
    And i don't have inventory item id with this transaction_type_id = 12

    Transaction_type_id 12 is a "Receive from Intransit".  I don't think those will join to sales orders.  What are you trying to accomplish?

  • How to make plant mandatory field in Sales order thru standard SAP process

    Hello,
    There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
    I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
    Thanks & Regards,
    Saurabh

    HI
    Plant will determine based on Customer-material Info Record, Customer Master data & material Master
    If plant is not mandatory in customer Master and Customer material no problem
    but at the time of creating the material master  Plant Mandatory as per my knowledge, so system will pick plant from Material master  that is the case why you required plant Mandatory in Sale order level
    and you need to do Shipping Point Determination for that plant
    Did you check by using User Exit ? if not try once what i have suggested
    Try with User Exit
    MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
    VBAP - WERKS = " "
    if VBAP - MATNR , POSNR = not initial
    Error Messgae "E"
    Check and Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 14, 2012 11:41 AM

  • Difference between J_3AMADKA and MBEW / Update SKU standard prices with AFS

    Dear reader,
    Environement: ECC 6 with AFS 6.3
    In a first step,I am trying to create, and in a second step, to update the SKU standard prices using FM: BAPI_MATERIAL_SAVEDATA.
    It is really strange the way it performs changes on table MBEW and J_3AMADKA.
    Can anyone explain to me the different use of those two tables? I thought that the  J_3AMADKA was dedicated to SKU level, but finally, the TA: /n/afs/conv1 create the SKU standard prices only in MBEW !? But BAPI_MATERIAL_SAVEDATA.
    just create ONE entree in MBEW (?!?) while all SKU entree but without prices in  J_3AMADKA.
    In  FM: BAPI_MATERIAL_SAVEDATA., I mainly filled structure   VALUATIONDATA (=> MBEW)  and  SKU_PLANTDATA_VALUATION, where surprisingly, there is no standard price field for the SKU !?
    Any link or remarks about this topice will be most apprecitaed,
    Thanks,
    Daniel

    Hi Kalias,
    Many thanks for your fats reply.
    I had a look to the (really old) SAP notes and after some few researches, it seems that AFS 6.3 insert the PRICE and ZKPRS columns again into table J_3AMADKA.
    Those columns are even populated with values So it means that they are required by some SAP standard programms.
    Maybe you have another clue about this topic?
    Thanks again for your help,
    Daniel

  • Link between Accounting Document and Sales Order

    Dear SD Gurus,
    How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
    Kindly specify the table links and fields to fetch the above details
    Regards
    Vimal

    Link Between SAP SD, MM & FI
    The link between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    Now the link between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    SD Integration points with other modules
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    SD Transaction Code Flow: 
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    <b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • What is the relation between delivery num , sales order num and invoice

    what is the relation between delivery num , sales order num and invoice

    Look at VBFA Table
    goto VBFA table ,enter order number number vbelv ,vbtyp_n is C,then VBELN is the delivery
    if you enter delivery number in vbelv ,vbtyp_n is J,then vbeln is Invoice.
    here VBTYP_N is the import.
    VBFA is the sales document flow table,and very important table
    Thanks
    seshu

  • Tell me the link between Purchase Requisition and Sales Order Number

    tell me the link between Purchase Requisition(MEREQ_TOPLINE-BANFN_EXT) and Sales Order Number(COBL-KDAUF)

    Hi Puja,
    If you have created sales order  for matrial which has both procurement type,after MRP run you will get
    planned order.This planned order you can convert to purchase requisition for external procurement or
    subcontracting.
    You will find sales order number in details of purchase requisition ( ME52N) in Account assignment tab.
    Hope this help you.
    Regards,
    Raja

  • MTO(Diff between complex make to order and sales order based mass prod)

    Hi
    We are using MTO...Can anyone tell me what is the Diff between complex make to order and sales order based mass prod in finance perspective?

    Hi,
    In the case of complex make to order scenario, through MRP, the Project shall be assigned to the sales order. Then there will be milestone billling and all. In the case of mass production MTO, it is only creation of production order for each sales order item and each sales order item shall have sales order cost estimate.
    Trust this helps much and do encourage our efforts!
    Cheers!
    Edited by: Ashok Singh on Oct 28, 2008 6:53 PM

Maybe you are looking for