How to check the material consumption using tables

Hi,
I would like to know how to generate or view the material consumption at table level. Can anyone please specify the transactions codes and tables names how to check the consumption of material. I also like to know how to analysis the consumption of material between components and finished material. Please provide me the step by step wise how to do.Thanking you
Regards,
Sivaji Kumar Madhu Kiran

You can calculate material consumption in table MSEG. you will need to segregate the material documents based on movement types and then add or reduce the quantities of each material document. for example a material document with movement 101, add the quantity for the material, and when there is a issue material document like 201 or 221 reduce the quantity from the material stock.

Similar Messages

  • CIN: How to check the material document posted without excise invoice

    Hi Guru,
    Please advise how to check the material document posted without excise invoice.
    I have tried tcode J1I7 but it seems start to collect the excise invoice first and then material document.
    But my case is to find the material document WITHOUT excise invoice for internal tracking purpose.
    At the moment we start from tcode MB51 to get the list of material document and check in J_1IEXCHDR / J_1IEXCDTL
    Best regards,
    Pakorn

    Hi,
    Try creating a Query in Tcode SQVI by combining tables MKPF and J_1IEXCHDR/J_1IEXCDTL for your requirement.
    Check these threads how to create Query.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6018c1ae-8c44-2d10-6ea9-c3fad2c82880?QuickLink=index&…
    http://ptgmedia.pearsoncmg.com/images/9780672329029/samplechapter/0672329026_CH03.pdf
    Regards
    Binoy

  • How to update the ztable by using table handling function

    how to update the ztable by using table handling function
    It is very urgent ...............................
    thanks in advance

    see the  below code for the direct   ztable update
    Report  ZUPDATE_PRPS.
    tables: zprps.
    parameter: p_wbs like zprps-pspnr,
               p_value like zprps-fakkz default 'X'.
    data: wa_fakkz type zprps-fakkz.
    *START-OF_SELECTION
    start-of-selection.
    call function 'CONVERSION_EXIT_ABPSP_INPUT'
         exporting
             input     = p_wbs
        importing
             output    = p_wbs
        exceptions
             not_found = 1
             others    = 2.
    select single fakkz
      into wa_fakkz
      from zprps
    where pspnr eq p_wbs.
    if sy-subrc eq 0.
       update zprps set fakkz = p_value where PSPNR eq p_wbs.
       if p_value is initial.
         message i999(za) with 'Billing element field has been unchecked'.
       else.
         message i999(za) with 'Billing element field has been checked'.
       endif.
    else.
      message i999(za) with 'WBS element not found'.
    endif.
    reward  points if it is usefull .....
    Girish

  • How to check the user is using mobile to browse my website??

    Dear all,
    i am new in Java.Pls help!!i want to check the user is use what tools to browse my website...i mean if the user is using mobile to vist my website(eg:http://www.abc.com), it will rediect the mobile user to a webpage only for mobile user,otherwise,it will redirect to normal page for normal user(use browser such as ie,netscape)...
    how to do it? which function did i use?please give me some tips!!!
    Java baby , Frankie

    Check the User-Agent header of your request. Most phones will identify themselves through it.

  • How to check the contents of MCVBAK table?

    Hi all of you,
    I am using MCVBAK table for extraction using LIS.  The problem I am facing is when I am running the init load in BW for my IS S511, it is successfully running but in the monitor screens it says only 1 from 1 record. I thought that there are no records in the table MCVBAK so I wanted to make sure if there are really no records in MCVBAK table.  
    So I went to R/3 gave the T.C SE11 and entered the table MCVBAK to check its contents.  But in the MCVBAK table what I find is the graphics button and contents button are invisible.  My question is
         How to find the contents of the table MCVBAK?
    Please help. 
    Thank you,
    Tristan.

    Hi TR,
    Yah, you need to check VBAK Table at SE11, Things that start with "MC...." are usually structures. Anther point, I want to mention is, When you schedule as Init load at the BW side, the system will get the data from S511 table(which is Information Structure table). So, you have do statistical setup first (at eg for sales Tcode is oli7) which will copy the records from VBAK table to your Information Structure (i.e S511).Only then, you can perform Init Load. Hope this Info help!
    Regards,
    Vj

  • How to check the content of cluster table smw3_bdoc1(00)

    Hi!
    I want to check the business partner changes sending via bdoc from crm to sap.
    For this i want to look into the bdocs.
    I think it's the cluster-table smw3_bdoc1.
    'Cause i don't know which is the name of the structure in the clustd-field i use:
    data: dirtab type table of cdir,
          wa_dirtab like line of dirtab.
    import directory into dirtab from database
                                      smw3_bdoc1(00)
                                      id '49600667F6980046E1008002AC18C6E5'.
    if sy-subrc = 0.
      write  / 'Directory:'.
      loop at dirtab into wa_dirtab.
        write: / wa_dirtab-name,  wa_dirtab-otype, wa_dirtab-ftype,
                 wa_dirtab-tfill, wa_dirtab-fleng.
      endloop.
    else.
      write 'Not found'.
    endif.
    So i've found the directory object "BDOC_BODY".
    Now i want to read the content with:
    data:   iclust type string.
    loop at itbdocid.
         IMPORT BDOC_BODY = iclust FROM DATABASE smw3_bdoc1(00)
                                        ID itbdocid-bdoc_id.
    endloop.
    An error message raises with...
    "error importing the object BDOC_BODY"
    The dump tells me that object types of BDOC_BODY and iclust doesn't match.
    I've changed the field iclust to type xstring... but it's the same error.
    If somebody here can help... Thanks a lot!
    Cheers, Ingo

    Hi,
    Thanks, I can see the data now.I am expecting that data should display in the 2LIS_VDKON extractor.There are two records for particular condition type.Item 10 and Item 20, but in RSA3, it is showing only one record for Item 20 and not showing for Item 10.
    I have cleaned and filled the setup tables, but still no luck.
    Can you please guide me, where else to look?
    Thanks
    Priya

  • How to check the database connection using OCI

    I am working on enhhancement of very old application developed using C and OCI. It has a background process which acts as a middleware for interaction of any other front end process with oracle database. Any processes, which needs to interact with database sends a request to background peocess and then it will execute a call to execute the stored procedures for performing requested operation (like select, update, insert) on table and will send the result back to respective process. So this process has to be always running in background and connected to branch database.
    If branch database gets restarted or connection gets dropped due to some ad-hoc problem then the background process also has to be restarted manually. Because this process establishes the connection to branch database only once on start up and it does not have the intelligence to reconnect automatically in such scenario.
    I am looking forward to build the intelligence in this process to automatically reconnect if connection with branch database is lost. But I am not familer with OCI, and I am not sure if there is any OCI call which can determine if my earlier connection is still available. Can any one please tell me if there is any other way to check the connection other than the execution of dummy query, then check if it gets executed properly and then do the actual query.
    Thanks in advance,
    Deeapk

    Hi,
    If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
    From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
    In the documentation I see this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
    "Applications must connect to a RAC instance to enable HA event notification."
    In any case, this has the potential to be a bit complicated...
    Regards,
    Mark

  • How to check the customer class using CRM_PRICING_BADI...

    Hello Experts,
    I am using the said BADI in transaction CRMD_ORDER to check the
    customer class and condition exclusion. What data do I need to use and pass?
    Sorry since I am fairly new to CRM module.Hope you can help me guys.Thank you and take care!

    No answer...

  • How to check the locks in a table

    Hi
    Can any one tell me the commands to check the locks and get rid of the locks in a table.
    Thanks and Reg
    Debashis

    v$lock
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#sthref764

  • How to enhance the datasource 0SRM_TD_PO using table BBP_PDIHP

    In R3 when any PO is deleted at the header/item level the field LOEKZ is populated in tables EKKO(Header)/EKPO(item level).
    Similarly in SRM when any PO is deleted at the header/item level the field DEL_IND is populated in tables BBP_PDHGP(Header)/BBP_PDIHP(item level). In current situation we have standard datasource 0SRM_TD_PO, this has a field as ITM_DEL_IND which is coming from table BBP_PDIHP(item level) and its always blank and its not getting populated , so we are not able to eliminate the deleted PO's in BW.
    To overcome this, I have a following approach :
    =====================================
    Enhance the datasource 0SRM_TD_PO to include a "ZZDELIND" field and populate this field via CMOD from tables BBP_PDHGP(Header)/BBP_PDIHP(item level). The issue is I'm not able to determine the relation/join/data model between the datasource and the tables. The datasource 0SRM_TD_PO has a PO#(OBJECT_ID) but the tables BBP_PDHGP(Header)/BBP_PDIHP(item level) dont have a PO# instead these tables have a key as "GUID"which is HEXA decimal.
    Can someone please help me out.

    two ways:
    1. call FM bapi_po_getdetail and pass the PO number, you will get all your details
    2. pass PO number to CRMD_ORDERADM_H to get the the GUID and use this GUID on BBP_PDHGP(if version control is active then you need to consider the active version only)
    and for item guid, pass the GUID picked from CRMD_ORDERADM_H to CRMD_ORDERADM_I-HEADER, you will get all the item guids as CRMD_ORDERADM_I.
    this can be passed to BBP_PDIGP.
    there are beautiful views as well joining these tables(BBP_PDVIEW*).. which you can use as well

  • How to check the database existence using java.

    Hi All,
    I need to know if a database exists or not using DB2 sql statements. Is there any sql to find that.
    Thanks in advance

    try to connect to the database. if it is possible, the database exists - if not - well there may be a number of reasons, but if your database URL is correct, your network is ok and your database engine is running, the database is not existent.

  • How can I get the material consumption of the month for each specific Finished Good?

    (Sorry, I first opened this discussion in another space. I guess here's where it belongs).
    Dear Experts,
    This is the first time I open a discussion. I'm new at this. I've been reading for a couple of months your forums and certainly you've helped me a lot. Thanks for that. Keep it up! ^_^
    Now on business. Let me explain a bit about what I'm looking for.
    I've been looking for a report that shows me the material consumption of the month in quantities. Raw Material and Packaging Material to be more specific. Also I need to see the consumption of those materials by each specific Finished Good.
    For example, I know the consumption of Flour of all the month, but we use it for all our Finished Goods or SKU's as we call them, since we make cookies. How can I know how much Flour each Finished Good actually used?
    I've been trying with different T-Codes, reports, etc. The last thing I've got is using transaction MB51 and filtering movements type from 261 to 262. The beauty of this report is that shows me the Process Order number, since I can match the PO number to a Finished Good with another report from BI (or BEX, however you call it).
    Everything was fine until I found that there are some PO's that are not directly related to a Finished Good, but to a Semi Finished Good. In some cases I'm able to match the Finished Good, since the majority of Semi Finished Goods are uniques to a Finished Good. But there are three specific cases that are my problem right now:
    Cream X: We use it for three Finished Goods.
    X Syrup: We use it for all the Finished Goods.
    Refined X Sugar: We use it for three Finished Goods.
    So those three are Semi Finished Goods which are related to certain numbers of PO's I have on the report.
    In the end, with the report from MB51 I have all the list of materials (filtering only Raw and Packaging), I have the consumption of the month (filtering movements 261 and 262) and I have the PO number related to each material. Of course one material is listed many times on the report, but with different PO number.
    Then, like I said, I can match the PO number to a Finished Good, except in the cases where the PO is not matched to a Finished Good, but to a Semi Finished Good like the three examples I gave you.
    I don't know if there's another way to track the Finished Good having the PO number. I've tried T-Code COR3, but couldn't get too far.
    I hope I explained myself a bit clear and also sorry if my English is not so good.
    Thanks in advance. ^_^
    Warm regards,
    Rol

    Hi Rolando,
    If the purpose is to find the consumption of a material, you can get it from report "MC.9". Plz let me know if it's useful.
    Rgds,
    Sudheer.

  • How will check the space taken by a single table in a tablespace ?

    How will check the space taken by a single table in a tablespace ?
    dba_segments is giving the same values even if I truncate the table?
    Pls reply

    I need to know how can we find out the size of the table in the tablespace.use user_segments (bytes) column.
    How much bytes it has taken ?value from user_segments, bytes column
    If u delete records will the space be used for another table in same tablespace?No, it keep the space in the same table for future usage.
    How can we free that space ?truncate or drop the table and reduce the size from tablespace, if you want to reclaim the space from the tablespace, OS level.
    Jaffar

  • How to check the records in Master Data Table?

    Hi,
       I am trying to load the Master Data Table using the Flat File.Now how to check the records in Master Data Table?
    I done the following way:
    Info Provider->Info Object->Right Click->Display Data or Maintain Master Data
    But it's not showing the records.It's asking like CID from......To......
                                                                        CID(SID)from.............To.......
                                                                         here CID means customer id(characteristic).
    and showing some settings.
    Please guide me.
    Thanks & Regards

    Hi Sri,
    Go to T- code RSD1 and type your info object name and open the P- table in the infoobject then select execute symbol to see the updated  data in to master data info object.
    regards
    sap

  • How to check the data of an archived table.

    I have archived a table created by me. I have executed the write program for the archiving object in SARA. Now how can check the data of my archived table.

    Hello Vinod,
    One thing to check in the customizing settings is your "Place File in Storage System" option.  If you have selected the option to Store before deleting, the archive file will not be available for selection within the delete job until the store job has completed successfully.
    As for where your archive file will be stored - there are a number of things to check.  The archive write job will place the archive file in whatever filesystem you have set up within the /nFILE transaction.  There is a logical file path (for example ARCHIVE_GLOBAL_PATH)where you "assign" the physical path (for example UNIX: /sapmnt/<SYSID>/archivefiles).  The logical path is associated with a logical file name (for example ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK).  This is the file name that is used within the customizing settings of the archive object.
    Then, the file will be stored using the content repository you defined within the customizing settings as well.  Depending on what you are using to store your files (IXOS, IBM Commonstore, SAP Content Server, that is where the file will be stored. 
    Hope this helps.
    Regards,
    Karin Tillotson

Maybe you are looking for

  • Chinese language support in Webdynpro

    Hello Everybody, I want to enable my webdynpro application for Chinese and thai language. I followed the tutorial available on SDN. I have created resource files and messasge pool. But, at the time of editing these resource files, how can I specify c

  • Copy and paste temp setting

    LR3, OSX. I want to copy a temp change and apply it to another image, how do i do this? In Develop settings copy, it isn't there, synching doesn't do it. Any help, much appreciated. Alex

  • Removing opening window

    I just purchased a new HP Laptop.  I downloaded the current version of Adobe Reader.  When I boot Reader, a menu window appears on top of Reader.  It gives me the choices of signing in or choosing a pdf file.  I do not like this window and I want to

  • In design Priting problem

    Hello everyone, I am quite new to in design. I have a small question. When I change the background color of the page in in design ( say black ) what should I do so that when I print the page I get the page in black instead of the default white? On so

  • Issue of Audio not playing in IOS still here with EA 2014.1.1

    Edge Animate. No audio when viewed on my ipad and galaxy android. Just like previous discussion that I found. It appears audio worked fine in previous version but not now. Adobe often goes backwards with updates. App gets worse not better. Hey guys,