<?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: FETCHING DATA FROM STRUCTURE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282022#M152938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like you already know by now that your structure T023D does not hold any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I undrestand correctly, you have identified this structure from a screen and now want to extract the data stored behind it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do so using tables T023 and T023S. In case you need any field that you are not able to locate in these two tables, please do let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write the query as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: WA_WWGPA LIKE T023S-WWGPA.

SELECT SINGLE
  B~WWGPA
INTO (WA_WWGPA)
FROM
  T023 AS A INNER JOIN
  T023S AS B ON A~MATKL = B~MATKL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just an example, you may not use SINGLE or variable WA_WWGPA. Simply declare an internal table with the required fields and populate it in the same manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data for WWGHA is defined in table T023S but don't let the field name confuse you. The field name in T023S is given as WWGPA. Take note of the Data Element from which it is being derived and the text of the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: Please do award points if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Madhur Chopra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2006 05:56:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-07T05:56:13Z</dc:date>
    <item>
      <title>FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282008#M152924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I HAVE A STRUCTURE T023D AND FIELD IS WWGHA ,I WANT TO FETCH DATA CORRESPONDING TO THIS FIELD HOW I CAN DO IT PLEASE TELL ME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUGGEST IF I CAN USE FIELD-SYMBOL.&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282008#M152924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282009#M152925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bond,&lt;/P&gt;&lt;P&gt;You are using a structure...&lt;/P&gt;&lt;P&gt;This structure is just a framework and does 't have any data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can access the structure elements like:&lt;/P&gt;&lt;P&gt;T023D-WWGHA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg, SYST is a structure... YOu can access its elements syst-subrc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282009#M152925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282010#M152926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. STRUCTURE WILL NEVER STORE DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. TABLE STORES DATA. BUT STRUCTURE NEVER STORES DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO RETRIEVE DATA FROM TABLE U CAN USE SELECT statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282010#M152926</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-03-07T05:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282011#M152927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi james,&lt;/P&gt;&lt;P&gt; you cannot directly fetch  the data from your STUCTURE.. As you do it from a table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282011#M152927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282012#M152928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This structure is just a framework and does 't have any data...&lt;/P&gt;&lt;P&gt;u  just make an internal table including structure  and fetch the value from dbatb into internal table  and use this internal table   where u required...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282012#M152928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282013#M152929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I NEED SOLUTION FOR EXTRACTING DATA FROM STRUCTURE LIKE HOW I SHOULD WRITE THE QUERY FOR FETCHING DATA FROM STRUCTURE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282013#M152929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282014#M152930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT SINGLE *&lt;/P&gt;&lt;P&gt; INTO T023D&lt;/P&gt;&lt;P&gt; FROM table&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can use : T023D-WWGHA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282014#M152930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282015#M152931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai james,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot fetch data from a structure, as structure doesn't store any data.Only tables stores data,that is the main difference betwen a structure and a table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282015#M152931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282016#M152932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi james,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when there will be no data in a structure, how can u retrieve data from it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282016#M152932</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-03-07T05:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282017#M152933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;include structure name.&lt;/P&gt;&lt;P&gt;data: end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from dbtab into table itab where cond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: kishan negi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: kishan negi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282017#M152933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282018#M152934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can not save/fetch data in any structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a table then you can use&lt;/P&gt;&lt;P&gt;T023D-WWGHA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to use field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282018#M152934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282019#M152935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot extract data from this structure. What you can do is go to se11 and put WWGHA in the data type field and click where-used list then tick table fields. This will show you all tables that use the data type WWGHA as one of their field. I think there is only one table (T023S).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the table if it is of use to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282019#M152935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282020#M152936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for which TCODE u r looking for this data....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282020#M152936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282021#M152937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my dear james bond...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see for T023S ur job ll be done..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..Double james bond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282021#M152937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282022#M152938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like you already know by now that your structure T023D does not hold any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I undrestand correctly, you have identified this structure from a screen and now want to extract the data stored behind it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do so using tables T023 and T023S. In case you need any field that you are not able to locate in these two tables, please do let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write the query as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: WA_WWGPA LIKE T023S-WWGPA.

SELECT SINGLE
  B~WWGPA
INTO (WA_WWGPA)
FROM
  T023 AS A INNER JOIN
  T023S AS B ON A~MATKL = B~MATKL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just an example, you may not use SINGLE or variable WA_WWGPA. Simply declare an internal table with the required fields and populate it in the same manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data for WWGHA is defined in table T023S but don't let the field name confuse you. The field name in T023S is given as WWGPA. Take note of the Data Element from which it is being derived and the text of the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: Please do award points if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Madhur Chopra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 05:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282022#M152938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T05:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: FETCHING DATA FROM STRUCTURE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282023#M152939</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;retrieve the data from T023S for the field WWGPA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 06:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-structure/m-p/1282023#M152939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T06:09:03Z</dc:date>
    </item>
  </channel>
</rss>

