<?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: Method declaration in Class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-declaration-in-class/m-p/1712415#M311549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You can create the method from the CLASS BUILDER. SE24. There navigate to methods tab and enter you method name. Then select visibility public or private.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then click on the parameters button to add parameters to the method. Selec IMPORT, EXPORT or RETURNING parameter for the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2006 05:27:10 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2006-10-30T05:27:10Z</dc:date>
    <item>
      <title>Method declaration in Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-declaration-in-class/m-p/1712414#M311548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;         In Classes and Methods i got one requirement like this , Please respond it.&lt;/P&gt;&lt;P&gt;I have to create the method , where class is already defined(ZCL_CONFIGURABLE_ITEM )&lt;/P&gt;&lt;P&gt; Create Method:  IS_SEQUENCE_NOT_TO_PRINT . &lt;/P&gt;&lt;P&gt;Class name :ZCL_CONFIGURABLE_ITEM &lt;/P&gt;&lt;P&gt;They had given me example logic also. But iam not able to do this because i have no idea on classes and methods.&lt;/P&gt;&lt;P&gt;Please see this example and respond me .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Create Method:  IS_SEQUENCE_NOT_TO_PRINT .  This must be a value method in class ZCL_CONFIGURABLE_ITEM , passing document number VBDKR-VBELN that returns a parameter value: X = True, Blank = false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET BILLTO_PARTNER customer number for the document (reading VBPA where VBELN = document number VBDKR-VBELN and partner PARVW = &amp;#145;RE&amp;#146; / &amp;#145;BP&amp;#146;)Read table KNA1 to get field KNA1-KATR6 where KUNNR equals Billto partner, and fields VBDKR-VKORG, VBDKR-VTWEG, VBDKR-SPART, Store first character of field KNA1-KATR6 in a work field e.g. W_ KATR6.&lt;/P&gt;&lt;P&gt;Add the entry below to the ZLITERAL table in all clients&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the records from ZLITERAL table (reading key1 = C_ZLIT_GENOSYS_KEY, and key2 = C_KATR6_1) where C_KATR6_1 = attribute on class, with value = KATR6_1 .  You must add this attribute on the class.  Populate the internal table L_ZLITERAL_TAB type ZLITERAL_TAB_TYPE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 05:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-declaration-in-class/m-p/1712414#M311548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T05:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Method declaration in Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-declaration-in-class/m-p/1712415#M311549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You can create the method from the CLASS BUILDER. SE24. There navigate to methods tab and enter you method name. Then select visibility public or private.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then click on the parameters button to add parameters to the method. Selec IMPORT, EXPORT or RETURNING parameter for the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 05:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-declaration-in-class/m-p/1712415#M311549</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2006-10-30T05:27:10Z</dc:date>
    </item>
  </channel>
</rss>

