<?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: Views and standard table problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729341#M1580839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use only field symbols for generic type definitions like type any, type table, type standard table etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interface  definition of the Function Module does not mean that you should pass standard table generic table. You can have a Data type whihc refers to DDIC structure (I mean a predefined structure )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to pass generic parameter to the Function Module then it should be thriugh field symbols&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fs_table&amp;gt; type table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create data dref type table of (l_std_table_name).&lt;/P&gt;&lt;P&gt;assign dref-&amp;gt;* to &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your field symbol is assigned and you can pass that to the FM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_table type table of marra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can pass lt_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here the problem is with the defnition of the internal tables in data delcaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2011 20:00:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-14T20:00:42Z</dc:date>
    <item>
      <title>Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729340#M1580838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abap Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some doubt related to code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Generally when we code, we use "Data:  &amp;lt;variable name&amp;gt;(size) type (abap_predefined_type or data elements or database table name).&lt;/P&gt;&lt;P&gt;Ex : Data : a(25) type c, " Abap predefined data type&lt;/P&gt;&lt;P&gt;                  b type matnr, " material number data element &lt;/P&gt;&lt;P&gt;                  c type mara, " work area &lt;/P&gt;&lt;P&gt;                  d type standard table of mara. " internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have a "view" and the name of the view is /BIC/VZFE_T02F. &lt;/P&gt;&lt;P&gt;I want to create an internal table like that of view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the statements, &lt;/P&gt;&lt;P&gt;Data : xx type /BIC/VZFE_T02F.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;data : xx type standard table of /BIC/VZFE_T02F.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;data : begin of xx,&lt;/P&gt;&lt;P&gt;include structure /BIC/VZFE_T02F. &lt;/P&gt;&lt;P&gt;end of xx.&lt;/P&gt;&lt;P&gt;did not work out and are giving errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i have to use as given below,&lt;/P&gt;&lt;P&gt;data : begin of xx,&lt;/P&gt;&lt;P&gt;&amp;lt;manually enter all of the fields in the view&amp;gt;&lt;/P&gt;&lt;P&gt;endof xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i need to use as above, the view contains lot of fields and its really a pain. &lt;/P&gt;&lt;P&gt;is there any other way to achieve the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I am using a function module, FM RSDRI_INFOPROV_READ in my program. This FM reads data from an infoprovider. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the code given below,&lt;/P&gt;&lt;P&gt;" Error is received here. &lt;/P&gt;&lt;P&gt;" But in FM source code, e_T_DATA is declared as given below&lt;/P&gt;&lt;P&gt;" EXPORTING&lt;/P&gt;&lt;P&gt;" REFERENCE(E_T_DATA) TYPE STANDARD TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : e_T_DATA TYPE standard table. " This statement is causing error for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : E_END_OF_DATA TYPE RS_BOOL.&lt;/P&gt;&lt;P&gt;data : E_AGGREGATE TYPE RSINFOCUBE.&lt;/P&gt;&lt;P&gt;data : E_SPLIT_OCCURRED TYPE RSDR0_SPLIT_OCCURRED.&lt;/P&gt;&lt;P&gt;data : E_T_MSG TYPE RS_T_MSG.&lt;/P&gt;&lt;P&gt;data : E_STEPUID TYPE SYSUUID_25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RSDRI_INFOPROV_READ'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_infoprov = 'ZFE_T02' "Name of an InfoProvider, for example of an InfoCubes or an ODS Object.&lt;/P&gt;&lt;P&gt;i_th_sfc = charc_table "Table containing all characteristics &lt;/P&gt;&lt;P&gt;i_th_sfk = kf_table "Table containing all of the Key figuers&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;E_T_DATA = E_T_DATA&lt;/P&gt;&lt;P&gt;E_END_OF_DATA = E_END_OF_DATA&lt;/P&gt;&lt;P&gt;E_AGGREGATE = E_AGGREGATE&lt;/P&gt;&lt;P&gt;E_SPLIT_OCCURRED = E_SPLIT_OCCURRED&lt;/P&gt;&lt;P&gt;E_T_MSG = E_T_MSG&lt;/P&gt;&lt;P&gt;E_STEPUID = E_STEPUID&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;c_first_call = flag&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ILLEGAL_INPUT = 1&lt;/P&gt;&lt;P&gt;ILLEGAL_INPUT_SFC = 2&lt;/P&gt;&lt;P&gt;ILLEGAL_INPUT_SFK = 3&lt;/P&gt;&lt;P&gt;ILLEGAL_INPUT_RANGE = 4&lt;/P&gt;&lt;P&gt;ILLEGAL_INPUT_TABLESEL = 5&lt;/P&gt;&lt;P&gt;NO_AUTHORIZATION = 6&lt;/P&gt;&lt;P&gt;ILLEGAL_DOWNLOAD = 7&lt;/P&gt;&lt;P&gt;ILLEGAL_TABLENAME = 8&lt;/P&gt;&lt;P&gt;TRANS_NO_WRITE_MODE = 9&lt;/P&gt;&lt;P&gt;INHERITED_ERROR = 10&lt;/P&gt;&lt;P&gt;X_MESSAGE = 11&lt;/P&gt;&lt;P&gt;OTHERS = 12.&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get error ""ANY TABLE" expected, not "STANDARD TABLE"".&lt;/P&gt;&lt;P&gt;If i change "data : e_T_DATA TYPE any table" then i get the error,&lt;/P&gt;&lt;P&gt;""You cannot use generic types for fields. The table types ANY and INDEX are generic".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to over come this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshminarasimhan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 15:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729340#M1580838</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2011-03-14T15:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729341#M1580839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use only field symbols for generic type definitions like type any, type table, type standard table etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interface  definition of the Function Module does not mean that you should pass standard table generic table. You can have a Data type whihc refers to DDIC structure (I mean a predefined structure )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to pass generic parameter to the Function Module then it should be thriugh field symbols&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fs_table&amp;gt; type table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create data dref type table of (l_std_table_name).&lt;/P&gt;&lt;P&gt;assign dref-&amp;gt;* to &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your field symbol is assigned and you can pass that to the FM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_table type table of marra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can pass lt_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here the problem is with the defnition of the internal tables in data delcaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 20:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729341#M1580839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T20:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729342#M1580840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a bad idea to ask two questions in one thread. Please don't do it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's impossible to answer your first question unless you specify what the errors you're getting are! But I suggest you have another look at the syntax of DATA and INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding part 2 - ignore the above about field symbols, it's irrelevant. But you know this function module is documented, and SAP supply an example program (mentioned in the documentation) about how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a parameter is defined as taking ANY TABLE, that means you can supply it with any fully defined table of any type, not that you must define your table as "any table".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Mar 15, 2011 7:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 06:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729342#M1580840</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-03-15T06:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729343#M1580841</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 tried definitions with 3 kinds of views:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Maintenance Views&lt;/P&gt;&lt;P&gt;- Database Views&lt;/P&gt;&lt;P&gt;- Projection Views&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declare both:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: a type table of V_MARABELEG.
data: b type V_MARABELEG.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was the database view sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of them worked fine without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which kind of view do you have?&lt;/P&gt;&lt;P&gt;What error do you get? &lt;/P&gt;&lt;P&gt;Please post it exactly!&lt;/P&gt;&lt;P&gt;Maybe your view is not active or something like that!&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;Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Klaus Babl on Mar 15, 2011 8:39 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 07:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729343#M1580841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-15T07:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729344#M1580842</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;You people are right. &lt;/P&gt;&lt;P&gt;The code works for the view. &lt;/P&gt;&lt;P&gt;Data : xx type /BIC/VZFE_T02F.&lt;/P&gt;&lt;P&gt;data : xx type standard table of /BIC/VZFE_T02F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am unable to use "Include structure".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of xx,&lt;/P&gt;&lt;P&gt;include structure /BIC/VZFE_T02F. &lt;/P&gt;&lt;P&gt;end of xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the case that in ECC 6.0 "include structure" statement not accepted? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have over come the 2nd problem, by creating a structure with all elements and creating an internal table over that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me abt the "include structure"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 16:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729344#M1580842</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2011-03-16T16:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729345#M1580843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INCLUDE TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 06:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729345#M1580843</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-03-17T06:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729346#M1580844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;But i am unable to use "Include structure".&lt;/P&gt;&lt;P&gt;data : begin of xx,&lt;/P&gt;&lt;P&gt;include structure /BIC/VZFE_T02F.&lt;/P&gt;&lt;P&gt;end of xx.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Change these statements to:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : begin of xx.
include structure /BIC/VZFE_T02F.
end of xx.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just replace comma with dot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 07:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729346#M1580844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-17T07:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729347#M1580845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact that should be &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : begin of xx.
include structure /BIC/VZFE_T02F.
data end of xx.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But that is &lt;STRONG&gt;not allowed&lt;/STRONG&gt; within classes. There you have to use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : begin of xx.
include type /BIC/VZFE_T02F.
data end of xx.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 12:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729347#M1580845</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-03-17T12:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729348#M1580846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you think that topic starter uses classes? There was nothing said about it. However, the code was not valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 07:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729348#M1580846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-18T07:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Views and standard table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729349#M1580847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Why do you think that topic starter uses classes? There was nothing said about it. However, the code was not valid.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a particular construct is not allowed in classes, you can safely draw the conclusion that the construct has been regarded by SAP as "not good", and is only retained for backward compatability. My advice (and practice) is to only use syntax that's valid in OO context, even outside of an OO-context, where possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The view name has the prefix /BIC/. This indicates that the program will be running in a BI system. Since BI 7.0, (most) routines have been in an OO context. Without knowing which version the OP is using (3.5 routines are implemented in forms), I suggest the solution that will work in ALL contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 11:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/views-and-standard-table-problem/m-p/7729349#M1580847</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-03-18T11:56:44Z</dc:date>
    </item>
  </channel>
</rss>

