Significance of item in material document

Hi all,
Plz tell me the sinificance of item in material doc(zeile) in buzei .
rgds,
Savita

Hi YiNing
You can use this code after calling BAPI.
      SELECT SINGLE mblnr
       INTO CORRESPONDING FIELDS OF wa_mkpf
       FROM mkpf
       WHERE mblnr = p_mblnr.
      IF sy-subrc EQ 0.
        EXIT.
      ELSE.
        CALL FUNCTION 'RZL_SLEEP'
          EXPORTING
            seconds        = 2
          EXCEPTIONS
            argument_error = 1
            OTHERS         = 2.
      ENDIF.
*Check material document number is in table MKPF
  CHECK wa_mkpf-mblnr IS NOT INITIAL.
  REFRESH : i_mseg[],i_ser03[],i_objk[]..
  SELECT matnr charg vfdat erfmg erfme mblnr zeile
         INTO CORRESPONDING FIELDS OF TABLE i_mseg
         FROM mseg
         WHERE mblnr = wa_mkpf-mblnr.
Here you will get  the item in material number (ZEILE).
Regards,
Mukesh Kumar

Similar Messages

  • Excise duty for some line item of material document is not posted

    Dear CIN Exerts,
    In my Scenario user is Posting Excise invoice for every GR (105) by J1IEX to generate Excise invoice.
    In some Past cases, if there are more then one line item in a GR then Excise value for some material is not showing (May be that time user not Did J1ID (Excise rate maintenance ).
    Now the problem is that we wants to post excise Duty for those material WRT  material document for whom it was not posted.
    Please let me know that how can we do so (excise posting against Material document) so that it get reflected (for those line items for which Excise deuty is not posted)   in MIGO > Document Display> Excise items tab .
    Regards,
    Ashutosh

    Excise posting is not recommended by sap for movements 103 or 105.
    Refer or search for SAP notes with subject CIN Limited functionalities.

  • How to get the number of Item in Material Document?

    Hi all.
    I'm using the BAPI_GOODSMVT_CREATE, and want to get the Item number in Material Document of every entry in the internal table. How can I do that?
    Thanks in advance.

    Hi YiNing
    You can use this code after calling BAPI.
          SELECT SINGLE mblnr
           INTO CORRESPONDING FIELDS OF wa_mkpf
           FROM mkpf
           WHERE mblnr = p_mblnr.
          IF sy-subrc EQ 0.
            EXIT.
          ELSE.
            CALL FUNCTION 'RZL_SLEEP'
              EXPORTING
                seconds        = 2
              EXCEPTIONS
                argument_error = 1
                OTHERS         = 2.
          ENDIF.
    *Check material document number is in table MKPF
      CHECK wa_mkpf-mblnr IS NOT INITIAL.
      REFRESH : i_mseg[],i_ser03[],i_objk[]..
      SELECT matnr charg vfdat erfmg erfme mblnr zeile
             INTO CORRESPONDING FIELDS OF TABLE i_mseg
             FROM mseg
             WHERE mblnr = wa_mkpf-mblnr.
    Here you will get  the item in material number (ZEILE).
    Regards,
    Mukesh Kumar

  • The question about max line item in material document

    Dear  sir:
    I want to excute CO27 for an FP . It will create material documents. The max line item is 100 in each material document. But I want to record 400 lines in a material document.  Is it possbile to change the number of max line in material document?   How could I do to change that ?   Thanks !!

    I know about 333 in case of physical inventory because the finacial document has a technical limitation of 3 digits for Fi document item number, which means the FI document cannot take more than 999 lines.
    In case of physical inventory a material document item can create up to 3 FI item lines. So the limit for physical inventory became 333.
    I dont know from where you have the 100 as limitation, but take the above said into consideration before you change anything.

  • Cancel single item from material document

    Hi. Let's say that on material document there are:
    MATNR 1 - 5 items
    MATNR 2 - 10 items
    I need to cancel only 1 item from MATNR 1. So after that operation document should be:
    MATNR 1 - 4 items
    MATNR 2 - 10 items
    In MBST transaction there is no possibility to do such thing. You can only calncel the whole line (in that case 'MATNR 1 - 5 items').
    Is there some possibility to customize MBST to fit my requirements? Or maybe there is some other transaction which give me opportunity to cancel only 1 item? Please give me some tip. Greetings. P

    Hi Piotr,
    MBST transaction has the possibitly of selecting the individual line items. By default all the line items are selected. Please deselect all line items & then select only line item & press enter. Finally save.
    Regards
    Chetan
    PS:Reward points if this helps.

  • Modify quantity of an item in material document creation!

    Hi all,
    I want to change the quantity of an item in a material document, before the commit on the Database.
    I was thninking in the following BAdi:
    MBDOCUMENT_BADI_ 
    MBMIGO_BADI_
    However, I believe none of these can do what I whant...do You have any hint that could help me?
    Thanks in advance
    JEC

    Hi,
    Try this:
    BAdI Definition    MB_BAPI_GOODSMVT_CREATE
    Description        Enhancement BAPI_GOODSMVT_CREATE
    Interface          IF_EX_MB_BAPI_GOODSMVT_CREATE
    Regards,
    MdZ

  • Expand items on a material document

    The system allows to post 100 items per material document and after that it create a new document. How can we have the system to allow more than 100 items per material document? Is there any configuration/developement?

    Dear,
    When a material document is posted, a corresponding FI document is generated. The number of the the FI document items can exceed the number of the material document taken as a basis in some cases by more than the double (for example, with an active material ledger). When the system tries to write more than 999 FI document items, a termination occurs.In order to prevent this, the number of the material document items is restricted to 100.
    In the exact specification of a statistic, 100 items were proven to be favorable in performance measurements.
    The number of the maximum items per document should be a customizable statistic.
    For details read OSS Note 172678.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • How to find Material Document respect to incoming excise invoices?

    When stock is transfered from one plant to another,
    in sending plant, material document is created, with respect to this material document out bound delivery is created further out bound excise invoices.
    In receiving plant when the incoming stock reached the plant with incoming excise
    invoice, material document is created .
    how to find the this receiving plant material document with respect to incoming excise invoice.?
    how to get the receiving plant material documents with respect to sending plant material documents?

    when  the material is transferred from the one plant to another.
    before going to transfer the material.
    one material document is created
    with respect to multiple item  of material document delivery documents created.
    for every delivery one invoice is generated.
    when the stock is reached to plant with invoice
    with respect to this invoice one material document is created for quality check.
    I this case we may have multiple invoices may have the multiple material documents in receiving plant .
    how to find for which excise invoice it is creating material document in receiving plant?

  • Some Material Documents Missing Partially

    Hello,
    We took Inventory Data INIT last yr. on 16.10.2008 & first DELTA was also taken on the same day after 5-6 hrs.
    Now the problem is that certain Material Documents are missing partially for 16.10.2008
    For eg. there are two line items against Material document ABC
    Mat. Doc    Posting Date      Movement Type       Storage Location     Qty in un. of entry     Amount in LC   Entry Date  Entry Time
    ABC             16.10.2008            101                             003                           25 Kg                             1000 INR  16.10.2008         10:30
    ABC             16.10.2008              ---        --          --         ---                  --                 --         --     500 INR 16.10.2008          10:30
    Second Line item agains which M. Type, Storage Location Y Qty. is blank, is missing in to BW. While the first line item is pulled into BW.
    Similar is the case with some other material Documents also. Also i believe these documents are missing only from INIT & first DELTA request only.
    Is there any way to identify the missing Material Documents??
    Thanks & Regards
    Shilpi Gupta

    Hi,
    Using 2LIS_03_* DataSources you are extracting the data, if you fill the setup tables properly, it won't miss any data. See the following threads.
    Treatment of historical full loads with Inventory cube
    Setting up material movement/inventory with limit locking time
    Thanks
    Reddy

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

  • Material documents? Urgent !

    I transferred stock from one plant to another.
    in sending plant movement type is 641, material document xxx with multiple items
    in receiving plant movement type is 101, material document  number yyy.
    how to find respective material document items of sending plant(xxx) in receiving plant material document (yyy) ?

    I may have more number of material document items for the particular stock transfer po in receiving plant side.
    how to find the respective material documents and   items in receiving plant for particular item of material document in sending plant?
    there may be, in sending plant for one material document , there may be more number of material documents in receiving plant for same purchase order no & purchase item

  • Error message:Material document contains no items (order: 40000004 item: 00

    Good Day SAP expert,
    I have facing an error message on Material document contains no items (order: 40000004 item: 000010) & Message no. /DBM/COMMON286.
    This error happen when I want to create Good Issue with action QGIS (Create Goods Issue (DBM)).
    Steps that I create vehicle order:
    1.     Go to /dbm/order01 and select 3010 u2013 Vehicle Order based on Model
    2.     Then I create for a new customer with model sales code
    3.     I save the vehicle order in DBM.
    4.     I go to VELO to create vehicle on Peugeot model sales code and create PO, good receipt and incoming invoice.
    5.     Then I use action QDBM to enable vehicle to DBM.
    6.     I assign the vehicle (DBM) to my vehicle order (created based on model).
    7.     The assignment is successful; therefore I would like to do Good Movement (good issue). Error : Material document contains no items pop up.
    8.     I have try with create VELO, assign QDM and create 3000 u2013 vehicle order, Good Movement able to perform.
    I apply snote 1527931 - Problem with reading of document flow on nonunicode systems.
    Its doesn't work, system say still say that material document contains no items.
    is it advisable change error message to warning message?
    Please advice.
    Thanks
    regards,
    ng chong chuan

    I am not sure but this coudl be reason.
    You have created a vehicle but you have not created the purchase order and Goods Recipt for the Vehicle, means the VEHICLE IS NOT IN YOUR INVENTORY
    First check whether the vehicle is in inventory or not, if not then not possible to do Goods issue.

  • Excise Item tab in Material Document

    Dear Gurus,
    How to make the Excise Item tab viewable for while Displaying the material document
    Thanks in advance

    Even I am also facing same probelm that is when we are processing the MIGO I get the Excise tab but when I display the same document system is not displaying excise tab. for this I am alternatively checking part II in J1IEX transaction. I thing by applying this note it should show the excise tab.
    Vinay:If you have applied this patch please let us know the result
    If there is any more inputs please provide
    Thanks
    Dhananjaya
    Edited by: Dhananjayappa E on Jan 13, 2009 5:04 PM

  • Addition of G/L items in Accounting Document during creationof Material Doc

    Hi All
    I am looking for User exit or BADI that allows me to add additional G/L line items (offsets) in Accounting Document during creation of Material Document. I wish to do this when I save Material document in MIGO, MB01 or MIRO.
    Has anyone done this before? Is there any user exit, badi or function module to do this. Please share insight on this situation.
    Thanks in advance
    Sunny

    Hi,
      check out BADI MB_DOCUMENT_BADI this would trigger before and during update task while posting Material documents i think you can ful fill your requirement with this.
    Regards,
    Himanshu

  • Item Text in Purchase Order Transfer to GR (Material Document)

    Hi,
    Is there a way tro transfer the Item text in the PO to the GR or Material Document.
    Thanks,
    jograd

    Hi,
    Thanks. But will this also apply for  R/3 4.5. The transaction used for GR is still MB01 and MB1m and not Migo.
    Thanks,
    Jograd

Maybe you are looking for