Symptom
When a payment run is performed and an XML file is generated using GB_BACS payment medium format, the XML file sequence number is unique only for files created on the same day. However, when files are generated the next day, the system repeats the same sequence numbers, which may not meet the requirements of some banks that require unique numbers to be maintained.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Cause
If the field 'Period of Numbering' is empty, the sequence of serial numbering restarts every day.
Resolution
In configuration activity "Create/Assign Selection Variants"(SSCUI ID- 102238) for the payment medium format GB_BACS specify the value for parameter 'Period for Serial Numbering' in order to get the unique serial number.
Period for Serial Numbering
Defines the number of calendar days during which the system shall continue the sequence of serial numbering for the payment file creation runs to uniquely identify them. The serial numbers are then inserted in the payment files in GB_BACS payment medium format.
The serial number is a unique 6-character alphanumeric number that cannot contain spaces or only zeroes.
Use
Enter the number of days during which the system wants to assign a serial number to the payment runs in sequential order. As soon as the period is over, the system restarts the numbering.
Note: Do not change this value during production runs because it causes issues in the sequence of serial numbers.
Example
If the system wants to continue the serial numbering for 3 months. Today, enter 95 days in this field to ensure that 3 months are covered. When the entered days are over, the serial numbering restarts. The numbering will be as follows:
Day | Number of Runs | Serial Numbers |
---|---|---|
January 2, 2019 | 3 | 000001, 000002, 000003 |
February 2, 2019 | 2 | 000004, 000005 |
March 5, 2019 | 4 | 000006, 000007, 000008, 000009 |
May 3, 2019 | 2 | 000001, 000002 |
Keywords
GB_BACS, Sequence Number, Unique, Create/Assign Selection Variants, 102238 , KBA , FI-AP-AP-B1 , Payment transfer (w/o DE, US) , Problem