Stock/Requirements by Material on Quarterly Buckets

Hello, I would like to know if there is (are) any standard reports in SAP which can provide past Consumption, Requirements and stock in quarterly buckets. This way a user would know the trend and adjust the safety stock, if needed. I tried MC.9, though it has most of this information, I cannot expand all this information by material. Any help is greatly appreciated

Hi Rahul,
Did you check the MCBZ?
Also you can us the drill-down functionality in MC.9. Apart from that you can use the report like
MB5B Stocks for Posting Date
MB5W List of Stock Values
Or create SQVI query to get the data as per your requirement from table MARD, MARC and S039.
Also refer sap help link,
Updating for Standard Analyses: Requirement/Stock - Components of the Logistics Information System (LIS) - SAP Library
Regards,
R.Brahmankar

Similar Messages

  • Material Stock & requirements list

    Hello,
    I have been lurking in these forums for quite some time and I think (hope!) that it's picking up momentum - so I've decided to add my two cents worth to it.
    Being a functional consultant, I thought that it was refreshing to see Dennis' (Moore) Some PHP examples, that demonstrated the use of BAPI_MATERIAL_AVAILABILITY. So, along those lines here is a bit of code that will mimic the SAP transaction MD04 (Stock & Requirements list for a material). The code posted here is fairly static as everything you need is 'hard coded' in the script.
    Also, I am currently awaiting for confirmation to post weblogs to SDN. Once I get that approval I will post more (much better) examples with better explanations (pictures, etc...).
    [code]<head>
    <title>SAP BAPI</title>
    <link href="saprfc.css" rel="STYLESHEET" type="TEXT/CSS" />
    </head>
    <h1>Stock Requirements list</h1>
    <?
    $login = array (
         "ASHOST"=>"xxx",            //Change the data to suit your environment
         "SYSNR"=>"xxx",                    //Change the data to suit your environment
         "CLIENT"=>"xxx",               //Change the data to suit your environment
         "USER"=>"xxx",               //Change the data to suit your environment
         "PASSWD" =>"xxxx");     //Change the data to suit your environment
    $rfc = saprfc_open ($login );
    if (! $rfc ) { echo "RFC connection failed".saprfc_error(); exit; }
    $fce = saprfc_function_discover($rfc,"MD_STOCK_REQUIREMENTS_LIST_API");
    if (! $fce ) { echo "Discovering interface of function module failed". saprfc_error($rfc); exit; }
    saprfc_import ($fce,"PLSCN","000");
    // Change below with one of your material codes
    // WARNING: if the material number you want to pass is NUMERICAL (i.e not alpha)
    // then remember to code your material number on 18 positions (left fill with zeroes)
    // so if your material number is say 1000 then put 000000000000001000
    saprfc_import ($fce,"MATNR","P-100");
    //Change below with the code of your plant
    saprfc_import ($fce,"WERKS","1000");
    saprfc_table_init ($fce,"MDEZX");
    $rfc_rc = saprfc_call_and_receive ($fce);
    if ($rfc_rc != SAPRFC_OK) { if ($rfc == SAPRFC_EXCEPTION ) echo ("Exception raised: ".saprfc_exception($fce)); else echo (saprfc_error($fce)); exit; }
    $mdez_row = saprfc_table_rows ($fce,"MDEZX");
              ?>
    <table bgcolor="#999999" border="0" cellspacing="1" cellpadding="2">
      <tr>
        <td class="HEADER1">Receipt/Requirements date</td>
        <td class="HEADER1">Delivery/order finish date</td>
        <td class="HEADER1">MRP Element</td>
        <td class="HEADER1">MRP Element data</td>
        <td class="HEADER1">Exception</td>
        <td class="HEADER1">Rec./reqd. Qty</td>
        <td class="HEADER1">Available Qty</td>
      </tr>
      <?
    for($i=1; $i<=$mdez_row ; $i++){
    $DATA = saprfc_table_read ($fce,"MDEZX",$i);
    echo "
                   <tr bgcolor=\"#FFFFFF\">
                   <td>", $DATA["DAT00"],"</td>
                   <td>", $DATA["DAT01"],"</td>
                   <td>", $DATA["DELB0"],"</td>
                   <td>", $DATA["EXTRA"],"</td>
                   <td>", $DATA["AUSKT"],"</td>
                   <td>", $DATA["MNG01"],"</td>
                   <td>", $DATA["MNG02"],"</td>
                   </tr>";
    saprfc_function_free($fce);
    saprfc_close($rfc);
    ?>
    [/code]

    Hi Pascal:
    You're code is good -:) But if you want to be a blogger you should consired not to use 'Hard Code' at all -;)
    Anyway...Orlando's SAPPHIRE started today...So I don't think that Craig or any other of the guys are going to be avaliable to approve your 'blogger to be' form...Gotta wait till thuesday I think...I also got a new blog almost ready...But must wait till the come back -:)
    Just keep working because I'm really interested in read you blogs -:D
    Greetings,
    Blag.

  • Table for temporarily stock /requirement  for tocde /afs/mdo4

    Dear expart,
    I developed a zreport for display STO number, Production order number, operation etc.
    mainly I use here AFPO,AFRU, MSEG, MCHB & J_3ABDSI Table.
    My problem is, when I compare with Tcode /afs/md04 tab-temporarily stock /requirement  .
    for some MATNR
    data show properly.
    and some MATNR are blank  with message Last MRP run on 04.04.2011 or such date.
    Hhow i can filter the in Z-report which MATNR are not in Tcode /afs/md04 tab-temporarily stock /requirement  .
    my code is.
    SELECT  j_3abdsiaufnr j_3abdsimatnr j_3abdsij_4krcat j_3abdsimbdat j_3abdsi~menge INTO TABLE it_eket FROM j_3abdsi
        FOR ALL ENTRIES IN it_final1
        WHERE
              j_3abdsi~j_4krcat = it_final1-j_4ksca AND
              j_3abdsi~matnr = it_final1-matnr AND
              j_3abdsi~werks = it_final1-werks AND
              j_3abdsi~bdart = 'TB' AND
              j_3abdsi~plart = 'B' AND
              j_3abdsi~bsart = 'UB'.
    Pls help .
    Rayhan
    Edited by: Abu Rayhan on Apr 5, 2011 10:24 AM

    CLEAR i_data1.
      REFRESH i_data1.
      LOOP AT i_mara.
        READ TABLE i_marc WITH KEY matnr = i_mara-matnr  BINARY SEARCH .
        IF sy-subrc = 0 .
          CALL FUNCTION 'J_3AM_DISPOSITION_DISPL'
            EXPORTING
              i_matnr                 = i_mara-matnr
              i_werks                 = p_werks
          I_DIALOG                = ' '
          I_SPERR                 = ' '
          I_AUFRUF                = ' '
          I_BANER                 = ' '
             i_todate                = todate
          I_HEADER_ONLY           = ' '
           IMPORTING
             ex_dbba                 = i_data3
          E_MDKP                  =
          EX_PBBD                 =
          EX_MELD                 =
          E_CM61M                 =
           EXCEPTIONS
             material_gesperrt       = 1
             wbz_fehler              = 2
             material_prgr           = 3
             dispo_gesperrt          = 4
             OTHERS                  = 5
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
            IF i_data3[] IS NOT INITIAL.
              LOOP AT i_data3 INTO i_data4 .
                  IF ( i_data4-j_3astat ='A' OR i_data4-j_3astat ='T') AND i_data4-j_3abskz ='C'   .
                    READ TABLE i_t001l WITH KEY lgort = i_data4-lgonr  BINARY SEARCH .
                    IF sy-subrc = 0 .
                      CLEAR i_data1str.
                      i_data1str-matnr = i_data4-matnr.
                      i_data1str-j_3asize = i_data4-j_3asize .
                      i_data1str-lgort = i_data4-lgonr.
                      i_data1str-menge = i_data4-menge .
                      COLLECT i_data1str INTO i_data1.
                    ENDIF.
                  ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
      ENDLOOP.
    Questions
    i_mara  recordset 500 material
    It take more than 3 house to finished this report.
    do changed ?
    do you help me ?
    Think.

  • Table for Stock Requirement List related information

    Dear Sir,
    We have make-to-order scenario , on receiving the Order from Customer  we first create a Sale-Order for the Ordered Item . Subsequently in MD04 , we find a requirement getting reflected  for the Customer Order .
    For example say the Sale-Order number is S-101 and the Line Item is 10 for the FERT material say FERT-101 having the Order quantity as 1 number .  In MD04 , we find a requirement getting reflected with the following information :
    MRP Element  --> CustOrd
    MRP element data --> S-101 / 00010 / 0001
    Recd/Reqd Qty  -->  1-
    Available Qty  --> 1-
    We need to write a Z program for getting the list of  the requirements against the Customer Order (as shown in MD04) .
    Kindly guide us as which Tables we need to refer for getting the above information pl .
    We assure to award full points for the suggested solution .
    Rgds
    B Mittal

    Hi,
    Pls use below function module, same as you will get Stock Requirement List related information
    MD_STOCK_REQUIREMENTS_LIST_API
    For test, goto SE37 and test it
    Regards,
    Sankaran

  • Stock Requirements List

    Friends,
    When we are using the t-code MD04 to generate the stock requirements list for a material, it is throwing an error "Please maintain version in table T009". Table T009 is the table for fiscal year variants. There are no versions to be maintained there. Also, the fiscal year variant that is assigned to our company code is maintained there. Further, the stock requirement list is being generated for other materials (even those marked for deletion).
    Please advise on how to solve this issue.
    Thanks & Regards,
    Sameer S. Gupte
    Cell: +91 9323274801
    Office: +91 66452730

    Friends,
    The problem was with the material master wherein a different fiscal year variant was maintained in the MRP view (different from the one attached to the company code). Changing the material master has solved this problem.
    Thanks & Regards,
    Sameer S. Gupte
    Cell: +91 9323274801

  • Question on Stock requirement report

    Hi,
    Appreciate your response on the below question.
    This issue is regarding the AFS Stock/requirement list.
    When we run for for a material / plant combination and include a date in the  'Date to' field - stock that are in B status (MRP blocked) appears in the report.
    But when we don't specify the date, the stock in B tab does not appear.
    Can you please advise?
    Thanks in advance.

    Hello Kase
    I don't have access to AFS system, but let me try and answer you.
    AFS stock/requirements list is dynamic as it provides the latest situation for MRP elements including changes after planning date.
    If the MRP was not yet started and new requirements are in the system, status 'B' is set for those requirements to which no stocks could be assigned in the current display in the AFS Stock/Requirement List.
    So the 'date to' has a significance in evaluating when the MRP was run last and what changes have taken place since.
    Please take a look at the following OSS notes:
    690576 - Description of MRP statuses in AFS planning
    Hope this helps.

  • Table to find serial number for the stock of a material

    Dear All,
    I have a requirement in which i want to find the serial number for the stock of a material.
    in Equi i have serial number with material.
    But i want it with plant also.
    pl. suggest me in which table u have serial number,material , plant and storage location.
    Regards & thanks,
    Vidhya

    Thanks kesav.
    I checked EQSE table in that no entries are found.
    In EQBS table for that equnr u have plant and storage location.
    but the performace while selecting EQUI on the whole will be very slow.
    so i want a table with material,serial number,plant and storage location.
    kindly suggest.

  • Error in adding stock of the material

    Hi
    While adding stock to the material using MB1C I am getting an error "Fld selectn for mvmt type 561 / acct 399999 differs for Ext. GA amount in LC (023)"
    What can be the solution ??

    Option-1: Check Field status group in the create/bank/interest TAB for G/L in FS00 & check its assignments in OBC4 & Field Selection for status of Ext. GA amount in LC like optional/required/suppress
    Use OMJJ t.code - 561 mvt - field selection and check additional account assignment (here Ext. GA amount in LC  is optional/required/suppress.)
    Option-2: Can also run the programme RM07CUFA through SE38 to update.
    Regards,

  • Stock on hand vs stock required from Scheduling agreement from MRP not MD04

    Hi SAP Guru's,
    1.Currently on 4.6C and client requires a report to view similar to MD04 with capability of multiple materials and vendors and way of summarizing the future requirements and current receipts?
    Right now with MD04 we can see for one material current and future Scheduling aggrements(SA) but does not have a report to tell how many are past due (other than going back to look at SA to view cummulative qty).
    2.Curretly MRP PD is using SA aggrements for the semi-finished mateirals for planning and maintaining Safety stock and Goods receipt date in Material master to control the schedules? as system generated SA quantities vary with high differences - for example weekly requirement for material A is 480 parts from Vendor A and Vendor delivers on plaaning cycle Tue and Thurs and daily end of the day 65-85 Production orders are confirmed and backflush happens and then MRP runs but instead of 240 per schedule it is splitting 360 once and 220 etc i mean the quantities are very high fluctations and vendor cannot delivery these variation of quantities ? needs your input where the issue is happening and also client want to use Reorder point Qty instead which is not in use currently.
    Appreciates everyone time and your help.
    Thanks and Regards,
    Siva Darbha

    No Solution

  • Sotck in hand vs Stock required from Scheduling agreement - not MD04

    Hi SAP Guru's,
    1.Currently on 4.6C and client requires a report to view similar to MD04 with capability of multiple materials and vendors and way of summarizing the future requirements and current receipts?
    Right now with MD04 we can see for one material current and future Scheduling aggrements(SA) but does not have a report to tell how many are past due (other than going back to look at SA to view cummulative qty).
    2.Curretly MRP PD is using SA aggrements for the semi-finished mateirals for planning and maintaining Safety stock and Goods receipt date in Material master to control the schedules? as system generated SA quantities vary with high differences - for example weekly requirement for material A is 480 parts from Vendor A and Vendor delivers on plaaning cycle Tue and Thurs and daily end of the day 65-85 Production orders are confirmed and backflush happens and then MRP runs but instead of 240 per schedule it is splitting 360 once and 220 etc i mean the quantities are very high fluctations and vendor cannot delivery these variation of quantities ? needs your input where the issue is happening and also client want to use Reorder point Qty instead which is not in use currently.
    Appreciates everyone time and your help.
    Thanks and Regards,
    Siva Darbha

    No Solution

  • Stock in hand vs Stock requirements - using Sceduling aggrements with MRP

    Hi SAP Guru's,
    1.Currently on 4.6C and client requires a report to view similar to MD04 with capability of multiple materials and vendors and way of summarizing the future requirements and current receipts?
    Right now with MD04 we can see for one material current and future Scheduling aggrements(SA) but does not have a report to tell how many are past due (other than going back to look at SA to view cummulative qty).
    2.Curretly MRP PD is using SA aggrements for the semi-finished mateirals for planning and maintaining Safety stock and Goods receipt date in Material master to control the schedules? as system generated SA quantities vary with high differences - for example weekly requirement for material A is 480 parts from Vendor A and Vendor delivers on plaaning cycle Tue and Thurs and daily end of the day 65-85 Production orders are confirmed and backflush happens and then MRP runs but instead of 240 per schedule it is splitting 360 once and 220 etc i mean the quantities are very high fluctations and vendor cannot delivery these variation of quantities ? needs your input where the issue is happening and also client want to use Reorder point Qty instead which is not in use currently.
    Appreciates everyone time and your help.
    Thanks and Regards,
    Siva Darbha
    Edited by: Siva Prasad Darbha on Oct 7, 2008 9:34 PM

    Its not very clear - can you please explain with examples.

  • Calculation of consignment stock for a material ( ABAP/MM)

    HI,
    I need information to find out consignment stock as per requirement. I doubt the requirement is not complete enough but they dont agree. I am using following logic.Please provide me your inputs.( i was asked to follow standard program logic of 'RM07MLBD')
    1.I am retrieving material document no.s from MSEG with the movement types 631,632,633,634,701,702 and SOBKZ = 'W' for a particular reporting period for a material.
    2. I filter them by checking date BUDAT in MKPF.
    3. then i aggregate them taking SHKZG = 'S' or 'H' accordingly '+ ' or '-'.
    And finally i Aggregate them for customers belonging to same state (REGIO)
    but i am getting some negative values and incorrect entries.
    what i am not able to understand is whether my selection criterion is wrong or aggregation of materials is wrong or if i am missing any other selection criterion? Your inputs are highly appreciated.
    Thanks in Advance.
    Shrini

    Hi ,
           Follow sample program RM07MKBS OR MB54 which display consignment stock for  am material.
    Please reward if useful.

  • "SubReq" is still available in the stock/requirements list.

    Hi SAP guru's,
             In the subcontracting scenario for our client, the required quantity of child component will be provided to the subcontracting vendor.
    For one particular purchase order,
    Subcontracting PO for parent material "A" - qty 4284
    Child component "B" - qty 24,996 provided to the vendor
    "SubReq" is still available in the stock/requirements list of child component referring to the closed purchase order (delivery and invoice posting completed for full quantity, no open item quantity).
           What could be the reason for this issue and what is the best solution.
    Thanks in advance for your valuable reply.
    Reddy.

    Hi Csaba,
    Thanks for your immediate response to my query.SubReq should not appear in MD04 w/o existing requirement (e.g. PO) as a standard but it is observed for this PO.
    The  OSS note "115899- Correction report for subcotractor requirements" is not giving the direct solution, but the content in this note may be useful to analyse and resolve the issue which we are trying.
    Thanks & Regards,
    Reddy GY.

  • Material Determination use stock of discontinued material

    I am trying to determine if there is a way in R/3 to have a material replace an older material but as sales orders are entered take into consideration any inventory that might still remain of the discontinued material. Here is an example.
    1.) We have 15 EA of Material A in inventory in Plant 123
    2.) We are going to discontinue Material A and replace with Material B in this plant
    3.) VB11 Condition Records are setup for the A to B substitution for order entries
    4.) Order for 20 EA for Material A comes in
    I would like to see a requirement tp use the 15 from A that are still inventory and then place an order for the remaining 5 on the new Matl B (from Mfg or whomever provides).
    Is this possible using the condition records for material determination and the follow-up material options on MRP4 view?

    Hi Bill,
    This is possible using standard SAP functionalities.
    Now considrer a situation where you are creating VB11 record for material A(to be discontiniued) which is to be substituted by material B. And the need is to deplete the available stock of material A first and then start substituting it with material B.
    In order to achieve this, while creating a record in VB11 firstly create a record for replacing mat A by mat A , then double click the record line that you have created, which will pop up a small window giving you options to enter mutiple alternatives apart from mat A. where you can you can enter material B as the second alternative/replacement after mat A.
    The sequence of material is important to decide which material is considered as the replacement by the system.
    In our case system will first replace mat A by mat A and search for stock availability, if sufficient stock or no stock available it will replace the original mat A with the alternative material entered in the VB11 record i.e. Mat B.
    Another important thing to note while creating VB11 record is a check box available as "MRP Indiciator" now this indicator plays an important role while transferring requirement to MRP.
    In our case we have Mat A which is being disontinued so we dont want the requirement for mat A to be transferred to MRP incase of shortage, instead we want the requirement for material B to be transferred for MRP.
    In this case you need to check the MRP indicator box for Material B. if not checked the requirement for Mat A would be transferred to MRP.
    Hope this clarifies your questions.
    Thanks,
    Kishor

  • Different Exception messages in MRP list & Stock Requirement List

    Hello Experts,
    When I run MRP and then look at the stock Requirement List & MRP list for the same material, I see different exception messages in these list.
    I noticed that any of the exception messages in Exception group "7 - Exception during rescheduling" (ie, 10-reschedule in; 15-Reschedule Out; 20-cancel process; 30-plan process according to schedule) is not appearing in the stock requirement list even though they appear in the MRP list.
    Does any configuration affect what message group can appear in Stock Requirement List & MRP list?
    Please advice.
    Regards
    Tom

    Hi Tom,
    For exception message - 62, just do the below checks -
    Some of the reasons as to why you may find this exception message is because the backward scheduling can drive the start date in the past so far that:
    - there is no valid BOM as of that date
    - one or more of the work centers are not valid on that date
    - there is no valid factory calendar on that date
    Check the scheduling formulas in your work centers that are set up, and/or to specify for the material master a fixed lot or a max lot size so that planned orders result with realistic lot sizes.
    Also you can set up MRP to only run on basic dates for your overall run, and to follow up with an MRP run which generates capacity planning only within the planning horizon, such as NETPL.  You would need to configure the planning horizon so that it specifies a time frame over which capacity planning is to be done.
    Also check the note : 88505 - Planned order upload generates exception message 62
    In short, do a thorough check of the parameters maintained to ensure there is no inconsistency in the master data.
    Check & revert.
    Regards,
    Vivek

Maybe you are looking for

  • Incorrect disk and disk image icons

    I'm running 10.7.4 on an early 2011 MBP with 8 GB RAM. Disk images, CDs, etc appear on the desktop with the generic hard drive icon.  My understanding is that this can be corrected by rebuilding launch services.  Upon rebuilding launch services, usin

  • Color bug in Safari 7.1?

    Hello everybody, I've just downloaded new Safari 7.1 a few days ago and I discovered that the hsl colors programmed in a website CSS are wrong. Not the same with Firefox, Chrome, Opera (I didn't try IE). You can see what I say by having a look at the

  • Regarding RFC creation

    hi all, after creation of RFC,we have to release the RFC or not. regards, subba reddy

  • Strange issue with "Enter" key in Vista on Satellite P300-225

    A few weeks ago, I don't recall exactly when, Windows Vista on my Satellite P300-225 started to pass an incorrect scancode to applications when the Enter key is pressed. It always sends the scancode of the Keypad Enter key, even when I hit the one in

  • Remoting from my Macbook Pro to a Windows PC?

    I am using GoToMyPC on my Macbook Pro and remoting in to a Windows computer at work.  I'd like to be able to use my Windows functions such as the Alt+Tab and things of that nature.  Is there a way to use the Windows controls from my Mac, especially i