Why this blog?
I want to share with the community how easy you can use a number range object within, in this case, a graphical message mapping.
Scope and context
The Number Range Object (NRO) module provides the option to insert automatically continuous counters into an incoming and outgoing message.
These numbers can be created and are oriented towards the defined intervals in the respective objects.
NRO’s can be created and edited via a special maintenance screen. This can be accessed directly via URL
http://<host>:<port>/webdynpro/dispatcher/sap.com/nro~maintenance/NROMaintenance or via the B2B Integration Cockpit.
The NRO configured for this blog is /B2B/TestNRO.
You can clean them up using background job AssignedNumbersCleanUp.
Within a graphical message mapping, you have to use this constant:
The module replaces every occurrence of this constant with the last number associated the <NRO> used.
To enable the replacement of the NRO variable by the real value, do not forget to include the adapter module:
No further configuration is necessary and you are ready to go!