<?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: Problem in Call method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795055#M1310619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Punit&lt;/P&gt;&lt;P&gt;Thanks for ur reply .&lt;/P&gt;&lt;P&gt;i think ur suggestion wil lwork.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See, I hv declared type and then created an internal table of this type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_faglflexa_open type  table of faglflexa&lt;/P&gt;&lt;P&gt;       initial size 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_table type ref to cl_salv_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error msg: - i_faglflexa_open is not type compatible with formal parameter with t_faglflexa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u suggest something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2009 09:56:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-07T09:56:12Z</dc:date>
    <item>
      <title>Problem in Call method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795053#M1310617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m coding a ALV report using objects. &lt;/P&gt;&lt;P&gt;I hv collected all teh data into the internal table.&lt;/P&gt;&lt;P&gt;but when i write code as below it gives an error that statement is not accssible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_table type ref to cl_salv_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_salv_table=&amp;gt;factory&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;         R_SALV_TABLE = gr_table&lt;/P&gt;&lt;P&gt;      changing&lt;/P&gt;&lt;P&gt;         t_table = i_faglflexa_open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*... Display Table&lt;/P&gt;&lt;P&gt;   gr_table-&amp;gt;display( ).&lt;/P&gt;&lt;P&gt;Can any one help me in this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 05:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795053#M1310617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T05:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Call method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795054#M1310618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;whenever you work with class try to create the objects as well calling the method inside the start of selection the class definition and implementation can come above it &lt;/P&gt;&lt;P&gt;try calling the method inside start of selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will surely help you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Punit Raval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 05:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795054#M1310618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T05:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Call method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795055#M1310619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Punit&lt;/P&gt;&lt;P&gt;Thanks for ur reply .&lt;/P&gt;&lt;P&gt;i think ur suggestion wil lwork.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See, I hv declared type and then created an internal table of this type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_faglflexa_open type  table of faglflexa&lt;/P&gt;&lt;P&gt;       initial size 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_table type ref to cl_salv_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error msg: - i_faglflexa_open is not type compatible with formal parameter with t_faglflexa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u suggest something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 09:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795055#M1310619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T09:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Call method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795056#M1310620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;there are 2 ways of creating internal table .. &lt;/P&gt;&lt;P&gt;one is an outdated method which sap doesnt recommend any more and the other that you are using.&lt;/P&gt;&lt;P&gt;you have written the correct syntax the only thing is that in this format you dont have to specify the initial size ....&lt;/P&gt;&lt;P&gt;the syntax is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA &amp;lt;itab&amp;gt; TYPE &amp;lt;type&amp;gt;|LIKE &amp;lt;obj&amp;gt; [WITH HEADER LINE]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also the outdated approach in that will use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of &amp;lt;ittab&amp;gt; occurs n&lt;/P&gt;&lt;P&gt;         end of &amp;lt;ittab&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;donot specify the inital size 0 ....&lt;/P&gt;&lt;P&gt;also i believe that faglflexa may be a structured. if you have used a table type then write simply &lt;/P&gt;&lt;P&gt;data : &amp;lt;itab&amp;gt; type &amp;lt;internal type&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will surely help you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Punit Raval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795056#M1310620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Call method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795057#M1310621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get rid of the header line, or pass i_faglflexa_open[] as parameter.&lt;/P&gt;&lt;P&gt;You're sending your header line where the method requires a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 12:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-call-method/m-p/5795057#M1310621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T12:34:52Z</dc:date>
    </item>
  </channel>
</rss>

