<?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: Extracting Data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908023#M56458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in this regard. i tried a lot with SQL TRACE but ended in vain. BY some means the data has to be extracted. Is there any other of achieving the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Kathir!~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2005 13:16:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-03T13:16:01Z</dc:date>
    <item>
      <title>Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908017#M56452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me where the values entered for the structure RMQSD will be stored (i.e Which table). I need that for downloading the data. I tried to use SQL trace but it is seems to be too difficult to track the required table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transaction associated for the same is QS24. Hope some one has come across the same situation. Thanking you all in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kathir~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 10:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908017#M56452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T10:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908018#M56453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kathirvel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is most difficult, because this is truly a program structure and there are dozens of routines each filling only a part. Almost all flags in the structure are determined by programming and not available in any db table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But most likely you can find what you are looking for in the following tables:&lt;/P&gt;&lt;P&gt;CABN (with texttable CABNT)&lt;/P&gt;&lt;P&gt;CABS&lt;/P&gt;&lt;P&gt;QMTB&lt;/P&gt;&lt;P&gt;QPMK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 10:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908018#M56453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T10:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908019#M56454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me be more specific. &lt;/P&gt;&lt;P&gt;I want the data for the fields &amp;lt;b&amp;gt;QUALITAET VSTEUERKZ&amp;lt;/b&amp;gt; from the structure &amp;lt;b&amp;gt;RMQSD&amp;lt;/b&amp;gt;. But the tables you specified are not having these two fields. The other tables from where i am extracting data are &amp;lt;b&amp;gt;QPMK &amp;lt;/b&amp;gt;and &amp;lt;b&amp;gt;QPMT&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kathir~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 11:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908019#M56454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908020#M56455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to find the tables by using where-used function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose the table for QUALITAET is TQ25. Please, Check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 11:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908020#M56455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T11:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908021#M56456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kathirvel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field &amp;lt;b&amp;gt;RMQSD-QUALITAET&amp;lt;/b&amp;gt; is filled with 'X' when the field QUANTITAT of table TQ27 is empty, otherwise is is cleared.&lt;/P&gt;&lt;P&gt;Use function module TQ27_READ to collect the correct TQ27 record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field &amp;lt;b&amp;gt;RMQSD-VSTEUERKZ&amp;lt;/b&amp;gt; is more complex.&lt;/P&gt;&lt;P&gt;This field is cleared when something has changed on the screen with the fields RMQSD-QUANTITAET or RMQSD-QUALITAET. After saving this field is again set to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 12:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908021#M56456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T12:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908022#M56457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the structure i am going to extract&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;QPMK-WERKS&lt;/P&gt;&lt;P&gt;QPMK-MKMNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;RMQSD-VSTEUERKZ&lt;/P&gt;&lt;P&gt;RMQSD-QUALITAET&lt;/P&gt;&lt;P&gt;QPMK-LOEKZ&lt;/P&gt;&lt;P&gt;QPMT-KURZTEXT&lt;/P&gt;&lt;P&gt;QPMK-SORTFELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the fields that are in bold will determine the values that are to be extracted. Now can you tell how to get those corresponding values in the structure. Is there any other table where i can the values for the fields&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RMQSD-VSTEUERKZ&lt;/P&gt;&lt;P&gt;RMQSD-QUALITAET&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I make my requirement clear. Thanking you all in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kathir~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 12:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908022#M56457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T12:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908023#M56458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in this regard. i tried a lot with SQL TRACE but ended in vain. BY some means the data has to be extracted. Is there any other of achieving the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Kathir!~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2005 13:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908023#M56458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-03T13:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908024#M56459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kathirvel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must agree with Rob's answer. Here are the result of my investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The field RMQSD-VSTEUERKZ is not stored in any table. I'm fairly certain about this. You can create a Material Inspection characteristic from QS22 (giving some value in this field) and then display the same using QS24. you will find that the field is empty. It is only used when you create a characteristc to determine which other indicators have to be set (in the subsequent pop-ups).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When you go to the table QPMK, there is a field called STEUERKZ. Observe the contents of this field through SE16 for a few records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Now go to SE16 and display the contents of the table TQ27. You will see that there are several fields of one-character each. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Any value for QPMK-STEUERKZ will be a concatenation of the fields of one of the entries in TQ27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. And TQ27-STEUERKZ is the RMQSD-VSTEUERKZ you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. In the transaction QS24, you cannot, in general check both RMQSD-QUALITAET and RMQSD-QUANTITAET. This may very well depend on the configuraion, let me know if you are able to check both of these simultaneously, without getting an error on Saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if the first character of QPMK-STEUERKZ is 'X', then the characteristic is quantitative. Otherwise it is qualitative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. To sum it up, your code should be somewhat like this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES : TQ27, QPMK.

DATA : BEGIN OF ITAB_TQ27 OCCURS 0,
         MANDT      TYPE MANDT,
         STEUERKZ   TYPE QSTEUKEY,
         KZEINSTELL TYPE QSELEINST.
         INCLUDE STRUCTURE QMKST AS CONTROL_STRING.
DATA : END OF ITAB_TQ27.


SELECT *
  FROM TQ27
  INTO TABLE ITAB_TQ27.


SELECT *
  UP TO 100 ROWS
  FROM QPMK.

  READ TABLE ITAB_TQ27 WITH KEY CONTROL_STRING = QPMK-STEUERKZ.

  IF SY-SUBRC EQ 0.
    WRITE :/ QPMK-WERKS,
             QPMK-MKMNR,
             QPMK-LOEKZ,
             QPMK-SORTFELD,
             ITAB_TQ27-STEUERKZ,
             ITAB_TQ27-QUANTITAT. 
  ENDIF.

ENDSELECT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your problem. If you have further doubts, then please do get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2005 06:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908024#M56459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-06T06:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908025#M56460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help. Your idea seems to be correct. I think i can proceed form here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i am awarding you in full for your help and a very helpful answer for Rob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you once again!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Kathir!~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2005 07:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-data/m-p/908025#M56460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-06T07:07:37Z</dc:date>
    </item>
  </channel>
</rss>

