How to get Material Document List (MB51) Data

Hi ,
Can anybody please explain me the procedure to get MB51 data through report .
Here my requirement is to display the data with additional selection screen parameters & add some more fields in out put of ALV GRID Display.
Thanks in advance.
--Hamsitha.

Hi Hamsitha,
I think you may have posted your question to the wrong Forum:
This is the Forum for the SDK of SAP's product for smaller (and lower midsize) companies "SAP Business One".
Please check!
Thx,
Frank

Similar Messages

  • How to get material's last posting date of issuing to production order?

    Hi,
    In my scenario, I need to get material's last posting date of issuing to production order (e.g. mov. typ. 261).
    I tried to select the material documents whose movement type is 261, and restrict the posting date from month to month each time, until the first material document is selected.
    But this method seems quite inefficient.
    What kind of algorithm is more effient to do this?
    Thanks
    Wesley

    Hi,
    select max( budat )
      from mkpf
      into gv_budat
      where mblnr in ( select mblnr
                         from aufm
                        where aufnr = gv_aufnr "(Prod. Order)
                            and  matnr = gv_matnr "(Issued Material)
                            and bwart = '261' ).
    Edited by: Azeem Ahmed Matte on Mar 12, 2010 12:33 PM

  • Material Document List MB51 - Residual Amount when Quantity equals to Zero

    Dear all,
    I've this weird situation in the production system involving one material master as follows:
    Material         Description     Plant     Mvt     Posting Date     Quantity     BUn     Loc.curr.amount
    10015661     SCREW     61MM     561     30.04.2006     45     PC     2,660.40
    10015661     SCREW     61MM     101     09.03.2007     96     PC     5,177.43
    10015661     SCREW     61MM     101     24.03.2008     50     PC     3,124.75
    10015661     SCREW     61MM     101     27.02.2009     84     PC     4,483.46
    10015661     SCREW     61MM     101     28.02.2009     84     PC     4,433.87
    10015661     SCREW     61MM     101     28.02.2009     84     PC     4,312.56
    10015661     SCREW     61MM     309     07.04.2009     45-     PC     2,660.40-
    10015661     SCREW     61MM     309     07.04.2009     96-     PC     3,823.63-
    10015661     SCREW     61MM     309     07.04.2009     50-     PC     3,142.69-
    10015661     SCREW     61MM     309     07.04.2009     84-     PC     4,695.03-
    10015661     SCREW     61MM     309     07.04.2009     168-     PC     9,261.59-
                                                  Sum:      0     PC     609.13
    P/S: Sorry if the data gets messy after saving this message because I'm unable to format the columns correctly.
    If look closely, there's a residual amount when the quantity is already "ZERO". I tried to simulate in the Quality system but was unable to recreate the same results. By right, the sum amount should be "ZERO" as well.
    Would be most grateful for any explanation or advise.
    Thank you.
    Edited by: Steven Khoo on Apr 6, 2011 12:21 PM

    Hi all,
    I'm attempting to interpret the report generated by MR51 as below. I noticed there are line items with "RE" accounting document type which is stands for "Invoice - Gross". I can understand WA = Goods Issue and WE = Goods Receipt but why RE? For instance, there's a WE (Goods Receipt) of 50 PCs on 24.03.2008 and followed by a series of RE (Invoice - Gross) between 26.03.2008 and 23.04.2008. I'm confused over here. Thanks.
    Material          Material Description     CoCd     ValA
    10015661          SCREW                               1125            6110
    Type     DocumentNo     Itm     Postg Date      Quantity     BUn      Amt.in loc.cur.  Crcy
    WA     4900011305     1     07.04.2009     -168     PC     -9,261.59           RM
    WA     4900011304     1     07.04.2009     -84     PC     -4,695.03           RM
    WA     4900011303     1     07.04.2009     -50     PC     -3,142.69           RM
    WA     4900011302     1     07.04.2009     -96     PC     -3,823.63           RM
    WA     4900011301     1     07.04.2009     -45     PC     -2,660.40           RM
    RE     5100002095     796     31.03.2009     84     PC     254           RM
    RE     5100002093     280     31.03.2009     84     PC     211.57           RM
    RE     5100002089     276     31.03.2009     84     PC     261.16           RM
    WE     5000002412     789     28.02.2009     84     PC     4,312.56           RM
    WE     5000002408     271     28.02.2009     84     PC     4,433.87           RM
    WE     5000002406     275     27.02.2009     84     PC     4,483.46           RM
    RE     5100001398     2     29.04.2008     -96     PC     -1,353.80           RM
    RE     5100001385     2     23.04.2008     50     PC     0.68           RM
    RE     5100001384     2     23.04.2008     50     PC     0.68           RM
    RE     5100001383     2     23.04.2008     50     PC     2.97           RM
    RE     5100001382     2     23.04.2008     50     PC     2.31           RM
    RE     5100001341     2     26.03.2008     50     PC     11.3           RM
    WE     5000001702     1     24.03.2008     50     PC     3,124.75           RM
    WE     5000000779     1     09.03.2007     96     PC     5,177.43           RM
    WA     4900005345     1     30.04.2006     45     PC     2,660.40           RM
    P/S: Sorry, the data gets messy after saving the post.
    Edited by: Steven Khoo on Apr 25, 2011 10:11 AM

  • WBS element in Material Document List Report

    Hi Guru,
         I have a problem about WBS element which is not show up any data in Material Document List (MB51) movement type 281 and 281 Q event I add WBS in the document.  Anyone know how can i config or do anything to let the system show up, please let me know.
         Thanks in advance.

    Hi,
    Go to SPRO > MM > Inventory Management and Physical Inventory > Reporting > Define Field Selection for Material Document List > Here for Program Name "RM07DOCS", Table "MSEG" add field "MAT_PSPNR" (Valuated Sales Order Stock WBS Element) and activate "Output" indicator.
    And Then check in MB51

  • MB51 Material Document List Unit of Measure

    Can/How is this list displayed with the unit of measure converted to one unit?
    Example Material movements for liquid with units in gallons and pounds.
    Want to list all in pounds.
    Conversion is entered in material unit of measure tables.

    you can see this in MMBE but not MB51 because this is the material document list and which will shows the Gr unit ( you can display the base unit but not conversion)
    convesion can only be displayed in MMBE

  • Additional field in material document list

    Dear Expert,
    In the T.code MB51 ( material document list)  in the ITEM DATA i need to add origin group field , is it possible ?
    kindly help the above issue,,
    Regards
    Akshaya

    Hi,
    Yes its possible..............
    procedure is to use the below tocde
    Transaction variant SHD0 is the transaction code.
    Using this tocde you can make a particular field as mandatory and hide the filed, gray the filed...
    Thanks
    Ramakrishna Pathi

  • How to get the "Document Info" in illustrator

    In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
    Regards,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to get the document number for a ware house order.

    Hello gurus,
    how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
    Thanks in advance

    There are several options.  When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
    Depending on how your system is set up you may have gotten a Transfer Order automcatically.  In this case you can look at LT24 - Transfer Order for material.

  • Display material document list in alternative measure of unit.

    Dear all ,
    I need transaction for Display material document list in alternative measure of unit.
    looks like transaction MB51.
    Thanks in advance,
    Ilan Marom.

    Hello,
    Try to make a query or report using the additional tables MSEGO1, MSEGO2.
    I did so because could not find such a transaction.
    KR,
    Sergey

  • Material Document List - Local currency amount

    Hi Experts,
    We encountered the material list initial entry of stock total amount does not tally with the goods issue for an order.
    All the material was purchase in (EUR) currency and the material document list was converted to local currency (RM).
    Just want to confirm this is normal for the material document list as due to foreign currency exchange rate ?
    Hope you can assist to answer the doubts for us.
    thanks.
    rgds,
    tee

    Hi,
    Its MB51 - Detail list.
    Whereby the curency amount was display in RM.  But at PO level, item was purchase under EUR currency.
    The user was add-up the total and found the its not tally even the qty of material was fully consumed.
    thanks.
    rgds,
    tee

  • Get Material Document

    Hi
    Can anyone pls let me Function Module or BAPI for getting "Material Document (MBLNR)" based on "Sales Order (VBELN)"
    It is a very urgent requirement.
    Regards
    Raghav

    Sales Order will not create any Material Document , but Deliver will create the M.Doc.
    check VBFA-VBElV = Delivery number
          VBFA-VBtyp_n = R.
    here u will get the list of MBLNRS.
    Regards
    Prabhu

  • How to get workflow task list ID?

    I created simple workflow in Office 365 SharePoint 2013 using SharePoint Designer 2013.
    The action Assign a task to user (Task outcome to Variable: Outcome |Task ID to Variable: TaskID) was used.
    The variable TaskID had a value something look like
    902aa0e9-0d58-47c0-a3ba-da96ebd47651, but I need ID from a task list.
    How to get the task list ID in SharePoint Designer Workflow?
    I am very grateful in advance for any help.
    bnossov

    I created dictionary and create two variables:
    Name: Accept; Type: string; Value:
     application/json;odata=verbose;
    Name: Content-Type ; Type: string; Value: application/json;odata=verbose;
    Output variable: JSonRequestHeader.
    I called HTTP web service:
    https://xxxxxx/_api/web/Lists/getbytitle('WorkflowTaskList')/items?$select=ID
    I used Count Items in Variables: JsonRequestHeader(Output to Variable: count)
    The output variable count had value equals 2.
    When I printed service url in browser it gave me xml with all the items ID in the
    WorkflowTaskList.  There were eight .
    How can I take data from web service and put them in dictionary?
    I would be grateful for any help.
    bnossov

  • How to get Inventory Balances for PO data

    Hi Guys,
                   How to get Inventory Balances for PO data.
    from which tables I can get it ?
    We are migrating material data to a new plant.. for this process.. The inventory data also has to be moved..
    I am using BAPI_GOODMVT_CREATE to post inventory balances for the new plant.
    Thanks

    Hi,
    Try MARC, MSKA, MARD .
    Thanks,
    Krishna

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • How to print material document in header level?

    Hi Guys,
    How to print material document from header level. I can only print them in item level. But i want that in header level. For example, I have 4 movements inside a material document and I want to issue only one output from the header level.
    I can see the option Goto -> Additional Function -> output, but it is disabled. Please let me know hot to acheive this and if you need further info on this. Please throw some light on this.
    Thanks
    Yasin.

    HIi
      Your question is not clear.  What exactly you want to be.
    1.  To print material header in your smart form / Sap Script what is the problem. Itu2019s quite easy you can do it. Let me know what problem you are facing.
    2. The option is disables because of business functionality ask your functional guys to help you on the same.
    Regards
    Swati

Maybe you are looking for

  • Nice Board for workstations

    Just wanted to post the following. If you are trying to put together a low cost workstation with decent performance. The 890GXM-G65 is a really good choice. On-board video, am3 / am3+ socket, micro-atx with a cost just over $100. Just installed two i

  • Setting query timeout in TopLink 10g

    The 10g version of OAAM uses TopLink 10g Release 3 (10.1.3.1.0) (Build 061004) and Oracle JDBC Driver 10.2.0.2.0. We are not using TopLink Essentials. I'm trying to make it so that our queries will timeout and throw an exception if they take too long

  • Application from Spreadsheet

    Hi, I want to create an Application from Spreadsheet or migrate a Excel Application to Oracle Apex. so I can Import a CSV File to the new Application that will be created. but how can i migrate an Excelapplication to Apex? and how to import the excel

  • YAACE (Yet Another Access Control Exception)

    Hi, This has got to be the simplest example on record. I created the following "Hello, World" file: import java.net.Socket; public class HelloWorld Socket     socket; public HelloWorld() throws Exception System.out.println("Hello, World!"); socket =

  • What is excatly the fastpath of function codes in pf-status

    Hi friends, I would like to know what is excatly the fastpath of function codes in pf-status. I thought at first that I can choose a letter and in my program press Alt+letter and the function code will be executed but it did not work for me. Please h