<?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: How to read data from the Deep structure. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369257#M524809</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 use as normal as a field, lets say you have a DEEP structure(DEEP) in a Internal table(ITAB) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB_DEEP-FIELD1 --&amp;gt; Calling the FIELD1 field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 06:43:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-19T06:43:56Z</dc:date>
    <item>
      <title>How to read data from the Deep structure.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369255#M524807</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;How to get from the deep structure. Means i have one table in that having onother structure. i need to read data from that inner structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369255#M524807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T06:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to read data from the Deep structure.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369256#M524808</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 access in the way u use for the normal structure, u should only consider a deep structure is a table without headerline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: BKPF, BSEG.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPES: TY_ITEM TYPE TABLE OF BSEG.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA:   BEGIN OF W_DOCUMENT,&lt;/P&gt;&lt;P&gt;                HEADER TYPE BKPF,&lt;/P&gt;&lt;P&gt;                ITEM       TYPE BSEG,&lt;/P&gt;&lt;P&gt;             END    OF W_DOCUMENT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: T_DOCUMENTS LIKE STANDARD TABLE OF W_DOCUMENT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Insert the data:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT * FROM BKPF WHERE ....&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   W_DOCUMENT-HEADER = BKPF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   SELECT * FROM BSEG INTO TABLE W_DOCUMENT-ITEM&lt;/P&gt;&lt;P&gt;                                   WHERE BUKRS = BKPF-BUKRS&lt;/P&gt;&lt;P&gt;                                        AND BELNR  = BKPF-BELNR&lt;/P&gt;&lt;P&gt;                                        AND GJAHR  = BKPF-GJAHR.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   APPEND W_DOCUMENT TO T_DOCUMENTS.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read the data:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT T_DOCUMENTS INTO W_DOCMENT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WRITE: / W_DOCUMENT-HEADER-BUKRS,&lt;/P&gt;&lt;P&gt;                  W_DOCUMENT-HEADER-BELNR,&lt;/P&gt;&lt;P&gt;                  W_DOCUMENT-HEADER-GJAHR. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Item data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    LOOP AT W_DOCUMENT-ITEM INTO BSEG.&lt;/P&gt;&lt;P&gt;         WRITE: / BSEG-BUZEI,&lt;/P&gt;&lt;P&gt;                       BSEG-WRBTR CURRENCY W_DOCUMENT-HEADER-WAERS.&lt;/P&gt;&lt;P&gt;    ENDLOOP. &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369256#M524808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T06:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read data from the Deep structure.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369257#M524809</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 use as normal as a field, lets say you have a DEEP structure(DEEP) in a Internal table(ITAB) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB_DEEP-FIELD1 --&amp;gt; Calling the FIELD1 field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369257#M524809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T06:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to read data from the Deep structure.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369258#M524810</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 use as normal as a field, lets say you have a DEEP structure(DEEP) in a Internal table(ITAB) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-DEEP-FIELD1 --&amp;gt; Calling the FIELD1 field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369258#M524810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to read data from the Deep structure.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369259#M524811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paturu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually Structures dont having the Data's. So you cant retrieve the data from Structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But try to find out the package in which the structure exists.&lt;/P&gt;&lt;P&gt;Get the package name and then search the tables under this package in SE80.&lt;/P&gt;&lt;P&gt;From the list of the tables find the field which you are searching for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-data-from-the-deep-structure/m-p/2369259#M524811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T06:45:11Z</dc:date>
    </item>
  </channel>
</rss>

