<?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: Regarding Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668058#M1098139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     My requirement has been changed. I dont need to write my logic in a function module now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 10:21:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T10:21:51Z</dc:date>
    <item>
      <title>Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668052#M1098133</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 have to generate a no. and the generated number should be diplayed in the status bar and this logic has to be written in a function module (YOM_ABCD). So when i call this function module, if the number gets generated, will this number be shown in the status bar if i try to show this number through a message. Or do i need to get that generated number out of the function module through some importing parameter and then display it in the status bar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668052#M1098133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T05:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668053#M1098134</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; Use the function module NUMBER_GET_NEXT to generate number ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Create the number range object in TCODE : &lt;STRONG&gt;SNUM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Once done proceed as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Func modules NUMBER_RANGE_ENQUEUE -&amp;gt; NUMBER_GET_NEXT -&amp;gt; NUMBER_RANGE_DEQUEUE&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;Edited by: Rajvansh Ravi on Oct 23, 2008 7:24 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668053#M1098134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T05:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668054#M1098135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the sample program is shown below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is a test program to get the next available number of the object created above:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zsnro_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;NUMBER TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'NUMBER_GET_NEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;   nr_range_nr = '01'&lt;/P&gt;&lt;P&gt;   object = 'ZDEMO'&lt;/P&gt;&lt;P&gt;IMPORTING  &lt;/P&gt;&lt;P&gt;  NUMBER = NUMBER&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;  INTERVAL_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;  NUMBER_RANGE_NOT_INTERN = 2&lt;/P&gt;&lt;P&gt;  OBJECT_NOT_FOUND = 3&lt;/P&gt;&lt;P&gt;  QUANTITY_IS_0 = 4&lt;/P&gt;&lt;P&gt;  QUANTITY_IS_NOT_1 = 5&lt;/P&gt;&lt;P&gt;  INTERVAL_OVERFLOW = 6&lt;/P&gt;&lt;P&gt;  BUFFER_OVERFLOW = 7&lt;/P&gt;&lt;P&gt;  OTHERS = 8&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 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;You can use this number now to show it on the status bar..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mudit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668054#M1098135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T05:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668055#M1098136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I guess you did not get my question. I am using the fn. module NUMBER_GET_NEXT in a custom function module YOM_ABCD. So when i call the function module YOM_ABCD in my program, the number which gets generated, will it be displayed in the status bar or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668055#M1098136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T05:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668056#M1098137</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;Just output it as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Message number type 'S'.   "inside the FM..
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sukriti Saha on Oct 23, 2008 11:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668056#M1098137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T05:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668057#M1098138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Message Statement you can show your number on the status bar, Use Type 'I' to show it in a popup box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 05:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668057#M1098138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T05:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668058#M1098139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     My requirement has been changed. I dont need to write my logic in a function module now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 10:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4668058#M1098139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T10:21:51Z</dc:date>
    </item>
  </channel>
</rss>

