MD04 - Download to excel (Stock/Requirements)

Hi All,
Is there a way to download Stock/Requirements of multiple materials in to an excel spreadsheet (in MD04)?   I am able to download it individually for each material.  But, this does NOT work for multiple materials.   Is there a comparable report to MD04? or tables that I can use to query -- Stock/Requirements so Sales Orders, PO item, P-Reqs can be downloaded for MULTIPLE materials. 
Thank you for your help,

Hi Tej,
Thanks again,  However, we are trying to capture the detailed stock requirements from MD04....
1.  Execute MD04
2.  Click on a single material & select "Selected stock/requirement lists"
3.  For the selected material it shows the details of Date, MRP element, MRP element data, Reschueling, error, recipt/req etc.
4.  ??? 
We are drilling down to another level from Step-2.  
We would like a download of STEP-3 for multiple materials.... not, a single material at a time.  Currently, MD04 allows list download at Step-2 level or a single download from Step-3.   We want a download of STEP-3 for Multiple materials.
Many thanks for your patience,
Bhumika
Edited by: B D on Feb 24, 2012 6:38 PM
Edited by: B D on Feb 24, 2012 6:39 PM

Similar Messages

  • MM60 Download into Excel (not required)

    Hi,
    I would like to run the above report for a particular material type and whilst a colleague can run the report, mine goes into Excel automatically and does not generate anything.
    I assume this is a set-up/user profile problem but I would like to know how to turn the Excel bit off so that I can get a list of the information that I require.
    Thanks
    Keeley

    You make one query through SQVI using table join MARA , MARC  , MBEW , MAKT
    Vijay Vadgaonkar

  • MD07 Download to Excel Option

    Hi Gurus,
    I have a requirement to give the users an option to download the resulting Stock/Requirements Lists from the collective access tab to excel. Please help me on how to do that.
    Thanks!

    You may be need to look into this fm
        call function 'MD_MRP_LIST_OVERVIEW'
             exporting
                  erm61r      = rm61r
                  ecr61t      = cr61t
                  eautho      = t450n
                  emdlv       = mdlv
                  ebadi_m61r  = badi_m61r
             importing
                  ifcode      = am61f-xcode
                  icr61t      = cr61t
             tables
                  mdkex       = mdkex
             exceptions
                  error       = 01.
    It returns the table mdkex, check whether the details you needed are in this table ? if yes call this fm in report and download the mdkex to excel.
    May be this will help

  • 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

  • Stock Requirement List - MD04 - adding columns in this list

    Dear All,
    I am working on the Stock Requirement list ( transactioncode MD04) and the customer wants to add columns with the fields STPO-DATUV ,date of change of a drawing, and the drawing number with revision level STPO-YY_DZEINR.
    There is a badi MD_ADD_COL_EZPS which provides in adding columns, but according the structures MDPSX , MDEZX and MDSUX there are no fields in thoser structures, which directly match with the required fields; somebody has a clue to help me out and get it working.
    For instance: Vendor- and Customer data  can be added by using the pushbuttons and those fields are available from above mentioned structures.
    Thanks in advance and kindest regards,
    Rene.

    Hi Utpal Mishra
    You guessed correctly. I missed to inform our Strategy. We are using Strategy group  11  Make-to-stock prod./gross reqmts plnning.
    User is not able to do PGI or create delivery. He says I have enough stock in MMBE but why system is not allowing.
    Here there are some pending document like -
    1. Pending sales order
    2. Pending deliveries (picking not done)
    2. Delivery created & Picking Done but PGI not done. These things will have a commitment against the stock. But we are interested in getting these document numbers, so that we can take come action against them.
    MD04 simply shows the mrp element as order / delivery but the document number is not available. How to find these documents.
    Please help. Is there any table or a standard transaction ??
    Thanks

  • MD04 Stock requirement changed date is not updated.

    Hi Experts,
         Please can any one give me solution for the date in Md04.
    Co02 if I change the PR date that date is not showing up in MD04, the previous date is showing up that to 1 day extra.
    Reward poins will be given

    Hi Jay,
        My requirement is : In CO01 we create production order with BASIC FINISH and START DATE.  exp  FINISH DASTE  12/01/2007
                                        START DATE     11/30/2007
    In MD04  : i can see this start date  as 11/30/2007 for all the stock requirements
    If I change the date in CO02 as  FINISH DASTE  12/20/2007
                                                   START DATE     12/01/2007
    in MD04 should show 12/01/2007 for all stock requirements, but it is showing 11/30/2007.
    Please help me in this issue, Good reward will be given

  • Removing access to Stock Requirements - MD04

    Hello, we are changing our business process at some of our locations and we would like to remove access to the Stock Requirements screen (MD04).  This transaction is in almost all of our roles, and I am trying to avoid going role-by-role to remove this access. Is there a way that I can restrict access to MD04 without going role by role?
    I thought I could use RSCSAUTH to assign an authorization group to the transaction, but the SAPMM61R program does not come up in that transaction.  Can I use RSCSAUTH for this?
    Thanks,
    Dan

    Hi,
    As a temporary solution you can lock transaction u201CMD04u201D via SM01 which will lock the transaction for use and you can then do the role by role modifications.
    Also you can take help of ABAP to develop a BDC to modify the menu and u201CS_Tcodeu201D auth. Object of each role you want to modify which is not a very standard solution.
    Regards
    Suhas

  • MD04 Exclude DLV orders to stock requirements

    Hi Experts,
    Is there any way or configuration that MD04 will exclude Production Orders that are already Delivered.We encounter several open reservation and we need to tick the FIs column to close the reservation. It would be better if SAP has that functionality will not include the DLV Orders in having stock requirements.
    Thanks,

    Hi,
    As a temporary solution you can lock transaction u201CMD04u201D via SM01 which will lock the transaction for use and you can then do the role by role modifications.
    Also you can take help of ABAP to develop a BDC to modify the menu and u201CS_Tcodeu201D auth. Object of each role you want to modify which is not a very standard solution.
    Regards
    Suhas

  • Stock requirment in MD04 transaction

    HI friends ,
       I have a problem in finding <b>stock requirement</b> ( <b>receipts only</b> ) field and table in transaction MD04 .
    Regards,
    Mahendra.

    Hi
    Try to use the BAPI BAPI_MATERIAL_AVAILABILITY or MD_MRP_LIST_API
    Max

  • Printing the Collective Stock/Requirements List

    Hey All,
    I'm trying to print out the collective stock/requirements list via the menu path "System -> List -> Save -> Local File" but it is shaded out and i cannot do this, just like SD variants are needed to be maintained in own data for the report VA05 so that layouts can be saved, do we also need some such varient maintained in own data to access this option ?
    Best Regards.

    Dear Danish,
    After executing the Stock/Requirements List in MD04,in the top menu List -
    > variable print --->From
    here you can download into a spread sheet or as a local file or as a word processing.
    Or else you can print from here.
    Now come back with your further queries.
    Dear Vivek, MDLD is to print out the MRP list (which is a static one and stock/requirements list is a
    dynamic one).
    Regards
    Mangalraj.S

  • 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.

  • Warning while downloading an Excel file from WD ABAP

    Hi folks,
    In one of requirements, Client wants to download all the data that is appearing on the screen ( WD ABAP Application ) to an Excel with a layout in different manner.
    We achieved this with Simple Transformations.
    Now the question is while downloading the excel file, the framework/other  is throwing an Warning like
    " The file you are trying to open, 'info.xls', is in a different format than specified by the extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now? "
    Note: All the users of my client are using MS Office 2002 / 2003.
    I am using the following code........!
    *------ Call Transformation for Excel OUTPUT
      CALL TRANSFORMATION ZEXCEL_OUTPUT
          SOURCE
                 t_dates     = t_dates
                 t_info        = t_info
          RESULT XML l_xml_string.
    REPLACE ALL OCCURRENCES OF '<?xml version="1.0" encoding="utf-16"?>'  l_xml_string WITH '<?xml version="1.0"?><?mso-application progid="Excel.Sheet"?>'.
    **-- Call Function Module for converting string data to XSTRING
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text           = l_xml_string
          mimetype = 'application/xml'
        IMPORTING
          buffer      = l_xml_xstring
        EXCEPTIONS
          failed   = 1
          OTHERS   = 2.
      CALL METHOD cl_wd_runtime_services=>attach_file_to_response
        EXPORTING
          i_filename       = 'info.xml'
          i_content        = l_xml_xstring
          i_mime_type   = 'application/vnd.ms-excel'.
    With this code I am generating a file of type XML SPREADSHEET 2003. While opening this file I am getting the above message which the user unwanted......
    Can any one help me on this -
    > How to avoid this warning?
    Thanks and Regards,
    Aneel Danda
    Edited by: danda aneel on Jul 13, 2010 1:43 PM

    Firstly, Thanks for Your quick Response, Thomas.
    Even though what ever may be the file name I am passing either info.xml or Info.xls , In error info.xls is coming.
    Kindly provide me an alternative on this  XML doesn't seem like it would match the 'application/vnd.ms-excel'.
    what is the supported format.?
    Similarly, It is not considering the UTF-8 / UTF-16 for xml.........same result is appearing in the output.
    Edited by: danda aneel on Jul 14, 2010 7:52 AM

  • Help needed: Download to excel without pop-up

    Hi All,
    In a particular scenario, I require to trigger an action once a file have been successfully downloaded to EXCEL from Webdynpro UI. But in case of download functionilty, once the MS window pop-up for download comes up, the control is lost from Webdynpro and its impossible to track whether user have saved, opened or canceled the file.
    Is there any functionality to directly download internal table content to EXCEL, without facing the download popup. Please let me know any function module or functionality for this.
    Thanks in advance to all.
    Regards,
    Mainak

    yes there are many tutorials on SDN regarding this
    u may procced like this :
    get the contents in internal table  and then use the FM 'SCMS_STRING_TO_XSTRING'
    DATA text   TYPE string.
      DATA xtext  TYPE xstring.
    *   get all declared attributes
      lo_nd_sbook->get_static_attributes_table(
        IMPORTING
         table = lt_sbook ).
      LOOP AT lt_sbook INTO ls_sbook.
    CONCATENATE text ls_sbook-carrid
    ls_sbook-connid
    ls_sbook-fldate
    ls_sbook-bookid
    ls_sbook-order_date
    ls_sbook-counter
    ls_sbook-passname
    cl_abap_char_utilities=>newline INTO text SEPARATED BY
    cl_abap_char_utilities=>horizontal_tab.
    ENDLOOP.
        CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
          EXPORTING
            text   = text
          IMPORTING
            buffer = xtext.
        wdr_task=>client_window->client->attach_file_to_response(
    **path to the word file
    i_filename = 'WDP.xls'
    * String Variable
    i_content =  xtext
    * File Type
    i_mime_type = 'EXCEL' ).
    here it_sbook is the inernal table and ls_sbook is the structure type of the attributes declared in the context node sbook
      DATA ls_sbook TYPE wd_this->element_sbook.
    *  data LT_SFLIGHT type WD_THIS->ELEMENTS_SFLIGHT.
      DATA lt_sbook TYPE wd_this->elements_sbook.
    Edited by: amit saini on Oct 14, 2009 1:30 PM

  • 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/requirement list at a particular date

    MD04 gives current stock/requirement list and MD05 gives planning result of last MRP run.
    Hoe to see stock/requirement of a particular date

    Dear Harshad,
    As explained there is no standard report to meet this requirement,but stock on a posting date is possible through MB5B.
    If my understanding is correct then this stock/requirements list is a dynamic one(even on a particular date) this list gets updated
    for each fixed/planned- receipts/issues.So on the same day there may be number of updated list.So there cant be only one
    stock/requirements list on a given particular date.
    Correct me if I'm wrong.
    Regards
    Mangalraj.S

Maybe you are looking for

  • App-V Office 2013 x64 with local x86 version

    Hi, we have deployed Office 2013 x86 VL Version on all our machines locally (MSI Install). Since App-V 5 SP2 now supports virtualising Office 2013 VLs we would like to run a virtualised Version of Office 2013 x64 VL (especially Excel) alongside the l

  • How to use internal table in Exporting Parameter of method.

    Hi Friends, I am new to abap oops and using the following code to read a select-option and pass the data in an internal table but on defining internal table of a standard  type it is giving me following error : ITAB is not an internal table - the OCC

  • Editing timelapses in Lightroom- looks very different if there´s a small change within the frame

    Hi We´re having some serious issues with editing timelapses in Lightroom (5.6). What seems to happen over and over again, is that if there´s a small change within the frame (such as a bird flying past, people walking), the editing result varies great

  • HL7 inbound : recommended architecture?

    Hi, What's the best way to process inbound HL7 messages? Some details: 1. Inbound messages will all be ADT 2. There's a lot of common processing, for example the PID segment of every message type will be handled the same. 3. HL7 2.3.1, JCAPS 5.1.3 On

  • Cfmail - nesting error message

    Greetings - Perhaps someone can shed some light on why the following is occurring. I have a processing page processing form input for a event registration. The process works fine, displays as intended on a web page. However, when i enclose the code i