Need material document number

Dear all,
    I have an issue.  Inorder resolve it i need run a run aset up in OL1BW using the material document number.
I have the process order, period, plant and material, but i need to find the corresponding material document number. Can anyone help me how to proceed further?
The datasource is 2lis_03_BF.
Pls also diferntiate between material and materail document number.
Thanks..
Regards
Santhosh Kumar N

The source for 2LIS_03_BF, as Arun pointed out, are R3/ECC tables MSEG and MKPF.
Material - Refers to the material number, or part number, that is being managed. Typically, the material on an R3/ECC system is an 18-byte generated number to identify it to the system and has an industry accepted part number (Manufacturer Part Number) as a conversion exit so that you can enter either on R3/ECC and get the correct material number.
Material Document - Refers to the internal document used for tracking the movement of a material. Examples of material movements would be goods receipts and goods issues. MKPF is the Material Document header table and MSEG has the Material Document line items.
To find the Material Documents, you're going to have to query the MKPF table in your R3/ECC environment to get the document ranges needed for the setup jobs that you plan on executing.

Similar Messages

  • Get Material Document Number and Material Document Year

    Hi everyone,
    Right now, i'm developed idoc program. I need material document number (MBLNR) and material document year (MJAHR).  I have information only BAPI2017_GM_HEAD_01 and BAPI2017_GM_ITEM_CREATE. Is there any FM to get this value ? Thank you
    Regards,
    Satria

    Ok, i will explain with more detail about my problem
    Here my pseudocode :
    -  Get data with type BAPI2017_GM_HEAD_01 from Idoc (let we say this X)
    -  Get data with type BAPI2017_GM_CODE from Idoc (let we say this Y)
    -  Get data with type BAPI2017_GM_ITEM_CREATE from IDoc (let we say this Z)
    -  IF Y-GM_CODE <> "06" THEN
           CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
               EXPORTING
                   GOODSMVT_HEADER = X
                   GOODSMVT_CODE     = Y
               TABLES
                    GOODSMVT_ITEM      = Z
       ELSE IF Y-GM_CODE = "06" THEN
           CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
                EXPORTING
                     MATERIALDOCUMENT = ???
                     MATDOCUMENTYEAR = ???
                    GOODSMVT_PSTNG_DATE = ???
    I know that material doc and mat doc year is in table MKPF. But the problem is they are  the primary key, so how i use X,Y,Z in select operation to MKPF? or is there another way using FM ? Thank you
    Regards,
    Satria

  • Need help abt Purchase order and material document number

    1)Is there any releation ship between Purchse order number and material document number?
    2) I found aBAPI to get the goods receipt details. That is BAPI_GOODSMVT_GETDETAIL. But it is excepting Material document number and material document year as input parameters.Is there any BAPI to get goods receipt details by using purchase order number?

    hi kiran
    check this thraed. this gives you relatinship between Purchse order number and material document number
    Retrieving Accounting Document number based on PO numbers
    BAPI to get goods receipt details by using purchase order number is
    BAPI_GOODSMVT_CREATE
    thanks
    Sachin

  • How to get the Material-Document-Number wie the delivery-Number+Position???

    Hi,
    we want to connect mseg and likp+lips.
    But therefore we need the Material-Document-number concerning this
    delivery and in likp+lips isn't a Material-Document-Number!
    Could anybody help me to connect likp+lips with mseg!

    ok, NICE!!! But how should I get with these information a unique Material-Document-Number for a delivery+deliveryposition?

  • Material Document Number Ranges

    Hello Friends,
      We have a business requirement to differentiate the material document number ranges.  In our process, we have intercompany and third party scenarios and the requirement is that system has to determine different number series for third party goods issue and intercompany goods issue.  Currently as per standard, system deriving the unique number series for intercompany and third party goods issue since th event type is WL.
    Kindly provide your inputs on how we can differentiate the number ranges.
    Thanks in advance
    Best Regards,
    Goutham

    Hi,
    You could try to make it through the transaction code following  the process as below:
    First u need to create seperate document type in OMR4 or OBF4, then create a new number range in OMBT assign your new number range to new created document type then in T. code OMBA assign new created document type to the transaction code so whenever u will create document with this Transaction code u can get new number range.
    I hope this helps!
    Best Regards,
    Arminda Jack

  • Find material document with Material, Material document number

    Hi,
        i need to find the Material document (MSEG).
    I have the following details available
    a) Material number MATNR
    b) Plant
    c) Material document number. MBLNR
    To uniquely find the material document the following is required:
    MBLNR     Number of Material Document
    MJAHR     Material Document Year
    ZEILE     Item in Material Document
    Thanks
    AKG

    Hi Amit
    MSEG and MKPF are the tables where all material document numbers are stored and you can see the details using Tcode SE16.
    Since u have the material number and plant ..... hopefully movement type also ...... then u can see the material document number(field name MBLNR) in MB51.

  • Gatting Material Document number

    Hi All,
    In the MIGO transaction, for a Goods receipt order, the transaction is calling MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT to create a material document and returns material document number.
    I have created a new program that is using only the above two FMs and want to create the material document. But this thing is not working. I am passing all the parameters, which the FM takes when called from MIGO transaction. It is giving me a material document number which is not tracable for the current posting data in any of the tables. Please tell me if anything specific needs to be done while calling these FMs.
    <REMOVED BY MODERATOR>
    regards.
    Edited by: Gaurav Joshi on Feb 13, 2008 12:17 PM
    Edited by: Alvaro Tejada Galindo on Feb 13, 2008 5:38 PM

    Hi,
    Material document header table is MKPF.
    Also, instead of the above FM MB_POST_GOODS_MOVEMENT, use the BAPI BAPI_GOODSMVT_CREATE followed by BAPI_TRANSACTION_COMMIT to post the goods movement.
    Cheers,
    Aditya
    Edited by: Aditya Laud on Feb 13, 2008 6:16 AM

  • Material Document Number range for 2011

    Hi,
    As per standard practice we need to reset the number range for material document for calendar year 2011. New Number range will be effective from 01.01.2011.  Please let me know the below -
    1.     Step by step process for Number range assignment for Material document (GR / GR / Transfer posting) for 2011
    2.     Can we define Material document number rage financial year wise (Apr to Mar) like other FI documents number range? This issue is raised by finance dept. IF yes what will be the process?
    At present Number range assignment for our company is showing Year as 9999, from number 5000000000 and to number 5000000000
    Whether it is mendatory to re-ser number range.
    Thanks,
    Ranjan Kumar
    Edited by: Ranjan.pearl on Dec 29, 2010 2:51 PM

    Number ranges for Material document are maintained in OMBT.
    But there is no need to maintain different number ranges for material document as same as financail document. Financial documents are year based whereas material documents are not.
    Also if you are maintaining the material document number ranges as per year specific, then also same document number cant be used. But in case of financial document, the document number can be same i.e year specific.
    Different number ranges for Material Document :-
    Then assign the specific interval for a specific year like
    Year      From Number           To Number
    2001      0100000000     0199999999
    2002      4900000000     4999999999
    2003      5000000000     5999999999
    2004      0200000000     0299999999
    Still any queries, revert back.

  • Serial Number for material document number

    Hi All,
    Can any body tel me where Serial number stores for particular Material Document number.
    When user creation/posting MB11 he will enter serial numbers for material in material document.
    I already searched the forum. Unluckily i didn't received any related information.
    Thanks in Advance.
    NK

    I Tried looking standard table which contain Material number, Serial number, Equipment and Material Document but there isn't any.
    So I went into SQVI and join two tables, MSEG and OBJK. There I manually draged the MATNR from MSEG Table to OBJK and then selected the fields like Materials Number, Plant, Material Document, Mov Type etc and from other table I selected Material Number plus Serial Number, Equipment (chose your required filters) and then executed and it shows the required records correctly.
    Only issue it had was that if you try thousands of records e.g. Materials it went though and brought resukts and some time it dumped.  But it fulfilled my needs successfully.

  • How to fetch accounting document number from known material document number

    Hi,
    Using MIGO transaction, by giving mblnr(material document number) as input, I get accounting document number by clicking FI document.I have to add this accounting document number in my report for corresponding known mblnr(material document number) values.
    My question is how to fetch the accounting document number present in MIGO to add in my report program.
    I used the xblnr(Reference Document Number) which is present both in mkpf and bkpf tables to fetch values.
    I extracted xblnr values with known mblnr values from mkpf (Header: Material Document table).
    and then extracted belnr(accounting document number) from bkpf (Accounting Document Header table) by using xblnr values.
    But the query is running for a long time.
    Is there any other method  to extract the values in a simpler way.
    Kindly advise.
    Thanks and Regards,
    Sanjeev

    I had the values of xblnr and some other fields such as mblnr, budat etc in wi_item table.
    I created a new internal table i_xblnr and got down those values.
    And then created a new internal table i_belnr and tried to get values of belnr in it.
    The code I wrote is given below:
    IF not wi_item[] is initial.
    loop at wi_item.
       at new xblnr.
        ws_xblnr-xblnr = wi_item-xblnr.
         append ws_xblnr to i_xblnr.
       endat.
    endloop.
      select belnr xblnr from bkpf into table i_belnr for all entries in i_xblnr where xblnr = i_xblnr-xblnr.
    ENDIF.
    Kindly look after it.Thank you.
    Regards,
    Sanjeev

  • Creation of material document number.

    Hi All,
    In the MIGO transaction, for a Goods receipt order, the transaction is calling MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT to create a material document and returns material document number.
    I have created a new program that is using only the above two FMs and want to create the material document. But this thing is not working.
    I am passing all the parameters, which the FM takes when called from MIGO transaction. It is giving me a material document number which is not tracable for the current posting data in any of the tables.
    Also please tell me in which table can I get the details for the material document number other than AUFM and MSEG.
    help will be rewarded.
    regards.

    problem solved by myselves.
    by using popup to inform function module i am able to throw error message
    Edited by: Janagar Sundaramoorthy Nadar on Nov 19, 2009 7:01 PM

  • Display of FI document numbe and material document number

    Hi,
    I want to display both the material document number ( RBKP ) and the acccounting document number ( BSET ) together while posting the Invoice using MIRO transaction.
    Pl provide with your valuable suggestions.
    Regards,
    R. Dillibabu.

    Hi Arif,
    We wanted to generate a number during invoice verification based upon the order type of the PO, As you know it is not possible to generate a order specific material document number but it is possible to generate a order specific accounting document number provided we can select RE or ZE while processing invoice verification.
    This accounting document number will be considered as a claim number for one of the customized business process ( Warranty Claim process ).
    The user has to record the claim number on a daily basis. Currently it is being done by passig the RBKP-BELNR to the BKPF to get the accounting document number ( BELNR ) which is quite tedious.
    Hope the business functionality is quite clear now.
    Regards,
    R. Dillibabu.

  • Material document number to match the FI document number

    Hello MM Gurus,
    May I know if anyone here has encountered a requirement where the material document NUMBER generated from goods movement (GR, GI) should have the same NUMBER with the FI accounting document generated with it? I tried to match the number ranges initially but this would only apply to 1 company code.
    Are there user exits here that I can use? 
    Regards,
    Marvin

    Hi
    You can create Number ranges for each year in OMBT transaction.
    regards
    Srinivas

  • Not able to see backend material document number in SUS

    Hi,
    A GR is created in ECC. It is avaiable for disply in the supplier's login.  We are able to achieve this.
    The question is "We are not able to see backend (ECC) material document number anywhere on the screen. We are only able to see the SUS Confirmation number (i.e. as per the number range assigned to BUS2233). Is it standard behavior?
    Details: SRM7.0 SP07, ECC Ehp4, Using MM-SUS. Plan driven procurement.
    Ganapathi

    Dear Manjunath,
    Thanks for the response.
    We have noticed that, the back end (ECC) material documents are getting replicated to SUS as we are able to see this number in BBP_PD &  BBP_PDBEH-BE_OBJECT_ID.
    So, let me put the question this way.
    Our issue is with display of document in the portal (BSP Pages).
    For Example, in case of Invoice, the supplier can see the back end MIRO invoice document number with the "External Reference" Label, under Basic Data section. The case is NOT same with GR. The back end (ECC) material document number is NOT seen any of the layout (for end user, who has logged in as supplier).
    Is it standard behavior? If we want that, the suppliers should be able to see the material document number in the portal, when a GR is created in ECC, what settings we have to do?
    Ganapathi

  • Billing Document and Material Document number and Date (Goods Issue)

    Dear Experts,
    Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
    Thanks

    Hi Abid
    Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
    You have to follow the flow from the billing document to the material document. This will only work if the billing document comes from a delivery note.
    Billing document => Delivery
    LIPS-VBELN = VBRP-VGBEL
    and LIPS-POSNR-VBRP-VGPOS
    So you have LIPS + LIKP with the LIKP-WADAT_IST as the goods issue date.
    Delivery => Material Document Number
    You can use the table VBFA with the delivery item as the preceding document number (VBFA-VBELV) and item (VBFA-POSNV) ; you will also have to define the preceding document type as J (delivery) and the document category of subsequent document as R (material document).
    Because in SAP nothing is simple, there might more than one material document, because the goods issue (601) movement might have been canceled and issue again. So you will have to decide what to do in that case.
    Best Regards,
    Franck

Maybe you are looking for

  • Problem with starting JApplet

    Hallo, I have written a Java-applet, that inherits JApplet from Swing. When I try open it in a browser the Java-Console writes: java.lang.NullPointerException      at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)      at sun.plugin2.main

  • Newbie at this and need help

    Hello, I am a complete newbie at this Itunes stuff and I have some very basic questions. If somebody would be willing to help me out I would appreciate it. So I have loaded Itunes on my PC. I then put in a cd that my friend burned a ton of songs on f

  • Public Websites in Photos

    How do I create a Public Website out of a Shared Album in Photos? Seems like this functionality was lost from iPhoto even though it is still on Apple's Shared Albums webpage.

  • Firefox will not save my Connections settings, so opens on manual proxy every time, rather than No Proxy?

    I'm using Firefox 4.01 and it will not save my connections settings when I set them to "No Proxy" keeps defaulting to manual therefore it wont load any pages until I change it to "No Proxy" which I have to do every time I open firefox.

  • Sandby Databases

    What is the difference between logical and physical standby databases? Is standby database and data guard is same ?