<?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: How to insert Method of a interface in ABAP code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206351#M1910640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two times Ctrl Space is not required.&lt;/P&gt;&lt;P&gt;You are talking about the case where partial method name is given before Ctrl Space and multiple matches are found.&lt;/P&gt;&lt;P&gt;I do Ctrl+Space, up/down arrows to select match from list and then Shift+Enter.&lt;/P&gt;&lt;P&gt;Shift+Enter always works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2015 11:55:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-28T11:55:38Z</dc:date>
    <item>
      <title>How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206342#M1910631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Plz tell me how to insert a interface METHOD in ABAP code as we do in the case of inserting function in ABAP code using PATTERN Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt; I want insert&amp;nbsp; 'Call method lo_class-&amp;gt;zif_acct~get_acct_detail",&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;But when i use ABAP object patterns,Select call method,Then give the instance name , class/interface name and the method name.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;I only get ' &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Call method lo_class-&amp;gt;get_acct_detail.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;So i have to manually correct it .&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Please Help.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Blue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 08:32:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206342#M1910631</guid>
      <dc:creator>former_member267489</dc:creator>
      <dc:date>2015-07-28T08:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206343#M1910632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 08:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206343#M1910632</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2015-07-28T08:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206344#M1910633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the below steps. In this example, I am using class object "&lt;SPAN style="color: #333333; font-size: 12px;"&gt;CL_GUI_FRONTEND_SERVICES" and method "GUI_UPLOAD".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on Pattern. Choose,radio button "ABAP Object Pattern". Press continue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/757136" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try other Radio button option. I have displayed one way of doing it. Enter your class name and method name as shown below. Press continue.. that it you are there. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/757138" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SaiRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206344#M1910633</guid>
      <dc:creator>former_member196280</dc:creator>
      <dc:date>2015-07-28T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206345#M1910634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear SaiRam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow your step, only get '&lt;SPAN style="color: #333333; font-size: 12px;"&gt; lo_class-&amp;gt;get_acct_detail'&amp;nbsp; no &lt;SPAN style="color: #333333; font-size: 12px;"&gt; 'lo_class-&amp;gt;zif_acct~get_acct_detail'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;zif_acct is Class Interface created in SE24.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I'm not get code what i wish. Can you help me again?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 09:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206345#M1910634</guid>
      <dc:creator>former_member267489</dc:creator>
      <dc:date>2015-07-28T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206346#M1910635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,Ctrl + Space worked, but &lt;SPAN style="color: #333333; font-size: 12px;"&gt; doubleclick method name in new hint box and whole method pattern not appear, if something wrong? Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 09:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206346#M1910635</guid>
      <dc:creator>former_member267489</dc:creator>
      <dc:date>2015-07-28T09:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206347#M1910636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mis-read your initial question. I though how to include class method using pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, you need to create your own pattern as SAP does not provide one for interface method. To do so you need to go to the editor in change mode and from menu go to&amp;nbsp; Utilities--&amp;gt; More Utilities --&amp;gt; Edit Pattern --&amp;gt; Create Pattern (you can create your own pattern for the interface method). It is recommended to create custom pattern if at all it will be used very frequently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once pattern is created you can come back to editor and call the newly created pattern using Other Pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SaiRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 09:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206347#M1910636</guid>
      <dc:creator>former_member196280</dc:creator>
      <dc:date>2015-07-28T09:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206348#M1910637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What code is written before cursor when you are trying CTRL+SPACE? Is it whole method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes you need do it twice to insert pattern.&lt;/P&gt;&lt;P&gt;First time CTRL+SPACE selects method from class/interface and then CTRL+SPACE (+then ENTER or doubleclick) inserts pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am afraid that some older SAP releases do not have this feature. Only partially working code completion, without patter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: no idea why my post was hidden?...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 10:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206348#M1910637</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2015-07-28T10:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206349#M1910638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create my own pattern maybe solution,But i'm not&amp;nbsp; know how to do it. Thanks you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 10:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206349#M1910638</guid>
      <dc:creator>former_member267489</dc:creator>
      <dc:date>2015-07-28T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206350#M1910639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working on my system, ABAP release 7.31.&lt;/P&gt;&lt;DIV style="background-color: #e7e5dc; width: auto; overflow: auto; margin: 1em 0 !important; padding-top: 1px; font-family: courier new,courier;"&gt;&lt;OL start="1" style="list-style: decimal; background-color: #fff; margin: 0 0 1px 3.5em !important; padding: 0; color: #5c5c5c;"&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA &lt;/SPAN&gt;lo &lt;SPAN style="color: #0000ff;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;REF &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;TO &lt;/SPAN&gt;cl_abap_c_reader&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="font-style: italic; color: #808080;"&gt;*TRY.&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;METHOD &lt;/SPAN&gt;lo&lt;SPAN style="color: #808080;"&gt;-&amp;gt;&lt;/SPAN&gt;if_abap_c_reader&lt;SPAN style="color: #808080;"&gt;~&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;read&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;EXPORTING&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length &lt;SPAN style="color: #800080;"&gt;= &lt;/SPAN&gt;length &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECEIVING &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN style="color: #800080;"&gt;= &lt;/SPAN&gt;result&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="font-style: italic; color: #808080;"&gt;* CATCH cx_resource_already_closed .&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="font-style: italic; color: #808080;"&gt;* CATCH cx_stream_error .&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="font-style: italic; color: #808080;"&gt;* CATCH cx_parameter_invalid_range .&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="font-style: italic; color: #808080;"&gt;*ENDTRY.&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I called ABAP objects pattern and wrote instance as LO, class/interface as CL_ABAP_C_READER and then F4 help to get IF_ABAP_C_READER~READ, and press enter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206350#M1910639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-28T11:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Method of a interface in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206351#M1910640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two times Ctrl Space is not required.&lt;/P&gt;&lt;P&gt;You are talking about the case where partial method name is given before Ctrl Space and multiple matches are found.&lt;/P&gt;&lt;P&gt;I do Ctrl+Space, up/down arrows to select match from list and then Shift+Enter.&lt;/P&gt;&lt;P&gt;Shift+Enter always works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-method-of-a-interface-in-abap-code/m-p/11206351#M1910640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-28T11:55:38Z</dc:date>
    </item>
  </channel>
</rss>

