<?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: Get the class attributes name dynamically? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666047#M1097680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any way to get the reference ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 14:25:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T14:25:05Z</dc:date>
    <item>
      <title>Get the class attributes name dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666045#M1097678</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;I have to call a transformation and give it as result parameter an internal table with ABAP_TRANS_RESBIND_TAB type.&lt;/P&gt;&lt;P&gt;How can I get the name &amp;amp; the adresse of the current class parameters ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Noureddine MOUTAA on Oct 20, 2008 2:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 11:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666045#M1097678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T11:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get the class attributes name dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666046#M1097679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the view: VSEOATTRIB. It contains the metadata regarding the Attributes of the Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use  the dynamic attribute like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data_tab = 'R_TABLE'.

l_test = o_alv-&amp;gt;(data_tab).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 13:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666046#M1097679</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-10-20T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get the class attributes name dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666047#M1097680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any way to get the reference ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 14:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666047#M1097680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get the class attributes name dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666048#M1097681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nourredine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use the class CL_ABAP_CLASSDESCR, there is an attribute (tables) which contains all attributes' properties.&lt;/P&gt;&lt;P&gt;What do you mean by get the reference? You can use a field symbol with the name to get the value of the attribut (is what you mean?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 14:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666048#M1097681</guid>
      <dc:creator>olivier_segol</dc:creator>
      <dc:date>2008-10-20T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get the class attributes name dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666049#M1097682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to call a transformation and give it as result parameter an internal table type ABAP_TRANS_RESBIND_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to fill this internal table, I need the name and the reference of the attribute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean by REFERENCE the result of this instruction GET REFERENCE OF, as shown below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: attribute TYPE string.
DATA: the_reference TYPE REF TO data.
GET REFERENCE OF attribute INTO the_reference.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Noureddine MOUTAA on Oct 20, 2008 4:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 14:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-class-attributes-name-dynamically/m-p/4666049#M1097682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T14:37:13Z</dc:date>
    </item>
  </channel>
</rss>

