Determination of Consumption indicator in Material document (MSEG)

My question is about how the Consumption indicator gets set in a material document.  Everything comes from somewhere in SAP...
I have two movement types, 901 and 900.  900 is configured to be the reversal movement for 901.  Both these movement types have Consumption posting indicator "G - Planned withdrawal (total consumption)" in OMJJ movement type configuration (field T156X-KZVBR).
When the 901 movement is done, the consumption indicator in MSEG is [[blank]] (field MSEG-KZVBR).  When the 900 movement is done, the consumption indicator in MSEG is V = Consumption.  Why are they not the same?  How does the entry in MSEG-KZVBR get determined, if not from T156X-KZVBR?
Other information:  both movements are delivery movements.  901 is typically done from transaction VL02N Delivery change or VL06G Goods issue due list, while 900 is done using transaction VL09 Reverse delivery goods issue.
Thank you in advance if you are able to help.

@Esther,
For the delivery in question, LIPS-KZVBR is blank.  This corresponds fine to the related field in MSEG being blank on the goods issue.  But where could the the "V" indicator on the GI reversal come from?  Both movements are for the same delivery item. 
I have tried clearing out the "G" indicator in the movement type config (T156X-KZVBR) for first the 900 reversal movement, and then the 901 GI movement too, and still they post the same way, with the 901 GI having a blank and the 900 reverse GI having a V.  Based on this I'm ready to conclude that the movement type config Consumption indicator does nothing, which shouldn't be the case?
@Indraneel,
I'm aware of the configuration of account assignment categories in Purchasing (in table T163K) and the Consumption indicator there, but how could that be playing a role in these Delivery-related movements?  If there's a connection, maybe that's the missing link I'm seeking?
Thank you both for your replies!

Similar Messages

  • IFCU material documents MSEG-EQUNR field

    Dear Expert,
    In IFCU,material documents number generate for 201 mvnt type.Now I want to develop Z report for fuel consumption (In house and external station combine)against vehicles.In MSEG table I found the fuel qty for in house station against the material document number but the equipment field is blank. Thats why I cant able to derive the logic.Is there any other way to update the MSEG-EQUNR field against the material document number.
    Thanks in advance.
    Regards.
    Swapnil

    Dear Expert,
    Waiting for your suggestions.
    Regards.

  • How to find whether a material document(MSEG-MBLNR) is reversed or not

    Hi All,
      How can we identify a material document which is created by MB1B transaction is reversed or not. is there any field like reversal indicator in any material document table.
    Regards
    Ramana

    Hi Ramana,
    Check MBSM Transaction.
    If the Material document is reversed, and if their is some linkage between the Material document and its reversal document, you will get in this transaction.
    generally only those material document have reversal linkage which are reversed through MBST Transaction.
    Say Generated Material Document 12345 was reversed using MBST Transaction and its reversal document number is 12346. then
    Check the MSEG Table with the MBLNR value 12346. You will find their is one more field 'SMBLN' which shows your original doc i.e 12345.
    Just check it out in your test server.
    Regards,
    S Anand

  • How can I get Notification Number from Material Document?

    Can you please tell me that how can I get Notificatin Number(QMEL-QMNUM) from Material Document(MSEG-BELNR)?
    Regards,
    Subhasish

    This question is closed but unanswered.

  • 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 Document for Scrap consumption not Found

    Dear Friends
    During order confirmation, molten material / raw material is consumed by 261 MT and dross SH100002 is generated by MT 531 along with the finished product with MT 102. I reversed finished product through 102 MT and Raw material through MT 262. Thus do I need to reverse dross through MT 532, against order?
    When I went to MB51, I found the material document for finished Material production with MT 101 and raw material consumption with MT 261. But in MB51when I tried to find out dross generation with MT 531, I did not get any material document for that particular order no.
    In the production order though total quantity: 88000 and delivered quantity is only 26000. When user is trying to confirm the production order only for 200 units, system is giving the following error message:
    Overdelivery is not permitted (Check entry)
    Message no. RU139
    Diagnosis
    The total yield and scrap confirmed exceeds the overdelivery tolerance defined in the order header.
    Procedure
    You can either
    u2022 reduce the confirmed quantity
    u2022 deactivate the tolerance check during confirmations (customizing),
    u2022 increase the overdelivery tolerance in the order header and then enter the confirmation again
    Please tell me why Material movement of dross/ scrap is not visible and why production order is not getting confirmed
    Thanks
    Chandra

    Chandra,
    When you say te movement is with order confirmation then I assume that it is backflush of the components & byroduct.
    If you do not find the material document in MB51 then it is not posted yet.
    In that case excute T code COGI & process the same.
    Regarding the order confirmation error, kindly check the 'Goods receipt' tab page in the order header.
    The delivery completed indicator must be marked. Unmark the same & save.
    Now try to process the confirmation.
    Anyhthing else please let me know.
    Hope this helps you.
    SmanS

  • Performance issue while selecting material documents MKPF & MSEG

    Hello,
    I'm facing performance issues in production while selecting Material documents for Sales order and item based on the Sales order Stock.
    Here is the query :
    I'm first selecting data from ebew table which is the Sales order Stock table then this query.
        IF ibew[] IS NOT INITIAL AND ignore_material_documents IS INITIAL.
    *     Select the Material documents created for the the sales orders.
          SELECT mkpf~mblnr mkpf~budat
                 mseg~matnr mseg~mat_kdauf mseg~mat_kdpos mseg~shkzg
                 mseg~dmbtr mseg~menge
           INTO  CORRESPONDING FIELDS OF TABLE i_mseg
           FROM  mkpf INNER JOIN mseg
           ON    mkpf~mandt = mseg~mandt
           AND   mkpf~mblnr = mseg~mblnr
           AND   mkpf~mjahr = mseg~mjahr
           FOR   ALL entries IN ibew
           WHERE mseg~matnr      = ibew-matnr
           AND   mseg~werks         = ibew-bwkey
           AND   mseg~mat_kdauf   = ibew-vbeln
           AND   mseg~mat_kdpos  = ibew-posnr.
          SORT i_mseg BY mat_kdauf ASCENDING
                         mat_kdpos ASCENDING
                         budat     DESCENDING.
        ENDIF.
    I need to select the material documents because the end users want to see the stock as on certain date for the sales orders and only material document lines can give this information. Also EBEW table gives Stock only for current date.
    For Example :
    If the report was run for Stock date 30th Sept 2008, but  on the 5th Oct 2008, then I need to consider the goods movements after 30th Sept and add if stock was issued or subtract if stock was added.
    I know there is an Index MSEG~M in database system on mseg, however I don't know the Storage location LGORT and Movement types BWART that should be considered, so I tried to use all the Storage locations and Movement types available in the system, but this caused the query to run even slower than before.
    I could create an index for the fields mentioned in where clause , but it would be an overhead anyways.
    Your help will be appreciated. Thanks in advance
    regards,
    Advait

    Hi Thomas,
    Thanks for your reply. the performance of the query has significantly improved than before after switching the join from mseg join mkpf.
    Actually, I even tried without join and looped using field symbols ,this is working slightly faster than the switched join.
    Here are the result ,  tried with 371 records as our sandbox doesn't have too many entries unfortunately ,
    Results before switching the join  146036 microseconds
    Results after swithing the join        38029 microseconds
    Results w/o join                           28068 microseconds for selection and 5725 microseconds for looping
    Thanks again.
    regards,
    Advait

  • Material document not updated in Table MSEG,MKPF

    Hi,
    when i post the GR, Materail doument is posted and matereail doument number is shown, but when i go to Display mode of the materail docuemnt number. the message is coming" document numberXXXXX does not exist in calender year 2010" Message no: M7062.
    if i see the tables MKPF,MSEG,EKBE there is no entry dispalyed..
    due to this problem my work is pending in all Procure to pay scenario..
    can you provide the solution..
    regards,
    Obulesu

    Hi,
    Check the number ranges for material documents. (with year) for document type WE in OMBT transaction code.
    If same material document number repeats in the same calendar year,then document update will be terminated.
    As, document no. will be already existing in tables, system won't allow to update the same no. again.
    Thanks & Regards,
    Anand.

  • Wrong value of MSEG-VKWRT in material document

    Dear all,
    A material document which has been created manually via Tcode MB1A has a wrong sales price for one of the articles (143.91 per piece while the price in VKP2 for that day is 3.99, there is also no promotion price). The field is not ready for input and it's even not visible during the manual creation of a material document. So this excludes any human error.
    Where did the wrong sales price come from?u
    Thank you in advance for your input!
    Regards,
    Miro

    Hi,
       Please check the note: 850025 - Updating sales value in material document and RIS/BW
    if you are in ECC 6.0
    Regards,
    AKPT

  • Material document cancellation indicator:

    Dear Friends,
    How to find the Material document cancelled or not based on the Material-doc number.
    Is there any  straight forward check or status in the Material document itself.
    Thanks in advance.
    RAMAN.

    Hi Jayakanthan
    i hope  you did't understand my question ,
    here is the scenario
    I did GR for with  101 movement type and after some time  it is cancelled then another material document is created with 102 movement type then by using the same PO i will do GR  again with 101 movement type . now i want to differenctiate between these
    two 101 documents , if you go to 102 documet there you will get the reference of 101 document number  where as
    in the cancelled 101 document there is no indication to identify whether it is cancelled or not .when you go the MBSM you will get only
    the 102 document
    Regards
    CVS

  • Problems with printer determination when printing material document

    Dear experts
    I have done config in transaction OMJ4 to have a material document printed when saving transfer posting (mvmt type 315) from MB1B.
    However, in OMJ4, printer 1 is defined....but the allocated printer for the material document is printer 2. I checked transaction OMJ3 and OMJ4, but printer 2 is not defined anywhere here.
    I try to run some kind of analysis in MB02 for my material document to get a clue on how the system picked up printer 2, but I do not see any analysis function for output det. in MB02.
    Anyone who would have a clue why printer 2 is picked instead of printer 1?
    I have checked user settings, all printers are set to LOCL.
    Any advice would be appreciated.
    Brgds,
    Lars

    Hi,
    As you set and assign printer in OMJ4.Now check Printer is defind in t.code: OMBR & then enable material doc printout in OMB5. Also cross check in t.code: OMJ3 for printer assigned to output type with combination of Plant & Storage location.
    Regards,
    Biju K

  • 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

  • How to Print a material document .

    How to Print a material document . W#hat all configs/settings do i have to make .
    I did the following ....
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the foll:
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    Then i went to MB90 and did the following ...
    n MB90 output type is maintained as WE01
    Transmission medium as 1
    sort order as 01
    procesing mode as 1
    Material document year 2009
    Material document 50xxxxxxxx
    Excecute
    system says
    No messages for initial processing exist
    Message no. VN108
    Then i select the print icon
    enter the output device
    press enter
    System throws a message " Formatting set to 'X_65_80'"
    Sysytem comes to Spool request : Information screen
    When i display spool request
    The system says list contains no data .
    What is missing??
    Pls let me know ..
    Regards
    Anis
    Regards

    Hi Anis,
    For step - 4
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain
    Print Indicator for GI/Transfer Posting Documents
    As your posting a GR, you need to maintain the settings in :
    SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt Documents
    for 101 movement as 1.
    Now post GR & go to MB03, select your document & check in messages tab if the message is generated.
    Check & revert.
    Regards,
    Vivek

  • BAPI_GOODSMVT_CREATE to create a material document for consumable goods

    Hi All,
    I am using a BAPi  (BAPI_GOODSMVT_CREATE) to create a material document using a PO. Please note that the PO contain no material number. It contains short text. The account assignment is being copied in to the MIGO from PO (when i am doing the process manually without BAPI). But when i am using the BAPI at that time i am getting an error as:
    E M7                   036 No goods receipt possible for purchase order 45XXXXXXXXXX 00010 .
    Logically this should not happen as  when i do it manually i am able to post MIGO.
    Under goods movement header i am giving :
    posting date
    doc date
    text
    goods movement code :
    01
    GOODSMVT_ITEM
    plant
    mov type
    po number
    vendor
    line item
    short text
    cost cenrtre
    order no(int ord no)
    mov indicator: B
    GL account
    base unit of measure
    Where i am going wrong?

    Hi Jurgen
    In response to my post where i wrote my observations :
    As you have suggested i have removed the account assignment objects and now i am not getting the error as mentioned in my post but at the same time i notice in export parameters  in the bapi the following things which was not present earlier.
    GOODSMVT_HEADRET                   50000xxxxx2014
    MATERIALDOCUMENT                    50000xxxxx
    MATDOCUMENTYEAR                     2014
    Now another thing is i am not getting any entry in return table.... which i should get. Please note that my test run contains no values(X).
    i think i am near to the solution. Could you suggest any more crucial points i might be missing?"
    for this i found out that there is a way to solve this issue. My concern was why the material document was not updating .  Well this is how SAP behaves.
    To update it we have to run simultaneously another fm " BAPI_TRANSACTION_COMMIT".  This will update it in the mseg table which in turn will reflect it PO history. So my requirement is answered and fulfilled.
    Thank you so much for the replies and cooperation.
    Thank you all.

  • Revoke of Service Entry Sheet and hence cancellation of Material document

    Suppose one Service entry sheet you created once you accept Service entry sheet it will create a material document once you revoke the service entry sheet it will create a reversal material document. which table and field we find the relationship in original Material document created against SES and canceled material document against revoke of SES.

    Hello,
      in table MSEG youo can enter with Purchase Order number (EBELN)  and Purchase order item (EBELP): this way you will have all the material documents created for that PO, both for the acceptance and the reversal of the entry sheet. You can use the Reference document (field LFBNR) to see the link between acceptance and reversal of the entry sheet. On top of that, you can use fields "Movement type" (BWART) and "Debit/Credit Indicator" (SHKZG) to distinguish acceptance and reversal of the entry sheet for the same PO item.
    Hope to be useful.
    Best regards,
    Andrea

Maybe you are looking for