FM for knowing the required qunatity

Hi all ,
I have a finished good (material number ) with me .
It is made up of different semi-finished and raw materials .
Suppose i need 1000 quantity , and finished good is not available ....
I need to know how much of these semi finished and raw materials are required to make the finished good .
Is there any FM , which tells us the quantity of semi finished and raw materials required for a given input ....
Let me know any process is there if no FM is available ..
Regards
Raj

Usually they are known as Bill of Materials, where the First level of finished goods is made of semi finished goods & Raw material. Semi finished goods can also be made of Raw material.So, for the Finished goods you may require all the material which are required in production.
Look at CS_BOM_EXPL_MAT_V2
call function 'CS_BOM_EXPL_MAT_V2'
    exporting
      ftrel                 =  ' '
      capid                 = 'PP01'  --> it depends on the BOM
      datuv                 = p_date --> Current date
      emeng                 = 1
      mehrs                 = 'X'
      mtnrv                 = matnr  --> Material
      stlan                 = stlan   --> This value you need to get from MAST table by passing Material & Plant
      werks                 = werks --> Plant
    tables
      stb                   = t_stb --> this will be the OUTPUT table
    exceptions
      alt_not_found         = 1
      call_invalid          = 2
      material_not_found    = 3
      missing_authorization = 4
      no_bom_found          = 5
      no_plant_data         = 6
      no_suitable_bom_found = 7
      conversion_error      = 8
      others                = 9.
Above Function module is for multiple level and you can also retrieve data from joining MAST & STPO tables.

Similar Messages

  • Please send sample document for understanding the requirement for reports

    Hi
    Can some body send sample document for the understanding the requiremets of reports in BI
    I nee to prepare sample document for understanding the requirement.
    please help on this.
    Regards,
    Anand Reddy

    hai experts,
            please  share the code how to enable the selections  at the rsa3 level ,if the generic extractor is based on function module.
         thanks in advance

  • Anyone know the required power supply for ipod shuffle???

    Everyone,
    I just bought a new USB power adapter. I intend to use it to charge my iPod Shuffle, butt am a little suspicious about its output voltage. I tried to look everwhere on the website and even chat with the help desk, but nothing comes up !!! Unbelievable!
    Please, if you know the power voltage for the iPod shuffle, please let me know...
    Thanks

    The output of the IPod USB charger is 50-60HZ 5V 1.0 A
    Couldn't find it any where online had to go find mine.

  • BAPI for knowing the Billing Status of DMR(Resource Related Billing)

    Dear All,
    I need to know the Billing Status of a Debit Memo Request from the External System.
    The Document Flow will be:
    Sales Order>DP91>DMR Creation(DR)[VA01]-->Debit Memo Creation(L2)[VF01]
    From the external system I need to know whether the DMR has been billed or not.
    I have used one BAPI "DISPLAY_DOCUMENT_FLOW_ALV"
    in which it was asking to specify a value in the Input Parameter"IV_TITLE_STATUS_SET".
    Tell me if this is the correct BAPI and if so what value we need to specify in the Input Parameter.
    Needless to say points will be given for helpul replies.
    Regards,
    Raj Kumar Reddy.

    Hi,
    You are correct that stauts is updated in table VBUK and VBUP.
    However, a sales order does not determine a billing status for delivery related billing, field
    VBUP-FKSTA is only determined for delivey.
    So, it is correct behavior that VBUP-FKSTA = BLANK when searching VBUP with
    VBUP-VBELN = sales order number.
    Just because of above reason, you will not find billing status field in VA03 -> goto header/item;
    you could only find billing status field for delivery in VL03N -> status overview.
    It seems that you are trying to find out sales orders that have been fully deliveried and fully billed, am I right? As far as I know, there is no directly table/field/tcode that could meet your requirement.
    You could consider following workaround:
    firstly, get a list of deliveries that have been fully billied(search VBUP with VBUP-FKSTA = C or search VBUK with VBUK-FKSTK = C);
    Secondly, using these deliveries to search table VBFA to find out related sales orders.
    Hope this helps.
    Best regards,
    Crystal

  • Tool used for knowing the performance

    Which is tool used in oracle to know the performance of the query executed with time taken for execution???

    hi
    In SQL plus, please use the below command and then run the Query to know the time taken by the query.
    SQL>Set Timing on
    Regards
    K.Rajkumar

  • Want to know the sale order report for Delivery bclok at header level

    Dear,
    i would like to know some reports
    1). I would like to know  is ther any  SAP std report  is available for Sale order if Blocked for delivery(VBAK-LIFSK)??
    2). is ther any report for knowing the Sale order  if header/item text  is maintained??
    Pl advice if any std report is available.
    Thanks in advance

    Dear Pradyumna,
    Thanks for your reply, I did't find any Header r item text in the report.
    Pl suggest is there any other report is availble???
    Thanks in adv.

  • Scheduling the requirement quantities on different dates for different vend

    Dear Gurus,
    We have requirement of generating the shcedule line on different dates
    in case multi supplier. The part is supplied by 3 different supplier when executing MRP the system generated schedule line on same date for each supplier,
    however the business requirement is not to receive all material on same
    date. But to receive all the requirements on the 3 consecutive days say for 3 different vendors. We have maintained Quota Arrangement for splitting the requirements order quantity.
    Pls suggest the configuration / Material master changes we need to make for the same.
    Regards,
    Pradeep Santara

    Hi
       If you want different dely dates for each supplier, you maintain different planned dely time in supplier specific inforecord for that particular material.
    Hope this will solve your problem.
    Reward if so
    thanks & regards
    sri.

  • Periodic lot size PR not covering the requirement for the periods

    Dear Experts,
    I am using customized monthly lot size size key with Periodic lot size procedure and number of periods 3 months.
    The MRP is creating one purchase requisitions for all the requirements for the first month only. The second and third month requirements are not included for the purchase requisition quantity. The second and third month requirements are kept opened without any PR.
    The planning harizon is 100 days which is more than 3 months. There is no maximum lot size restrictions. But still why the purchase requisition quantity is not included the second and third month requirements.
    Please give your valuable suggestions.
    thanks and regards
    Muru

    Dear Experts,
    I am using customized monthly lot size size key with Periodic lot size procedure and number of periods 3 months.
    The MRP is creating one purchase requisitions for all the requirements for the first month only. The second and third month requirements are not included for the purchase requisition quantity. The second and third month requirements are kept opened without any PR.
    The planning harizon is 100 days which is more than 3 months. There is no maximum lot size restrictions. But still why the purchase requisition quantity is not included the second and third month requirements.
    Please give your valuable suggestions.
    thanks and regards
    Muru

  • Any ideas for this Business requirement

    Hi All,
    Just wondering to see if any of you have encountered the following business requirement and if so how we can address it.
    Business Requirement:
    (1) Distribution Centers(DC Plant) maintains a relationship with the Factory(Production Plant) that can allow for the swapping of planned production of one product with the planned production of another product. This relation can allow for the partial or complete swapping of one unit of planned production with another in the group.
    Example: Product Group1 has 2 products underneath it- Product A and Product B
    n= Current period (Month)
    n+1= Next period.........
    After n+4 periods, the production qty are as follows:
    Prod qty@ Product A = 10
    Prod qty@ Product B = 30
    Hence the Production Qty@ Product Group 1 = 20+20 = 40 ( Aggregation of the prod qty from products to product group level)
    The swap of production can be btw Product A and Product B and should not exceed the total Production Qty for the product group
    Some examples can be:
    Prod qty@ Product A = 15
    Prod qty@ Product B = 25
    Total Prod Qty@ Product group 1= 40
    Prod qty@ Product A = 20
    Prod qty@ Product B = 20
    Total Prod Qty@ Product group 1= 40
    Prod qty@ Product A = 30
    Prod qty@ Product B = 10
    Total Prod Qty@ Product group 1= 40
    etc etc........lot of combinationsu2014The above examples are for understanding the requirement.
    However let us say the business determines a planned % of swap btw the products:
    Example:
    Total Prod Qty@ Product group 1= 40
    Swap % = 10%
    Then the new Production Qty with the Swap% are as follows:
    Prod qty@ Product A = 10 + (10*10/100) = 11
    Prod qty@ Product B = 30  + ( 30*10/100) = 33
    (2) The other requirement is that the ATP check of the Sales Orders should take into account the Production qty with swap% at the individual product level and also constrain it with the total production qty for the Product group
    Example: Let us say we have a
    SALES ORDER for Product A for Requested Qty=40
    SALES ORDER for Product B for Requested Qty=40
    The confirmation for the above 2 sales orders should be as follows:
    Confirmation for SALES ORDER for Product A =11 qty
    Confirmation for SALES ORDER for Product B =29 Qty
    The total confirmation is still equal to the original production qty for the Product Group= 40 qty
    Thanks
    Kumar

    Kumar
    I dont know what flexibility you have in building the solution - are you looking at a greenfield from-scratch solution or do you already have a ltechnical andscape that you need to work with ?
    If its the former then here is what might work -
    1. Using APO DP, you generate a 'Sales' Forecast (based on statistical models + adjustments). This is a statement of unconstrained independent demand, for the products they actually expect to sell.
    2. Using SNP, you (optionally) check the sales forecast for capacity.
    3. As part of the S&OP process, you make any adjustments in DP to develop a 'Consensus' (and optionally constrained) Demand Plan.
    4. Within DP, in the very near term you disallow any changes to the Consensus Demand Plan ('Frozen' Horizon) since it would be too late for manufacturing to react to changes. In the medium term ('Slushy' horizon), you allow changes only within the Product Group, using the swapping process you describe. Further out (Liquid horizon), you follow steps 1 through 3, with any changes acceptable.
    5. Usng GATP, you can use the same forecast created within step 1 or 4 to limit what can be ordered using Product Allocation.If the products within the product group are interchangeable from a customers perspective, then you can use Rules Based ATP to switch products.
    Rishi Menon

  • Program for calling the bapi BAPI_VENDOR_GETDETAIL

    hi
    i have got the standard bapi to get the vendor details
    how to call the standard bapi in  a program
    can any one pls help me........

    Hi,
    As you know the function module name so you will be knowing the required import, export and tables parameters.
    Fill the required variables, work ares, internal tables required for function module and fill them.
    Fill the change parameter table for the corresponding structures.
    Regards,
    Karthick.

  • Steps for running the Standard Cost Estimate

    I have a requirement.
    I have created cost sheet, cost component structure, costing variant etc. for running the standard cost estimate for the material. 
    I want a help document for knowing the PP side settings and list of order-wise transactions for calculating the standard cost of the material.
    Regards

    hi neeraj
    pls forward satndard cost estimte document fo my gmail id nsvshiva
    Regards
    shiva

  • "The iPod **** cannot be updated. The required file cannot be found" Error

    Hello,
    Upon doing a 'zero-all bits' reformatting of my 5G iPod with Disk Utility and using the 'Restore' feature in iTunes 7, every time I sync my iPod with iTunes, I get an error message after the sync in the form of
    "The iPod ** cannot be updated. The required file cannot be found"
    and photos, contacts, and calendars are not synchronizing. I tried a second 'Restore' attempt but to no avail. Previous to reformatting my 5G iPod, I've not seen this error message.
    I would be grateful if someone could offer any clues. Many thanks.
    1.5 GHz PowerBook G4 12   Mac OS X (10.4.7)  
    Message was edited by: slaveToTechnology

    A little update.
    Upon reinstalling iTunes 7, deleting my iTunes-related .plist files, and reparing permissions on my hard drive, I can now sync my contacts and calendars with my 5G iPod.
    As for Photos, the "required file cannot be found" error seems to be due to the default setting in the 'Photos' tab, 'Sync photos from:' pull-down menu to 'iPhoto'. If I choose my 'Pictures' folder, photo synchronizing works, albeit including everything in my iPhoto library, including originals and modified versions of the photos.
    I can only surmise that the default setting for synchronizing photos is somehow buggy in iTunes 7. I guess I'll just wait for an update.
    1.5 GHz PowerBook G4 12   Mac OS X (10.4.7)  

  • I have a macbook white with osx 10.6.8 and the software update wont work anymore for upgrading the software ,what should i do?

    some of the apps that i just downloaded are not compatible with my software and when I tried to upgrade to mavericks from the app store, in my download list it wont download. Before ive tried download it, it worked, but i paused it, so when i tried again, nothings changed
    Please help, should i download mac os x 10.7? and where?
    thank you

    Software Update won't take you beyond 10.6.8 which is the highest incremental update for Snow Leopard.  The fact that it won't let you upgrade to Mavericks suggests that your Mac is not compatible.
    You should start by checking that your Mac can handle Lion, for which the requirements are:
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    The original early 2006 MacBooks have only a Core Duo processor and so are not compatible, but the models from late 2006 on have a Core 2 Duo and so should be.
    Lion is available in the Online Apple Store ($19.99). You will get a code which you can use to download it from the Mac App Store.

  • Unalbe to understand the requirement

    Hi experts,
    Can anybody explain the below requirement..
    "On a daily basis, SAP processes a daily set of files that are interfaced to ECCu2019s Logility Forecasting System.  This process includes the creating of Logility u201Cmaterial masteru201D records.  Each day, the Logility system will create a file of all Material Master record keys for which the SAP system will add this master data. What is required is Middleware to move and properly map the Logility LOM_A file into a pre-established z-table in R/3."
    Thanks in advance

    "On a daily basis, SAP processes a daily set of files that are interfaced to ECCu2019s Logility Forecasting System. This process includes the creating of Logility u201Cmaterial masteru201D records. Each day, the Logility system will create a file of all Material Master record keys for which the SAP system will add this master data. What is required is Middleware to move and properly map the Logility LOM_A file into a pre-established z-table in R/3."
    Hello
    Middleware is the program in SAP which would link SAP with the interface.
    It needs to be coded and made acceptable to recieve data, trigger creation and update tables
    Get the ABAP and XI guys into the loop for realising the requirement
    Reg
    Suresh

  • Knowing  the PDF storage format

    I have so many PDF FILES with text,equations,and images . i converted from PDF to xml , I got that equations, but not in actual format .means ending symbol is on starting like that.
    so i want to know storage format of pdf files. then i can do further.
    (i converted from pagemaker to PDF files .)
    ofcourse, pdf takes equation also in text format.
    can any body help me for knowing the storage format of PDF.

    <zen answer>PDFs are stored in the Portable Document Format.</zen answer>
    BTW - your question reads like gibberish.

Maybe you are looking for

  • After Effects error: crash occured while invoking plug-in "looks" (looks 1.4)

    After Effects error: crash occured while invoking plug-in "looks". (looks 1.4) That is the error that i get everytime i try to add the effect to m composition. Specs: Processor: Pentium(R) Dual-Core CPU T4300 @ 2.10HGHz 2.10GHz RAM: 3.00 GB Video Car

  • Installer problems on Windows 8

    I've been trying for hours to install Premiere Elements 11 on my new Samsung Ativ i5 smart PC. It runs a 64-bit WIndows 8 platform. Have tried downloading and installing product and it extracts OK but when the installer comes up it has all the instal

  • Native method from dll

    Hello, I am trying to call a dll:method. But I got the unsatisfiedLinkError. Can anyoen tell me way? Here is the code and teh dll: [java code] class Main public static void main(String[] args) HelloWorld hw = new HelloWorld(); hw.Java_Show_EM_Result(

  • The Mac Pro OEM drive vs the AAKS

    I'm trying to find out in which ways the OEM drive installed in the Mac Pro (listed as WD3200AAJS in DU) is different from the 640 AAKS. Specifically, the data transfer speed. I'm wondering for the purposes of deciding whether to use the OEM drive or

  • The difference between the QM status and total status of a request?

    Hi Experts, I have some confusion about the concept of the status of a request. In the data target management window, we have QM status and technical status of a request, and in the monitor, we have total status of the request. Can somebody tell me t