Database Table where MRP Run results are saved-Urgent

Hi Gurus
i need your help in identifying the database table where the MRP Run results are saved , this is needed for creating a custom report similar to MD45(but for entire plant) where i can look and pull the sum of all the receipts and issues, ATP Quantity for a given material in a particular plant
and ignore zero quantities in the receipts and issues field
i tried in <b>MDTB</b> table, MDTB-MNG01 Quantity received or quantity required but it has no entries maintained in it and so it cannot be used.
So can you please help me with the table where i can get this information asap
thank you very much for your time and solution

Please use the code below which will help you in extracting data from MRP table.
You can enhance this program basing on your requirement.
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A sample program to extract data from the MRP table.
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
REPORT ZMRPTABLE.
TABLES: MDKP,  "Header Data for MRP Document
        MDTB,  "MRP table
        MDTC,  "Aggregated MRP table items
        T457T. "Description of MRP elements
DATA: BEGIN OF MDTBX OCCURS 0.
        INCLUDE STRUCTURE MDTB.
DATA: END   OF MDTBX.
SELECT-OPTIONS: PLANT FOR MDKP-PLWRK OBLIGATORY,
                MATNR FOR MDKP-MATNR OBLIGATORY.
CLEAR: MDKP, MDTB.
SELECT * FROM MDKP WHERE DTART EQ 'MD'
                     AND MATNR IN MATNR
                     AND PLWRK IN PLANT.
    WRITE:/ MDKP-MATNR, MDKP-PLWRK.
    IF MDKP-CFLAG EQ 'X'.
       CLEAR MDTBX. REFRESH MDTBX.
       IMPORT MDTBX FROM DATABASE MDTC(AR) ID MDKP-DTNUM.
       LOOP AT MDTBX.
         MOVE MDTBX TO MDTB.
         SELECT SINGLE * FROM T457T WHERE SPRAS = 'E'
                                      AND DELKZ = MDTB-DELKZ.
         IF MDTB-PLUMI = '-'. MULTIPLY MDTB-MNG01 BY -1. ENDIF.
         WRITE:/ MDTB-DAT00, T457T-DELB1, MDTB-VSTAT,
                                          MDTB-MNG01, MDTB-LGORT.
       ENDLOOP.
    ELSE.
       SELECT * FROM MDTB
                     WHERE DTNUM EQ MDKP-DTNUM
                     ORDER BY PRIMARY KEY.
         SELECT SINGLE * FROM T457T WHERE SPRAS = 'E'
                                      AND DELKZ = MDTB-DELKZ.
         IF MDTB-PLUMI = '-'. MULTIPLY MDTB-MNG01 BY -1. ENDIF.
         WRITE:/ MDTB-DAT00, T457T-DELB1, MDTB-VSTAT,
                                          MDTB-MNG01, MDTB-LGORT.
       ENDSELECT.
    ENDIF.
ENDSELECT.
This is taken from www.sap-img.com
Hope this helps you.

Similar Messages

  • Tables where BEx query variants are saved (BI 7.0)

    Hi Experts,
    I'm looking for the BI tables where BEx 7.0 saves query variants, but I don't find nothing.
    In BW 3.5 there were Table RSRVARIANT, but in BI 7.0?
    Could someone help me?
    Thanks in advanced
    Fede

    Hi Sunmit,
    thanks, I found my query variants RSRPARAMETRIZA.
    In RSRPARAMETRIZA there aren't information about single variable who make the variant!
    In RSRVARIANT I find only variants I have created with Business explorer 3.5.
    All variants of queries I have created with BEx 7 aren't in RSRVARIANT,
    Should I have them in RSRVARIANT?!
    or There is another table for those information about variant query of BEx 7.0...
    bye
    Fede

  • Table name where Broadcaster precalculation variables are saved

    Please help me with the table name where Broadcaster precalculation variables are saved. Thanks.

    Hello Jinal
    Please go to transaction SE11 and there search  in database table for tables starting with
              /BIC/OB*
    My table for example is named as following /it is the first precalculated value set:
    Transparent table -> /BIC/OB00000001
    description           -> Calculate with Broadcast Setting Z_CCUSTOMER_PRECALC_01
    However table class is L, where so I don't knwo how to see the data..
    In case you know please let me know
    Best regards
    Christian

  • How to view database table in OAF run page.

    Hi,
    how to view database table in OAF run page,any manual setting .please help me.
    thanks
    saran.

    Hi;
    1. This site side related EBS for your issue there is sqldeveloer dedicated forum side
    Forum Home » Application Development in PL/SQL » SQL Developer (Not for general SQL/PLSQL questions)
    2. Please see:
    http://docs.oracle.com/cd/B10501_01/java.920/a96655.pdf
    Regard
    Helios

  • Specifying where Reminders and Notes are saved.

    I can't get my head around where the agenda pulls it's data from and where notes should be saved and the same with reminders.
    I'd like reminders to be editable on my computer or emailed to me or, at least, somewhere where I will see them later.
    Notes; same thing. Can they simply be emailed to me rather than saved in some unknown location?
    I'm a bit confused about where all these bits are saved and how I can access them all from my computer and specify where they are saved.
    anyone figured all this out?
    Thanks.
    Martin

    I believe notes data is save as just that, App data and not as a physical text document
    A few members here have made the switch to an app called Google keep however I haven't tested this myself so I can't give any feedback as to it's ability's
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Name of the database tables where the error log (SM35) values are present

    Hi,
    I want to know the database tables which contains the values of the error log present in SM35.
    Plz help me out.

    Hi,
        Check out for APQI Table with
    GROUPID
    PROGID
    QSTATE
    CREATOR
    MSGCNTE
    APQL Batch Input Log Directory
    Regards
    Bala Krishna
    Edited by: Bala Krishna on Feb 11, 2009 3:45 PM

  • Table where data of a Variant saved will be stored.

    Hi All,
            In normal Custom reports we will be saving some variants so that we can put the same variant after some time for executing the report. Variant will be having a unique name which will be stored in some table and the data(selection screen entries) which we are saving also will be saved some where in SAP tables. If any one of you has knowledge of those tables please help me out.
    Thanks in advance,
    Shyam.

    Hi
    VARIT--> Variant texts
    VARID--> Variant directory
    Using values from Table TVARVC is especially useful in background processing. You do not have to create a new variant for each minor change of values or repeatedly change an existing variant, since you only have to change the values stored in TVARVC.
    However, note that every change of a value in Table TVARVC affects all variants using this particular variable.
    Reward all helpfull answers
    Regards
    Pavan

  • Data Table where all plant addresses are stored in

    I would like to download all plants addresses in my client to a spreadsheet.
    I not sure which table holds this info - any help with table name?
    Thanks

    Thanks Volkan.
    Table V_T001W gives me the plant name & description. I now need the physicall table where the associated adress filds are stores. The fields you provided appear to be held in a stucture - ADDR1_DATA and not a table.
    Any idea whow I can extract theses plant addresse from a structure?

  • Can we change MRP Run results after executing MRP. Can anyone tell me how?

    Hi,
    I want to change MRP rum planning results after executing MRP run. Is this possible??
    Regards,
    Thomas

    Hi,
    Yes, you can do changes. The MRP result will be the planned order. You can change the planned order qty and dates.  Once you change the planned order manually, it will get firmed and the system will not do any automatic changes in that planned orders. You can delete the planned orders, but again in the next MRP it will create the new planned orders once the requirement has not changed.
    Regards,
    V. Suresh

  • What is the name of the table where Release Strategy changes are maintained

    Dear Friends,
                       Every time I make the changes in the Release Strategy Codes the Signature of the Approver changes in the Output. The problem is that it even changes for the Older PO's which are already approved by some other approver. Is there any way this problem can be sorted out? or can any one give the name of the table which records the changes made in the Release Strategy along with time and date? I will be really thankful if you guys can help me out!

    Hi Chintan,
    I hope you are talking about the release codes, which we attach later on to user Ids and signature means its description. I hope followed correctly.
    In standard system, as and when you change the description of release code at back end, it gets reflected on front end. No matter whether its old or new PO. There is no way out to stop this. Every time you display the purchase order, the release codes checks for description at back end and displayes the same. Still, it should not bother you, as the already released PO dosent get affected for any changes you do at back end in the entire release strategy.
    Beside the tables mentioned by other friends AUSP is the table where all release related entries gets stored.
    I hope it clarifies.
    Regards
    sachin

  • Table where CU50 configuration data is saved

    Hello All
                           Can you please tell me if there is a table in SAP where i can see the charecteristic value selections in CU50 screen, i mean i am looking for a Table where all th charecteristic values selected for a configurable material in Cu50 or VA02?
    Thanks in Advance

    Dear friend,
    Please have a look at standard structure RCUKO  (there is no table, only the structure).
    You can try to get the data using some functional modules, I guess try the
    CU_SINGLE_CONFIGURE
    Good luck!

  • Database Table where modifications to message long text are stored (log)

    Hi,
    As per manual correction mentioned in SAP note 1144291,
    we have changed the long text for message XC092 by modification of the long text.
    This note 1144291 is a pre-requisite for SAP Note 1310808.
    After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
    Both the messages XC-092 and CURTO1-055 are SAP standard.
    The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
    However, my question is:
    Where do we check the log for document modifcation for a message long text.
    I have found the logs relevant to my modification in table DOKHL and DOKIL.
    But in which table do we get all of the foll. data:
    - Message class
    - Message number
    - Modification name
    - Modification created by
    - Modification done on
    - Last changed by
    - Last changed on
    Kindly help. A <removed by moderator> solution would be really helpful.
    Best Regards,
    Smruthi
    Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reduced

    Hi Smruthi,
    The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
    Best regards,
    Derrick Hurley
    Development Workench

  • SAP PP MRP Run Results

    Hello,
    We are in the phase of implementing SAP. I am working on PP module. When we run the MRP (MD01 or MD02) for a finished product, the system will not give any exception message on the planned order level for it if any of the components is not available at the suggested start time. In another words, the system will not suggest to postpone the finished product planned order date to match the last component arrival date.
    Any one can help in this regard.
    Best Regards,
    Fadi

    Fadi,
    I am afraid this is standard behavior.
    This condition (components too late) is not an ECC MRP exception, so it is not contained in MRP output.  MRP is not designed to push out orders when the components of the order are not available.  ECC MRP only works from the top level of the BOM downward, level by level.  When it is creating messages for a particular plant/material, it has not yet done the MRP of the the lower level components, and so has no way to determine whether or not they may be late.
    If there is a mismatch between the component supply order and the dependent demand of a higher level order, MRP should give a rescheduling message to the COMPONENT orders ('bring process forward').  From this message, an astute planner might intuit that he should reschedule the higher level orders.
    If you need bottom-up rescheduling, you will have to go to APO.  SAP ECC PP doesn't directly support that concept.
    Rgds,
    DB49
    Edited by: Dogboy49 on Dec 22, 2009 11:04 AM

  • Exact table where the repository objects are stored

    Hi,
    In which table the repository objects(Program,FM,Data Element,...) are stored exactly.
    I checked in TADIR table, but it's a directory for the repository objects.
    Also checked TRDIR.
    Say, If I delete a transport request which contains a report thru a 'Z_delete_request' prgm, I can still see the report in SE38.Ofcourse I have deleted in TADIR also.
    But presents in repository.
    Kindly suggest the exact table name.
    Regards,
    Siva

    Hi,
    Use seach option in SDN.
    [System table in abap where all the programs/FMs created are stored !]
    Regards
    Sandipan
    Edited by: Sandipan Ghosh on Jan 6, 2009 10:51 AM

  • Where the device name are saved when distributing a NI-DAQ executable?

    Hello,
    1. I created a simple LabVIEW 2013 executable using NI-DAQ (c series module NI-9263 and USB compact DAQ 9171 chassis).
    2. Then I created a LabVIEW installer with the following recommended installers:
    - NI LabVIEW Run-Time Engine 2013 SP1
    - NI-DAQmx Core Runtime 9.8
    3. I've installed it on a computer in a lab (no NI software installed on it yet).
    4. In my application I have a "DAQ Physical Channel" control to select the hardware.
    5. When I click on the arrow to select the hardware I don't see any choices (my hardware is plugged in the lab computer) and I can see the devices in device manager.
    6. I entered manually the device name (same name as I assigned on the computer that compiled the executable) and ran the application just fine without any errors.
    Where is the device name is stored on the lab computer and  how does this work?
    7. I made a modification to the simple executable to add hardware (with a new "DAQ Physical Channel") and I only compiled the executable and copied it to the computer lab.  I'm not able to run it.... I'm getting some error from the hardware (can't remember the specific error).
    8. I've searched for MAX and it's not installed....
    What should I do to make it work?
    This application is not critical right now, but I'd like to know how this works.
    Feel free to ask for more detail.
    Michel

    Michel_Gauvin wrote:
    Yes, that's what Idid.
    What is the use (or the goal) of distributing an application that is using DAQ device without MAX? How can the application knows which hardware to use if multiple hardware is plugged in the destination computer?
    Michel
    Two ways to go about this.
    First, for low mix systems I ALWAYS install max and all the DAQmx stuff is stored in MAX my installers then import the *.nce MAX config File and include all the DAQ software (Not just Base!)
    For higher mix systems the DAQmx stuff (Chans, tasks, scales....) are persisted to the PROJECT (*.lvproj) then the app builder creates a NI DAQ file in the application build destination and the app looks for that file.
    You can ALSO (with NI USB Devices) create a "Helper app" that hooks into NI Device Monitor and assigns a specific alias to a type of device when it is seen.
    Jeff

Maybe you are looking for