<?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: Reg: function module for number range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841232#M1317982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For creating number ranges you dont need function module.&lt;/P&gt;&lt;P&gt;You can go to Transaction Code : SNRO and create the number range and intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting the increment number you can use FM : Number_GET_NEXT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2009 06:23:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-25T06:23:11Z</dc:date>
    <item>
      <title>Reg: function module for number range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841231#M1317981</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 need to create number range using the Function Modules.&lt;/P&gt;&lt;P&gt;For that i am using the Fm    "NUMBER_RANGE_OBJECT_UPDATE".&lt;/P&gt;&lt;P&gt;Could you please tell me what i need to give in the import parameters and export parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&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;Kalyani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 06:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841231#M1317981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T06:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: function module for number range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841232#M1317982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For creating number ranges you dont need function module.&lt;/P&gt;&lt;P&gt;You can go to Transaction Code : SNRO and create the number range and intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting the increment number you can use FM : Number_GET_NEXT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 06:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841232#M1317982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T06:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: function module for number range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841233#M1317983</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;in the IMPORTING parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INDICATOR    =  V_INDICATOR&amp;lt;variable&amp;gt;&lt;/P&gt;&lt;P&gt;OBJECT_ATTRIBUTES  = it_OBJECT_ATTRIBUTES  &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;OBJECT_TEXT                = it_OBJECT_TEXT   &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;in the EXPORTING parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURNCODE  = V_RETURN&amp;lt;variable&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the TABLE you have to pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERRORS = it_error &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&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;Ritesh J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 06:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841233#M1317983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T06:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: function module for number range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841234#M1317984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;    Go to SE37&lt;/P&gt;&lt;P&gt;    and check the FM " NUMBER_RANGE_OBJECT_UPDATE "&lt;/P&gt;&lt;P&gt;  on the top right hand side youll find function module documentation it would give you a complete overview with an example.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Example  taken from the documentation.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: TNRO,TNROT.
 DATA: BEGIN OF ERRORS OCCURS 10.
         INCLUDE STRUCTURE INOER.
 DATA: END OF ERRORS.
 DATA: RET_CODE(1)    TYPE C.

 * fill TNRO
 * fill TNROT

   CALL FUNCTION 'NUMBER_RANGE_OBJECT_UPDATE'
        EXPORTING  OBJECT_ATTRIBUTES  = TNRO
                   OBJECT_TEXT        = TNROT
        IMPORTING  RETURNCODE         = RET_CODE
        TABLES     ERRORS             = ERRORS.
   CASE RET_CODE.
     WHEN SPACE.
 *      Changes made without errors
     WHEN 'E'.
 *     Changes contained errors
 *     Process error
       LOOP AT ERRORS.
       ENDLOOP.
     WHEN 'W'.
 *     Warning messages occurred
 *     Process warning messages
       LOOP AT ERRORS.
       ENDLOOP.
   ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 06:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841234#M1317984</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-06-25T06:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: function module for number range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841235#M1317985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Could you please specify what values i need to pass in the internal tables 'it_OBJECT_ATTRIBUTES ' and 'it_OBJECT_TEXT ' and how do i need to declare this in the Data declarations.&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;kalyani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 07:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841235#M1317985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T07:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: function module for number range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841236#M1317986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kalyani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM UPDATE_OBJECT TABLES ERROR  STRUCTURE INOER&lt;/P&gt;&lt;P&gt;                   USING  INRO   STRUCTURE TNRO&lt;/P&gt;&lt;P&gt;                          INROT  STRUCTURE TNROT.&lt;/P&gt;&lt;P&gt;DATA: DUMMY(1) TYPE C.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'NUMBER_RANGE_OBJECT_UPDATE'&lt;/P&gt;&lt;P&gt;       EXPORTING  INDICATOR          = 'U'&lt;/P&gt;&lt;P&gt;                  OBJECT_ATTRIBUTES  = INRO&lt;/P&gt;&lt;P&gt;                  OBJECT_TEXT        = INROT&lt;/P&gt;&lt;P&gt;       IMPORTING  RETURNCODE         = DUMMY&lt;/P&gt;&lt;P&gt;       TABLES     ERRORS             = ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you..revert back incase of issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re,Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 07:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module-for-number-range/m-p/5841236#M1317986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T07:20:37Z</dc:date>
    </item>
  </channel>
</rss>

