<?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: Dereference a generic reference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dereference-a-generic-reference/m-p/3022270#M714493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on whether the referenced object is a table or a structure you need an appropriate field symbol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS:
  &amp;lt;ls_struc&amp;gt;    TYPE ANY,
  &amp;lt;lt_itab&amp;gt;       TYPE table.


  ASSIGN lv_ref-&amp;gt;* TO &amp;lt;ls_struc&amp;gt;.  " de-referencing structure
  ASSIGN lv_ref-&amp;gt;* TO &amp;lt;lt_Itab&amp;gt;.     " de-referencing table type [itab]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 05:53:43 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2007-11-12T05:53:43Z</dc:date>
    <item>
      <title>Dereference a generic reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dereference-a-generic-reference/m-p/3022269#M714492</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 have a generic reference variable say lv_ref of type ref to data.&lt;/P&gt;&lt;P&gt;Currently it references a table of some type say X.&lt;/P&gt;&lt;P&gt;Now i want to display the table referenced by the above generic reference variable.&lt;/P&gt;&lt;P&gt;Could any1 plz help me out in this regard.&lt;/P&gt;&lt;P&gt;Useful replies will certainly be rewarded.&lt;/P&gt;&lt;P&gt;Thanx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dereference-a-generic-reference/m-p/3022269#M714492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T05:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dereference a generic reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dereference-a-generic-reference/m-p/3022270#M714493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on whether the referenced object is a table or a structure you need an appropriate field symbol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS:
  &amp;lt;ls_struc&amp;gt;    TYPE ANY,
  &amp;lt;lt_itab&amp;gt;       TYPE table.


  ASSIGN lv_ref-&amp;gt;* TO &amp;lt;ls_struc&amp;gt;.  " de-referencing structure
  ASSIGN lv_ref-&amp;gt;* TO &amp;lt;lt_Itab&amp;gt;.     " de-referencing table type [itab]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dereference-a-generic-reference/m-p/3022270#M714493</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-11-12T05:53:43Z</dc:date>
    </item>
  </channel>
</rss>

