How to extract planned independent reqmts allocated quantity ref MD73

Hi expert,
I am looking for a hint that I could share with our developer on how to get the unallocated/or allocated portion of a planned independent requirement (we are developping a kind of multilevel shortage report). For exemple, report MD73 provide this information and in MD04 we see the unallocated portion.
Is there anyone who was able to program this using function module, tables or anything else? The standard BAPI like BAPI_REQUIREMENTS_GETDETAIL doesn't provide this information.
Someone recommended to use tables MDKP,MDPS but not sure if could achieve my goal. Some other recommended fm REQUIREMENTS_ALLOCATION but I'm not convince eigther. I hope there is a simpler way.
Your help will be greatly appreciated.
FP

Tks Raymond, thank you for sharing your experience.
I maybe tempted by MD_MRP_LIST_API since the report we develop will be generated after our daily MRP run. This FM provides right away the information for scenarios with MPN-MRP set (materials with interchangeabilities). I don't see yet how to get this with MD_STOCK_REQUIREMENTS_LIST.
Could you explain why you used  Requirements Allocation module? Are you refering to the fm REQUIREMENTS_ALLOCATION ? Is it to know which items have PIR (we are currently using BAPI_REQUIREMENTS_GETDETAIL for this)?
By any chance would you know what is the parameter INPER wich is passed to the fm MD_MRP_LIST and MD_STOCK_REQUIREMENTS_LIST ?
FP
Edited by: Francois Paquet on Nov 14, 2011 3:37 PM

Similar Messages

  • How to extract Plan cost from project #

    Hi,
    I am new to PS.I have a requirement for extracting plan cost from Project #
    Is there any FM? or table for this?
    Plan cost should be equal to S_ALR_87013532 report Plan column.
    FYI..I am writing an ABAP report.
    rgds
    vara
    Edited by: Vara K on Jan 13, 2009 11:48 PM

    First Get Struture name for Transaction CJ40
    Goto SE11, and enter your structure name.eg. RKPLN
    Goto the field that holds your data (e.g.WKGXXX), and double-click on the element name. Once inside the element, do a where-used list for that element, searching tables only.
    Then go into each table, and see if you can find the one holding your data.
    E.g COEJ,COEP,COSS
    Regards,
    Nitin

  • Uploading Planned Independent requirements

    Hi Gurus,
    Could anybody suggest how to upload planned independent requirements with LSMW? I have tried doing the same with the direct input method but the standard program gives an error and does not run. Is there any way of doing the same?
    Thanks and regards,
    Abhik

    LSMW Will not work for PIR use BAPI 'BAPI_REQUIREMENTS_CREATE'  for PIR creation.
    In SE37 You can check this.
    Regards,
    Ajay Nikte
    Edited by: Ajay Nikte on Jun 24, 2008 11:53 AM

  • How to extract data from planning book

    nu t apo. need help regarding how to extract data from planning book givn the planning book name , view name & some key figures.
    Total Demand (Key Figure DMDTO):
    o     Forecast
    o     Sales Order
    o     Distribution Demand (Planned)
    o     Distribution Demand (Confirmed)
    o     Distribution Demand (TLB-Confirmed)
    o     Dependent Demand
    Total Receipts (Key Figure RECTO):
    o     Distribution Receipt (Planned)
    o     Distribution Receipt (Confirmed)
    o     Distribution Receipt (TLB-Confirmed)
    o     In-Transit
    o     Production (Planned)
    o     Production (Confirmed)
    o     Manufacture of Co-Products
    Stock on Hand (Key Figure STOCK):
    o     Stock on Hand (Excluding Blocked stock)
    o     Stock on Hand (Including Blocked stock)
    In-Transit Inventory (Cross-company stock transfers)
    Work-in-progress (Planned orders / Process orders with start date in one period and finish date in another period)
    Production (Planned), Production (Confirmed) and Distribution Receipt elements need to be converted based on Goods Receipt date for projected inventory calculation.

    Hello Debadrita,
    Function Module BAPI_PBSRVAPS_GETDETAIL2 or BAPI_PBSRVAPS_GETDETAIL can help you.
    For BAPI BAPI_PBSRVAPS_GETDETAIL, the parameters are:
    1) PLANNINGBOOK - the name of your planning book
    2) DATA_VIEW - name of your data view
    3) KEY_FIGURE_SELECTION - list of key figures you want to read
    4)  SELECTION - selection parameters which describe the attributes of the data you want to read (e.g. the category or brand). This is basically a list of characteristics and characteristic values.
    BAPI_PBSRVAPS_GETDETAIL2 is very similar to BAPI_PBSRVAPS_GETDETAI but is only available from SCM 4.1 onwards.
    For the complete list of parameters, you can go to transaction SE37, enter the function module names above and check out the documentation.
    Please post again if you have questions.
    Hope this helps.

  • Quota Arrangement || Allocated Quantity

    Hi All,
    I am currently dealing with two issues related to Quota Arrangement which are as follows:
    I have a product in APO on which inbound quota arrangement is set. The product is procured from a vendor and purchase requisitions are created on it. The validity of the quota is from 01.01.2000 to 31.12.2014. Now as per the business requirement we need to extend the validity till 31.12.2015. In APO we can't extend the validity of the quota. The other option is to delete this quota and create the new quota arrangement  of desired validity. But the challenge is 32,654 quantity is already allocated to it( in Allocated quantity field, which is as per my understanding the sum quantity of purchase requisitions and purchase orders). If I delete the quota what will be the affects of it ???. How should I proceed with this issue ???
    I have integrated a new product in APO and I am trying to arrange a quota for the same. I created it successfully. There are purchase requisitions and purchase orders created on it. However, I can see 0 in the allocated quantity field. Can anyone help me in understanding the reason behind 0 Allocated Quantity ???
    Thanks,
    Swapnil

    Dear Sethuraman,
    P - Type of procurement (Internal manufacturing, External Procurement).
    S - Special procurement type. For example consignment / sub-contracting.
    Vendor - Number of Vendor Master
    PPI - Your internal plant from which you will be manufacturing the material.
    Ver. - Production version.
    Quota - The quota percentage in which the required quantity is to be splitt.
    Allocated Qty - Total quantity from all purchase requisitions, purchase orders, release orders, and scheduling agreement schedules allocated to a given source of supply. (The quantities of quota-allocated planned orders are also taken into account.)
    Maximum Quantity - Max qty which is to be assigned to this vendor.
    Quota Base quantity - If you get a new vendor in the quota arrangement, the quota base quantity is to be entered here to avoid all requirements being assigned to the new vendor.
    Max & Min Lot Size - The lot size related to this vendor.
    Rounding Profile -
    1X - Mark tick here of the vendor is to be assigned only one lot during a MRP run. (may be due to capacity restriction).
    Maximum Release quantity - Max qty the vendor should be assigned per MRP period.
    No. - Number of periods for which the Max release qty relates.
    P - Period to which this qty relates.
    Pr - Priority determination sequence
    Determining the Quota Base Quantity
    The quota base quantity is used only when you include a new source in an existing quota arrangement.
    Read SAP Help for more details Determining the Source Under a Quota Arrangement - Purchasing (MM-PUR) - SAP Library
    Split Quota issue
    Thanks & Regards,
    Ramagiri

  • Plan independent requirement?

    hi
    what is plan independent requirement and what is the link with it sales order.is it made after sales order or before sales order.please explain in detail.also please explain what is the the difference between
    mrp type PD and VB.
                                                                                    regards
                                                                                    sanjay

    As the name suggests ,it is independent on sales order or any other orders. It is the input to MRP. If for a material you are creating PIR in MD61 as 100 in 1 month, It means you need 100 qty of that material produced in your plant after one month. It is independent.
    Then MRP will give you the procirement proposals like purchase requisitions(if externally procured materials are short of the requirement..i.e for 100 qty) and planned orders(if inhouse materuals are short of the requirement..i.e for 100 qty)...
    PIRs are those which are created by you.. you can create them at any time. MRp will take care of making the necesary materials to be available for that requirement...i.e it will prompt us the dates on which the materials have to be available in the plant to meert the requirement...
    PD and VB:
    PDwill work with BOM structures.
    Imagine the final material A , and its component B
    you need 2 pieces of B to produce 1 piece of A.If you work with PD and you receive for example a sales order for A of 10 pieces , the MRP with PD will determinate that you need 20 pieces of B taken into account the sales order delivery date.
    The system will use the BOM to know the quantity that you need. You will not have additional stock for the component B. The system will procure when and how many pieces you need.
    IF with the same example you work with VB for component B, then you have to define a reorder point (example 5).
    If your stock is bellow that level ,the system will procure to get again the reorder point level. If you have enough stock (example 30) the system will not create any purchase requisiton for B, independent of the sales orders of A , and the reservation of 20 pieces.
    When yuo work with expensive components you should use PD , because you don´t have stock without pegged requirements.
    if the materials are cheap and you need to have allways some stock , you can define VB as planning type.
    karthick

  • Update for Planned independent requirements MD61

    Hello,
    I'm doing update for Planned independent requirements, from excel file for plan, than incuding material and quantity per period, using transaction MD61. I have the next inputs:
    - Reqmts plan
    - Plant
    - Version
    - Planning horizon
    - Planning period
    I tried with 2 possible solution, with differents problems:
    1. Batch input to MD61: Here I have the problem with go to the next page, for quantity more than the rows displayed in the table control of dynpro in MD61. it does not work with OK_CODE '=P+'and I followed differents advices of other post in SDN but anything worked.
    2. Function module: BAPI_REQUIREMENTS_CHANGE and BAPI_REQUIREMENTS_CREATED, I deleted all materials for plan before the update through batch input (this works) then I can use both Function Modules. The problem in this solution is that when I have planning period: 'P' or 'K' the system saves the plan with inconsistences for variant of period or calendar (this information is managed in batch input on MD61)
    Thanks for your suggestions,

    Hi,
    Following are the tables
    PBIM                    Independent requirements for material
    PBED                    Independent requirement data
    PBHI                    Independent requirement history
    PBIV                    Independent requirement index
    PBIC                    Independent requirement index for customer req.
    Regards,
    Vishal

  • Allocation quantity using quota arrangement

    Hi folks.
    please let me know what I need to do in order to allocate the schedule lines according the quota defined. I mean.. if I have a demand for 100 PC for each weak and a quota arrangement with 60% for vendor A and 40% for vendor B how can I get for each weak a schedule line with 60 PCs to vendor A and 40PCs to vendor B?
    tks

    Tks Baweja. But actually what is happening is that the system is allocating quantity only to a one vendor and not distributing the quantities for both. 
    week    qty    vendor
    1           60       A
    1           40       B
    2           60       A
    2           40       B
    3           60       A
    3           40       B
    4           60       A
    4           40       B
    5           60       A
    5           40       B
    What I found out was that to split the quota we have to set up it in the lot size procedure.
    spro->production->materials requirements planning->planning->lot size calculation->check lot-size procedure->mrp lot size

  • Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"

    Hi all,
    We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded. 
    I understand we could use logical file for this purpose.  However we are not sure how to have the period and year to be dynamically derived in filename.
    I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename".  However i could not seem to be able to get document from the link given. 
    Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
    Many thanks and best regards,
    Victoria

    Hi,
    After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths'  then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of  physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
    however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
    hope this helps u to some extent.
    Regards

  • How to extract PS data from sap r/3 to bw

    Hi,
    How to extract PS data from sap r/3 to bw
    PS data like plans,budget,accurals&commitmnets
    can any one help me regarding this..
    Thanks in Advance,
    Shankar.

    HI sankar,
    you can refer the belkow link to find the details on the relevant extractors and infoproviders
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/17/416d030524064cb2b8d58ffb306f3a/frameset.htm
    Regards,
    Sathya

  • How to Load Planning Adapter for SAP R/3 into DIM

    I'm sucessfully instaled Oracle-Hyperion Data Integration Managenet v.11.1.1.1, now i need to extract data from SAP R/3 and load it into a Planning application. I understand that i must use an adaptaer for Planning, i already have HyperionPlanning.reg file and other .reg and .jar files. At this point I don't know what i must do with this files and how can load planning adapters into Data Integration Management.
    I appreciate any information, there is not a lot information abour DIM in the web, even in the Oracle EPM Documentation site.
    My best regards,
    Melvin.

    hi,
    not very nice but and not really satisfying:
    if the users of the remote-users for the logon from the BWs onto the one R/3 differ you could use sy-uname to check what bw is extracting ...
    everything else is a bit more complex
    hth
    cheers
    sven

  • How to activate planning version

    hi,
    sap gurus,
    in which t.code we will create planing version for product allocation.
    please explain how to activate planning version in product allocation.  when we go T.CODE MC93
    there the planning version 'A00' showing active instead of '000' which works as a updation when ever requried.
    regards

    Dear,
    A00 is active version
    What we need to do is create inactive version say 001 or 010 anything and forcast sales plan or production plan
    Creat sales plan in MC87 and then goto MC88 make this inactive plan to active plan which system automatically takes to A00
    Logistics u2192 Production u2192 SOP u2192 Planning u2192 Version Managementu2192 MC78 Copy
    So here in the Source Version Provide the SOP version that you have created,
    In the Target Version give Version A00
    Hope clear to you.
    Regards,
    R.Brahmankar

  • ATP against planned independent requirements

    I have set up materials that are linked to planning materials using strategy group 63.  I have tested setting the planning material consumption to a 2 for forwards/backwards and 3 for forward only.  I have set up planned independent requirements by week.
    When I book a sales order it gives me a material availability date that is in the week prior to the availability of the material based on planning.  For example I have 100 parts available for week 30 which starts on July 21 yet my sales order shows a material availability date of 7/16 and a goods issue date of 7/18.  How can I ship the goods if they are not available yet.   Any ideas on what could be wrong?? 
    Many thanks for any and all help!!
    Debbie

    Hi YMReddy,
    my requirement is that I input PIR for some materials, and want those materials reserved by this PIR, since this PIR are special, can not be used by other requirement.
    regards
    Gang

  • How can consider Planned delivery time for subcontracting dependent of qty

    Dear guru ,
    How can mrp schedule delivery date of a subcontracting purchase requisition in order to consider planned delivery time and quantity to purchase.
    Thanks

    dear guru ,
    I want to create a self-defined info structure similar to S013.
    I want to add field purchasing group from EKKO-EKGRP. The other fields are similar to S013 with the same rules.
    What do you suggest i can do consider note 397864 :
    You are not permitted :a) to use info structure S013 as a template for self-defined info structures (This is prevented as of Release 4.5 due to a termination message).b) to create any update rules for S013 with a self-defined update group.c) to include the enhanced update rules that are used for S013 during the definition of key figure updating into the definition of the update of a self-defined info structure (compute...).
    Thanks

  • How to Close Planned Over Heads in product costing

    HI,
    We are maintaining planned over heads through KP26 and Costing sheet.Kindly tell me how to close planned over head wether it is periodicall closing or other?
    Kindly provide me the guide lines  how to do this Planned overheads closing in the system?How many ways are there to close planned overheads in the system?
    Kindly adviice me?
    Thanks
    Sunitha

    Dear Sunitha,
    To run the Cost estimate or close the planned overhead KP26 and Costing Sheet is not enough you have to move forward and you need to define Cost component Structure (OKTZ) Path: SPRO > IMG > Controlling > Product Cost Controlling > Product Cost Planning > Basic Setting for Material Costing > Define Cost Component Structure. After maintaining cost component structure you need to define Costing variant T.code OKKN Path: SPRO > IMG > Controlling > Product Cost Controlling > Product Cost Planning > Material Cost Estimate with Quantity Structure . Here you copy PPC1 standard and create your own costing Variant.
    After Maintaining the Configuration go to T.code CK11n and run your costing and if it is correct then save it. To update Price in MM run T.code CK24 and release Material and update it.
    thx.
    Ganpat

Maybe you are looking for

  • Video Cards with Standard DP & HDMI Ports

    Since the NVIDEA 120 and ATI 4870 both have mini-DisplayPorts, they require an <adapter> to use with any monitor other than Apple's 24" LED (correct me if I am wrong); and, since use of the adapter does not allow <audio> pass thru . . . I am looking

  • Error opening images in CS4

    Hello, i've installed Adobe Photoshop CS4 on my computer with other apps, such as Adobe Bridge CS4, Adobe Extension Manager CS4 and others. It runs normally, but when i would open an image file (any type) or PSD it freezes for a few seconds and then

  • Strange problem with (gnome) networkmanager

    I am trying to use gnome network manager to control my network, but there is a problem. I use adsl to connect to internet, after turning to network manager, I can't browse the web and emule (with wine) shows internet connection is down but pppoe-stat

  • Windows Failover Cluster Manager Error

    I have a node that is not able join the Hyper-V cluster that it was previously running in the cluster without problems. The cluster service encountered an unexpected problem and will be shut down. The error code was '2'. C:\Windows\Cluster>clussvc.ex

  • Unable to handle fault thrwon by BPEL in ESB

    hi , my bpel process(syncronous request&reply) is throwing the remote fault and my ESB process is not picking the fault even both fault schema are same. error message: <MSG_TEXT>An error occurred for port: BPEL_OC4J_SOAP_Provider: javax.xml.rpc.soap.