<?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: dynamic Ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556320#M582666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regardless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, i now the tablename (stading in FNAME) and i could find out, which type it is.&lt;/P&gt;&lt;P&gt;assign lt_fallz-FNAME to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;lr_strucdescr ?= CL_ABAP_STRUCTDESCR=&amp;gt;describe_by_name( &amp;lt;fs&amp;gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i tried to create a range about this tabletype, about that components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 11:42:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T11:42:19Z</dc:date>
    <item>
      <title>dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556314#M582660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to create an internal range table about a table, which Name is in a Field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had create a Table with following Fields:&lt;/P&gt;&lt;P&gt;FALL	CHAR10&lt;/P&gt;&lt;P&gt;LFDNR	INT2&lt;/P&gt;&lt;P&gt;ZUORD	CHAR5&lt;/P&gt;&lt;P&gt;FNAME	M_COMB_FNAME&lt;/P&gt;&lt;P&gt;SIGN	SIGN&lt;/P&gt;&lt;P&gt;OPTIO	OPTION&lt;/P&gt;&lt;P&gt;HIGH	HIGH_RANGE&lt;/P&gt;&lt;P&gt;LOW	LOW_RANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first i would like to create an internal range table, about a table which standing in the Field FNAME. And if there is a new Tablename in the Field FNAME, than i would like to create a new internal range table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At First to create a Fieldsymbol:&lt;/P&gt;&lt;P&gt;assign (FNAME) to  ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now, to create the new range table.&lt;/P&gt;&lt;P&gt;But How?&lt;/P&gt;&lt;P&gt;there are "create data", but it´s not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then to fill the range table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anybody, who could help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 13:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556314#M582660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T13:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556315#M582661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tobias...&lt;/P&gt;&lt;P&gt;in FNAME u r passing name of the table or table !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 08:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556315#M582661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T08:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556316#M582662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in FNAME standing the Name of the table, which i would like to make a range table about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 08:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556316#M582662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T08:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556317#M582663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm able to create dynamic ranges for structure not for table..&lt;/P&gt;&lt;P&gt;If u want I can post it here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be helped by that and u can try to create dynamic ranges for tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556317#M582663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556318#M582664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, and how could i create dynamic ranges of structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:57:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556318#M582664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556319#M582665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. plz check below...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;REPORT  zprax_try7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cl_alv_table_create DEFINITION LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t0000 TYPE p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:    t_fieldcat TYPE lvc_t_fcat, " standard table of LVC_S_FCAT initial size 0 with header line,&lt;/P&gt;&lt;P&gt;         wa_fieldcat TYPE lvc_s_fcat,&lt;/P&gt;&lt;P&gt;         new_table TYPE REF TO data,&lt;/P&gt;&lt;P&gt;         new_line TYPE REF TO data,&lt;/P&gt;&lt;P&gt;         len1 TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;t_tab&amp;gt; TYPE table,&lt;/P&gt;&lt;P&gt;               &amp;lt;wa_tab&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_pernr TYPE pernr_d DEFAULT '00000001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'SIGN'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname  = 'R_TAB'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-datatype = 'CHAR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-inttype  = 'C'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-intlen   = 1.&lt;/P&gt;&lt;P&gt;  APPEND wa_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'OPTION'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname  = 'R_TAB'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-datatype = 'CHAR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-inttype  = 'C'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-intlen   = 2.&lt;/P&gt;&lt;P&gt;  APPEND wa_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  describe field t0000 length len1 in character mode.&lt;/P&gt;&lt;P&gt;  CLEAR wa_fieldcat.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'LOW'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname  = 'R_TAB'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-datatype = 'CHAR'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcat-inttype  = 'C'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_fieldcat-dd_roll = 'P0000'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-intlen   = len1.&lt;/P&gt;&lt;P&gt;  APPEND wa_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'HIGH'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname  = 'R_TAB'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-datatype = 'CHAR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-dd_roll = 'P0000'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcat-inttype  = 'C'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_fieldcat-intlen   = len1.         " Find out length at runtime&lt;/P&gt;&lt;P&gt;  APPEND wa_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = t_fieldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = new_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN new_table-&amp;gt;* TO &amp;lt;t_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;  CREATE DATA new_line LIKE LINE OF &amp;lt;t_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN new_line-&amp;gt;* TO &amp;lt;wa_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY,&lt;/P&gt;&lt;P&gt;                 &amp;lt;fs_tab&amp;gt; TYPE table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 1 OF STRUCTURE &amp;lt;wa_tab&amp;gt; TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs&amp;gt; = 'I'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 2 OF STRUCTURE &amp;lt;wa_tab&amp;gt; TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs&amp;gt; = 'BT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 3 OF STRUCTURE &amp;lt;wa_tab&amp;gt; TO &amp;lt;fs&amp;gt;. "_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;  t0000-pernr = '00000001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;fs&amp;gt; = t0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 4 OF STRUCTURE &amp;lt;wa_tab&amp;gt; TO &amp;lt;fs&amp;gt;. "_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;  t0000-pernr = '44444444'.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs&amp;gt; = t0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND &amp;lt;wa_tab&amp;gt; TO &amp;lt;t_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  t0000-pernr = p_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF t0000 In &amp;lt;T_TAB&amp;gt;.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Yes !' TYPE 'I'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE 'No !!' TYPE 'I'.&lt;/P&gt;&lt;P&gt;  ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in this case structure should be in ABAP data dictionary..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 10:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556319#M582665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T10:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556320#M582666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regardless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, i now the tablename (stading in FNAME) and i could find out, which type it is.&lt;/P&gt;&lt;P&gt;assign lt_fallz-FNAME to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;lr_strucdescr ?= CL_ABAP_STRUCTDESCR=&amp;gt;describe_by_name( &amp;lt;fs&amp;gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i tried to create a range about this tabletype, about that components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 11:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-ranges/m-p/2556320#M582666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T11:42:19Z</dc:date>
    </item>
  </channel>
</rss>

