<?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: Create Standard Itab from Variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136156#M1190481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what's your flow ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is itab &amp;lt;fs_clog_r&amp;gt; a list of fields? I'm asking this because you are assigning component sy-tabix, what means that in each row you assign a diferent component ... what's your goal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;where deliv_numb = &amp;lt;fd_clog_a&amp;gt;-deliv_numb&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;cannot be right. use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;where deliv_numb = &amp;lt;fd_clog_a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;because &amp;lt;fd_clog_a&amp;gt; is a field (from structure &amp;lt;wa_clog_r&amp;gt;), not a structure. Is deliv_numb a field of &amp;lt;wa_clog_r&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2009 17:02:45 GMT</pubDate>
    <dc:creator>valter_oliveira</dc:creator>
    <dc:date>2009-01-28T17:02:45Z</dc:date>
    <item>
      <title>Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136149#M1190474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a function module that gives me the table name from where the selection should be done as this table name changes dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to define a itab from this variable that holds the table name but im getting syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: table_name(16) type c.

call function 'RSAR_CHANGELOG_NAME_GET'
Exporting
i_odsobject = odsname
i_logsys = logsys
Importing
e_odsname_db = table_name

it_clog_r  type standard table of *table_name*.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help how to solve this.&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;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Younes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 14:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136149#M1190474</guid>
      <dc:creator>hasba_younes</dc:creator>
      <dc:date>2009-01-28T14:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136150#M1190475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Younes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do as following hope will solve your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: it_clog_r TYPE STANDARD TABLE OF RSTSODS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 14:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136150#M1190475</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-28T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136151#M1190476</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: table_name(16) TYPE c,&lt;/P&gt;&lt;P&gt;      odsname TYPE rsdodsobject,&lt;/P&gt;&lt;P&gt;      logsys  TYPE tbdls-logsys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RSAR_CHANGELOG_NAME_GET'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_odsobject  = odsname&lt;/P&gt;&lt;P&gt;    i_logsys     = logsys&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    e_odsname_db = table_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;it_clog_r  TYPE STANDARD TABLE OF table_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Parth Parikh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 14:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136151#M1190476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T14:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136152#M1190477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thank you all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this i tried already but i get the error:&lt;/P&gt;&lt;P&gt;E: Type table_name is unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a possibility to create these table dynamically?&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;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Younes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 15:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136152#M1190477</guid>
      <dc:creator>hasba_younes</dc:creator>
      <dc:date>2009-01-28T15:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136153#M1190478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: table_name(16) type c.

data: lp_data TYPE REF TO DATA.

FIELD-SYMBOLS: &amp;lt;lt_table&amp;gt; TYPE STANDARD TABLE.
 
call function 'RSAR_CHANGELOG_NAME_GET'
Exporting
i_odsobject = odsname
i_logsys = logsys
Importing
e_odsname_db = table_name
 
CREATE DATA lp_data TYPE STANDARD TABLE OF (table_name) WITH NON-UNIQUE KEY TABLE_LINE.
ASSIGN lp_data-&amp;gt;* TO &amp;lt;lt_table&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;lt_table&amp;gt; is an internal table of type "table_name".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 15:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136153#M1190478</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-01-28T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136154#M1190479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks yes this is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have a problem when i want to loop into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have done this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at &amp;lt;fs_clog_r&amp;gt; into &amp;lt;wa_clog_r&amp;gt;.

assign component sy-tabix of structure &amp;lt;wa_clog_r&amp;gt; to &amp;lt;fd_clog_a&amp;gt;.

*here i want to make a select statement to compare some data

select * from (tablename) into table &amp;lt;fs_clog_a&amp;gt;
where deliv_numb = &amp;lt;fd_clog_a&amp;gt;-deliv_numb.

*This is not working do you have a workaround here??

if sy-subrc &amp;lt;&amp;gt; 0.
.....
endif.


endloop.&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;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Younes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 15:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136154#M1190479</guid>
      <dc:creator>hasba_younes</dc:creator>
      <dc:date>2009-01-28T15:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136155#M1190480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anbody can Help ? it would be great.&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;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Younes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 16:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136155#M1190480</guid>
      <dc:creator>hasba_younes</dc:creator>
      <dc:date>2009-01-28T16:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136156#M1190481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what's your flow ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is itab &amp;lt;fs_clog_r&amp;gt; a list of fields? I'm asking this because you are assigning component sy-tabix, what means that in each row you assign a diferent component ... what's your goal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;where deliv_numb = &amp;lt;fd_clog_a&amp;gt;-deliv_numb&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;cannot be right. use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;where deliv_numb = &amp;lt;fd_clog_a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;because &amp;lt;fd_clog_a&amp;gt; is a field (from structure &amp;lt;wa_clog_r&amp;gt;), not a structure. Is deliv_numb a field of &amp;lt;wa_clog_r&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 17:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136156#M1190481</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2009-01-28T17:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136157#M1190482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Valter Oliveira,&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;i'm not so familiar with this kein of structure. so do you mean is sy-index better to use instead of sy-tabix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and yes "deliv_numb" is a field of &amp;lt;wa_clog_r&amp;gt; so is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;where deliv_numb = &amp;lt;fd_clog_a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Younes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 17:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136157#M1190482</guid>
      <dc:creator>hasba_younes</dc:creator>
      <dc:date>2009-01-28T17:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136158#M1190483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I'm not saying that you should use sy-index. I could not say that because I'm not sure about what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, lets say that in your loop, you are in the first row. Sy-tabix will be 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;assign component sy-tabix of structure &amp;lt;wa_clog_r&amp;gt; to &amp;lt;fd_clog_a&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This means: assign the &lt;STRONG&gt;first&lt;/STRONG&gt; field of the structure &amp;lt;wa_clog_r&amp;gt; to the field-symbol &amp;lt;fd_clog_a&amp;gt;. If the first field of structure &amp;lt;wa_clog_r&amp;gt; is deliv_numb, you can say:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;where deliv_numb = &amp;lt;fd_clog_a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second row it will mean: assign the &lt;STRONG&gt;second&lt;/STRONG&gt; field of the structure &amp;lt;wa_clog_r&amp;gt; to the field-symbol &amp;lt;fd_clog_a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF ty_data,
         string TYPE char255,
       END OF ty_data.
 
DATA: itab TYPE STANDARD TABLE OF ty_data.
DATA: fields TYPE STANDARD TABLE OF ty_data.
DATA: count TYPE i.
DATA: wa TYPE ty_data.
DATA: wa2 TYPE ty_data.
DATA: wa_bsis TYPE bsis.
 
FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE any.
 
wa-string = '100;INCM;20000001;...'. "mandt-bukrs-hkont-...
APPEND wa TO itab.
 
LOOP AT itab INTO wa.
  SPLIT wa-string AT ';' INTO TABLE fields.
  CLEAR count.
  LOOP AT fields INTO wa2.
    ADD 1 TO count.
    ASSIGN COMPONENT count OF STRUCTURE wa_bsis TO &amp;lt;fs&amp;gt;.
    &amp;lt;fs&amp;gt; = wa2-string.
  ENDLOOP.
  INSERT zbsis FROM wa_bsis.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 17:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136158#M1190483</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2009-01-28T17:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136159#M1190484</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;U need to create the WHERE condtions dynamically:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: T_WHERE(100) TYPE C OCCURS 0 WITH HEADER LINE..
DATA: VALUE(30) TYPE C.
DATA: DEL(10)      TYPE C.

loop at &amp;lt;fs_clog_r&amp;gt; into &amp;lt;wa_clog_r&amp;gt;.
 
     assign component sy-tabix of structure &amp;lt;wa_clog_r&amp;gt; to &amp;lt;fd_clog_a&amp;gt;.
     move &amp;lt;fd_clog_a&amp;gt; to DEL.
    REFRESH T_WHERE. 
    CONCATENATE '''' DEL '''' INTO VALUE.
    CONCATENATE 'DELIV_NUMB =' VALUE INTO T_WHERE SEPARATED BY SPACE.
    APPEND T_WHERE

     select * from (tablename) into table &amp;lt;fs_clog_a&amp;gt;
        where (T_WHERE). 
 
        if sy-subrc  0.
.....
       endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 18:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136159#M1190484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T18:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136160#M1190485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Max said, but I wonder if this would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONCATENATE 'DELIV_NUMB = ''' &amp;lt;fd_clog_a&amp;gt;-deliv_num '''' INTO where_clause.

select * from (tablename) into table &amp;lt;fs_clog_a&amp;gt;
 where (where_clause).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 10:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136160#M1190485</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-01-29T10:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Standard Itab from Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136161#M1190486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code you provided is "more correct" regarding the dynamic "where condition". But I must say that (at least in 7.10) this also works:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TRY.
   CREATE DATA gv_dref TYPE (wa_profiles-table).
*  Assign work area
   ASSIGN gv_dref-&amp;gt;* TO &amp;lt;wa&amp;gt;.
   IF sy-subrc NE 0.
     EXIT.
   ENDIF.
*  Dynamic SELECT
   SELECT SINGLE * FROM (wa_profiles-table) INTO &amp;lt;wa&amp;gt;
    WHERE data_file = wa_pin-data_ficheiro
      AND seq_fileo = wa_pin-seq_ficheiro.
*  Error handing
   CATCH cx_sy_create_data_error.
ENDTRY.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the problem solved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 12:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-standard-itab-from-variable/m-p/5136161#M1190486</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2009-01-29T12:31:15Z</dc:date>
    </item>
  </channel>
</rss>

