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.
Step 3: Configure the Receiver Adapter Modules to Execute the Number Range Object.