<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Replacment for MDTB Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678742#M885889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the delay in reply. Thanx i was able to solve the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with rgds&lt;/P&gt;&lt;P&gt;Ranjith Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 04:48:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-23T04:48:36Z</dc:date>
    <item>
      <title>Replacment for MDTB Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678740#M885887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a peculiar problem in ECC6.0 , MRP tabel MDTB is not getting populated and i am picking the data from the MDTB &amp;amp; MDKP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is ther any other tabel where in i can use in place of MDTB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wiht rgds&lt;/P&gt;&lt;P&gt;Ranjith Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 13:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678740#M885887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replacment for MDTB Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678741#M885888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below code for the exact table to be looked into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

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.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i saw in another forum saying that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"There is a note 440016,From Release 4.5A, the storage mode of the MRP&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lists was changed from transparent form to compressed form. This data&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;can now be found in MDTC and no longer in table MDTB."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure of this. Anyways you can check that too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 14:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678741#M885888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Replacment for MDTB Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678742#M885889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the delay in reply. Thanx i was able to solve the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with rgds&lt;/P&gt;&lt;P&gt;Ranjith Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 04:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacment-for-mdtb-table/m-p/3678742#M885889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T04:48:36Z</dc:date>
    </item>
  </channel>
</rss>

