If you have a requirement to assign a unique sequence number to a target field you can do that using below method in PI 7.3 or higher single stack versions.
This type of unique sequence number requirement is common when you have B2B EDI integration scenarios with business partners. EDI segments ISA.13 (Interchange Control Number), ST.02 (Transaction Set Control Number) or IEA.02 (Interchange Control Number) are a few segments where unique sequence numbers are required.
B2B Number Range Objects allow us to assign sequence numbers from the Number Range Object to the target fields or segments.
Steps to Configure Number Range Objects in SAP PI/PO.
-
Create the Number Range Object in B2B home.
-
Call the number range in message mapping and map the value to the target field.
-
Configure the receiver adapter modules to call the number range.
Let us look at these three steps in detail.
Step 1: Create the Number Range Object (NRO) in B2B Home.

Step 2: Call the Number Range Object in Message Mapping and Map the Values to Target Field.

hi please provide b2b end to end testing AS2 and ODATA
thank you
satya,
Hi Satya,
if you have already created the B2B scenario, you can use RSSBus Connect to send and receiver EDI files through a test AS2 connection.
Hi can you share me how to transport NRO in SAP PO we are using 7.5 singlestsck
Hi Monohar,
You cannot transport NRO objects in SAP PO 7.5 Single stack version. You have to create them in each system.
Cheers,
Isuru
NRO object Create and delete options are disabled and not able to create. any config missing here?
Hi Chitti,
I would check the authorization with BASIS team.
Cheers!
Isuru
Hi,
I want step by step procedure for B2B Scenario. I saw different types of scenario’s but i am not getting. Please provide the end to end scenario for B2B
Thanks
Saritha
Hi can you share me how to transport NRO in SAP PO we are using 7.5 singlestsck
Hi Monohar,
You cannot transport NRO objects in SAP PO 7.5 Single stack version. You have to create them in each system.
Cheers,
Isuru
Please provide the output for nro mapping for better understanding
Hi Reddy,
I have provided the output in message log screen shots. You cannot view the queue of NRO objects in graphical mapping.
Cheers!
isuru
Hi Fernando,
Thanks for sharing your knowledge.
What is the usage of Rotate Option in NRO Creation and in which cases we need to enable this Rotate Option.
Any idea,Please share the details if you came across this option.
Thanks & Regards
Raghu.
Hello Raghu,
If this option is activated, the number range will restart from the minimum value again after the range is fully utilized. That is, range will reset to the mimium value when the maximum value is reached.
Use cases depend on the functionality of the NRO. You can activate this option if resetting the NRO automatically is fine. Else, you need to manually maintain the ranges again.
Cheers!
Isuru
I used NRO same it was shown here but when i test it instead of getting value i’m getting what ever given in constant. Can you please tell where i’m going wrong in maintaining.
Hello Srija,
I would check if the adapter modules are correctly configured.
Let us know.
Cheers!
Isuru
What do you mean correctly configured? I added the module in the receiver modules as modulekey “NRO” and before the callSAPadapter. But still getting the constant instead of the number (which is issued, because I it is increased)
Hello.
We sometimes get an error: “transmission number module was not able to acquire lock”.
What could be the problem?
Thanks.
Hello,
for one NRO i am using default length as 6 and the max value as 999999 but still i am unable to get leading zeroes. Need your guidance!