<?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 class interface in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796840#M1123395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramchandra,&lt;/P&gt;&lt;P&gt;                      Thanks a lot for your vital information.Can you send me the steps how to create the table types as per my above requirement for mara.I have tried a lot but its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2008 11:03:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-24T11:03:38Z</dc:date>
    <item>
      <title>problem in class interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796837#M1123392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moved to correct forum by moderator.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi ppl,&lt;/P&gt;&lt;P&gt;         I have created an interface and assigned that to a class(global class and interface in se24).&lt;/P&gt;&lt;P&gt;Here my problem is in interface-&amp;gt;parameters tab,&lt;/P&gt;&lt;P&gt;IT_MARA Exporting Type MARA&lt;/P&gt;&lt;P&gt;P_MATNR_LOW Importing Type MARA-MATNR&lt;/P&gt;&lt;P&gt;P_MATNR_HIGH Importing Type MARA-MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i want to create a table but from above parametrs first line-&lt;/P&gt;&lt;P&gt;IT_MARA Exporting Type MARA -&amp;gt; its not allowing me declare as LIKE,its throwing an error&lt;/P&gt;&lt;P&gt;ERROR-Type MARA-MATNR cannot be referenced using LIKE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method Z_INTERFACE~SELECT_METHOD.&lt;/P&gt;&lt;P&gt;SELECT  * FROM MARA INTO table IT_MARA WHERE MATNR = P_MATNR_LOW  AND MATNR = P_MATNR_HIGH.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Nov 24, 2008 10:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 08:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796837#M1123392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in class interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796838#M1123393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priyank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't use LIKE with ABAP Objects, you need to declare the table using TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;You can no longer use this kind of type reference in ABAP Objects classes.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw04/helpdata/EN/9b/239fa610de11d295390000e8353423/frameset.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 09:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796838#M1123393</guid>
      <dc:creator>Andri</dc:creator>
      <dc:date>2008-11-24T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem in class interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796839#M1123394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In OO ABAP you cannot pass ranges or select-options directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a table type in SE11 TCODE and pass it here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 09:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796839#M1123394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T09:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem in class interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796840#M1123395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramchandra,&lt;/P&gt;&lt;P&gt;                      Thanks a lot for your vital information.Can you send me the steps how to create the table types as per my above requirement for mara.I have tried a lot but its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 11:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796840#M1123395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T11:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem in class interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796841#M1123396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priyank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to have itabs as method parameter you need to use tables types. In case of MARA you can use either MARA_TT or MARA_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IT_MARA            TYPE mara_tt
P_MATNR_LOW Importing Type MARA-MATNR
P_MATNR_HIGH Importing Type MARA-MATNR
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 11:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796841#M1123396</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-11-24T11:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem in class interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796842#M1123397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ppl,&lt;/P&gt;&lt;P&gt;            Thank you..problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-class-interface/m-p/4796842#M1123397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T12:08:44Z</dc:date>
    </item>
  </channel>
</rss>

