<?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: FM for Variable and there type used in program . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978269#M1340377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But i am only pass the program name to  RS_PROGRAM_INDEX_SOURCE But it will not return anything.Please help me to get all variable with type in a program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2009 07:59:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-12T07:59:00Z</dc:date>
    <item>
      <title>FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978267#M1340375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expart,&lt;/P&gt;&lt;P&gt;               Is there is any FM which return all the variable with there ref type (Data element ,C,id,t... like that ) when we pass the program name . i only know about RS_PROGRAM_INDEX which return all variable with in pgm .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to used FM " RS_PROGRAM_INDEX _SOURCE " It's may also return the variable and type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz Plz help to get this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 06:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978267#M1340375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T06:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978268#M1340376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Standard Program LSEMOF02&lt;/P&gt;&lt;P&gt;and search for your FM RS_PROGRAM_INDEX_SOURCE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 07:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978268#M1340376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T07:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978269#M1340377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But i am only pass the program name to  RS_PROGRAM_INDEX_SOURCE But it will not return anything.Please help me to get all variable with type in a program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 07:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978269#M1340377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T07:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978270#M1340378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the function Module 'RS_PROGRAM_INDEX'. This returns all the components of the program.&lt;/P&gt;&lt;P&gt;Also, check the FM   'GET_GLOBAL_SYMBOLS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jaya rangwani on Aug 12, 2009 10:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 08:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978270#M1340378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T08:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978271#M1340379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;      By using FM GET_GLOBAL_SYMBOLS , i am only getting the System define ref type ,not getting user define type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 11:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978271#M1340379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T11:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978272#M1340380</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 know for Internal Table use class CL_ABAP_STRUCTDESCR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_descr_ref TYPE REF TO cl_abap_structdescr.&lt;/P&gt;&lt;P&gt;l_descr_ref ?= cl_abap_typedescr=&amp;gt;describe_by_data( itab ).&lt;/P&gt;&lt;P&gt;Now l_descr_ref-&amp;gt;components holds the entire list of fields in itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 11:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978272#M1340380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T11:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978273#M1340381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt; ShreeMohan Puga...   &lt;/P&gt;&lt;P&gt;                                    How to display the attibute of l_descr_ref which ref to class cl_abap_structdescr .that is Components table content length and data type .plz help me to get the value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 05:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978273#M1340381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T05:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978274#M1340382</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:
  BEGIN OF my_struct,
    comp_a type i,
    comp_b type f,
  END OF my_struct.

DATA:
  my_data   TYPE my_struct,
  descr_ref TYPE ref to cl_abap_structdescr.

FIELD-SYMBOLS:
  &amp;lt;comp_wa&amp;gt; TYPE abap_compdescr.

START-OF-SELECTION.
  descr_ref ?= cl_abap_typedescr=&amp;gt;describe_by_data( my_data ).

  WRITE: / 'Typename     :', descr_ref-&amp;gt;absolute_name.
  WRITE: / 'Kind         :', descr_ref-&amp;gt;type_kind.
  WRITE: / 'Length       :', descr_ref-&amp;gt;length.
  WRITE: / 'Decimals     :', descr_ref-&amp;gt;decimals.
  WRITE: / 'Struct Kind  :', descr_ref-&amp;gt;struct_kind.
  WRITE: / 'Components'.
  WRITE: / 'Name              Kind   Length   Decimals'.
  LOOP AT descr_ref-&amp;gt;components ASSIGNING &amp;lt;comp_wa&amp;gt;.
    WRITE: / &amp;lt;comp_wa&amp;gt;-name, &amp;lt;comp_wa&amp;gt;-type_kind,
             &amp;lt;comp_wa&amp;gt;-length, &amp;lt;comp_wa&amp;gt;-decimals.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp;regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 15:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978274#M1340382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T15:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978275#M1340383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expart ,&lt;/P&gt;&lt;P&gt;                I don't want to know the basic type ,i only have to know the ref data type like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_EBELN LIKE EKKO-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only i want that p_ebeln variable name and type ref is ekko-ebeln ,not CHAR with length 10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me to do this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 06:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978275#M1340383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T06:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978276#M1340384</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;Why don't you copy the FM which gives you basic types and then modify it according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or create our own new program for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarads,&lt;/P&gt;&lt;P&gt;Raj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 06:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978276#M1340384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T06:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978277#M1340385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;   How to do this can you help me plzz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 07:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978277#M1340385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T07:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: FM for Variable and there type used in program .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978278#M1340386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Or is there any FM which return the ref type (data element or like ekko-ebeln ) ,if we pass the variable name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 07:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-variable-and-there-type-used-in-program/m-p/5978278#M1340386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T07:52:28Z</dc:date>
    </item>
  </channel>
</rss>

