sap-snro

Automate SAP Number Range Object lifecycle via SNRO with SAP GUI Scripting.

7|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-snro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sap-snro
Source: https://github.com/sapdev-ai/sap-dev/tree/main/plugins/sap-dev-core/skills/sap-snro
Command: npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-snro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creates, maintains, and manages SAP Number Range Objects (NRO) via SNRO using SAP GUI Scripting. Number Range Objects are crucial for generating unique identifiers for SAP master data and document numbers (e.g. material numbers, document numbers, custom Z document IDs). This skill checks existence, creates new NRO with short text / long text / domain (number length) / warning percentage, updates header attributes, and maintains number range intervals (sub-objects with FROMNUMBER / TONUMBER / current number / external flag). Handles the package + transport popup (3-way pattern: explicit TR, $TMP local object, or new transport). Prerequisites: Active SAP GUI session (use /sap-login first).

Core Features & Use Cases

  • Existence check via SNRO Display
  • Create new NRO with short text, long text, domain/length, and warning percentage
  • Update header attributes and maintain number range intervals (NRIV)
  • Transport handling: explicit TR, local object ($TMP), or new transport; manages 3-way pattern
  • Login prerequisite and SAP GUI scripting workflow

Quick Start

Provide the NRO name and optional attributes to create or update an SNRO NRO via SAP GUI scripting.

Frequently Asked Questions about sap-snro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SAP Number Range Object creation and maintenance via SNRO?

Automate SAP Number Range Object creation and maintenance via SNRO using SAP GUI Scripting to manage existence checks, short/long text, domains, warning percentages, and NRIV interval updates.

What prerequisites do I need to manage SAP Number Range Objects through SAP GUI scripting?

Managing SAP Number Range Objects through SAP GUI scripting requires an active SAP GUI session with scripting enabled. You must establish this login session first before executing any NRO lifecycle automation tasks.

Can I update number range intervals and sub-objects in SAP using GUI scripting?

Yes, you can update number range intervals and sub-objects in SAP using GUI scripting. The automation maintains NRIV intervals including FROMNUMBER, TONUMBER, current number, and external flags.

How does SAP GUI scripting handle transport requests when creating Number Range Objects?

SAP GUI scripting handles transport requests for Number Range Objects using a 3-way pattern: assigning an explicit transport request, saving as a $TMP local object, or creating a new transport request.

Why use SAP GUI scripting for Number Range Object lifecycle automation instead of manual SNRO transactions?

Using SAP GUI scripting for Number Range Object lifecycle automation ensures consistent identifier management across SAP systems. It eliminates manual SNRO transaction errors during existence checks, creation, updates, and interval maintenance.

Does SNRO automation support setting warning percentages and number length domains for new Number Range Objects?

Yes, SNRO automation supports setting warning percentages and number length domains for new Number Range Objects. It creates NROs with short text, long text, domain specifications, and warning percentage thresholds.