<?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: read structure value into table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379091#M1733885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can run ST05 for the transaction that you need tables for .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you run the ST05 go to menu and choose tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get an idea of tables used to fill the structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 15:02:57 GMT</pubDate>
    <dc:creator>Azeemquadri</dc:creator>
    <dc:date>2013-04-23T15:02:57Z</dc:date>
    <item>
      <title>read structure value into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379090#M1733884</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;I would like to retrieve a value from the standard structure MCDOK belonging to a document record version of type draw (actually the fieldname is FRTXT which holds the release time window of the draw document version).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfourtnately this element is not stored in a table, if so it would be no problem to read it and e.g. assign as additional column to another table for output, but it's linked in a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I already noticed that it's generally possible to assign structure values via field symbols as well e.g. if one defines an own structure. But I'm not aware how to get the&amp;nbsp; structure value related to a specific version of an draw record which might be accessed by an loop over a table. In order to add it as column for output purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do anybody know how to get a structure value related to a specific instance of type draw&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 11:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379090#M1733884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-23T11:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: read structure value into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379091#M1733885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can run ST05 for the transaction that you need tables for .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you run the ST05 go to menu and choose tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get an idea of tables used to fill the structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 15:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379091#M1733885</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2013-04-23T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: read structure value into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379092#M1733886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but it was not possible to retrieve a table where the information is stored in via trace. But I found out how to retrieve this field via the following function available in an include of the belonging report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'CV115_DOCUMENT_VALID_DATES'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING: dokar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ps_draw-dokar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doknr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ps_draw-doknr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tldok&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ps_draw-doktl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES:&amp;nbsp;&amp;nbsp;&amp;nbsp; dates&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lt_date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS: OTHERS&amp;nbsp;&amp;nbsp; = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; READ TABLE lt_date WITH KEY dokvr = ps_draw-dokvr.&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF lt_date-dateto &amp;lt;&amp;gt; '99991231'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE lt_date-dateto TO lf_date&amp;nbsp; DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE '...' TO lf_date&amp;nbsp; DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE lt_date-datefrom TO lf_date_from&amp;nbsp; DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCATENATE '@5B@' lf_date_from '-' lf_date INTO freigabetext.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ELSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCATENATE '@5C@' text-005 INTO freigabetext.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " D101_RELEASED_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it's possible to store the values and assign it as field symbol for output purposes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 05:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-structure-value-into-table/m-p/9379092#M1733886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-25T05:24:48Z</dc:date>
    </item>
  </channel>
</rss>

