{"id":7564,"date":"2025-08-24T01:28:17","date_gmt":"2025-08-23T19:58:17","guid":{"rendered":"https:\/\/www.sapewmhelp.com\/?question=how-to-create-a-number-range-object-in-sap-rap"},"modified":"2025-08-24T01:28:17","modified_gmt":"2025-08-23T19:58:17","slug":"how-to-create-a-number-range-object-in-sap-rap","status":"publish","type":"question","link":"https:\/\/www.sapewmhelp.com\/?question=how-to-create-a-number-range-object-in-sap-rap","title":{"rendered":"How to create a Number Range Object in SAP RAP ?"},"content":{"rendered":"<p>A <strong>number range object<\/strong> in SAP is an object that defines a specific set of unique character strings. These objects are used by business applications to assign unique numbers to database records, ensuring that each record can be identified by a distinct key.<\/p>\n<p>The transactions <strong>SNRO<\/strong> or <strong>SNUM<\/strong> are used to display and manage number range object definitions.<\/p>\n<p>For example, when checking the configuration of <strong>MATERIALNR<\/strong>, you can view the relevant details under the tabs <strong>Intervals<\/strong>, <strong>Customizing<\/strong>, and <strong>Group<\/strong> (if available).<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/nr1.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/nr2.png\" \/><\/p>\n<p>The number range object configuration contains several important fields:<\/p>\n<ul>\n<li><strong>Warning (%)<\/strong> \u2013 Specifies the threshold percentage of remaining numbers in the range. A warning is triggered when this limit is reached.<\/li>\n<li><strong>To-year flag<\/strong> \u2013 Determines whether the object is <em>year-dependent<\/em> or <em>not year-dependent<\/em>. This is evaluated together with the <strong>Year<\/strong> field.<\/li>\n<li><strong>Rolling flag<\/strong> \u2013 Indicates whether the object is rolling or non-rolling.<\/li>\n<li>If the flag is <em>not set<\/em> (No-rolling), the object behaves as <em>rolling<\/em>, meaning that once the interval is exhausted, numbering restarts from the beginning of the interval.<\/li>\n<li><strong>NR Transaction<\/strong> \u2013 Provides a shortcut to the interval configuration, typically accessed from the application side.<\/li>\n<li><strong>Buffering method \/ Numbers in buffer<\/strong> \u2013 Defines the buffering mechanism and specifies how many numbers are preloaded into the buffer for performance optimization.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/nr3.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/nr4.png\" \/><\/p>\n<p>use the fields that are used in this example you can create an NR object<\/p><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[175],"question_tags":[178,201,280,355,200],"class_list":["post-7564","question","type-question","status-publish","hentry","question-category-rap","question_tags-abap","question_tags-btp","question_tags-cloud","question_tags-number-range","question_tags-rap"],"_links":{"self":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question\/7564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7564"}],"wp:attachment":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7564"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion-category&post=7564"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion_tags&post=7564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}