Number ranges

USE: 

The number ranges allow generating new values for variables. Those values are used to substitute original document numbers or other values in reference messages.

The number range used to replace the source system document number should always be configured to not overwrite the original number. It means that documents generated by Int4 IFTT should have their own subset of the original document number. Usually, it might be a subset of the upper limit of the original number range.

It is essential that automated testing with Int4 IFTT consume numbers that the source system will generate during manual testing. Additionally, if testing environment data is refreshed from the production system, more documents would be created in the testing environment. If the Int4 IFTT number were configured in the same range, it would start creating duplicates.

For example, the original number range for document numbers from the source system is 560000 - 590000. It would be wise to set the Int4 IFTT number range from 590000 to 600000. However, suppose the SAP backend system uses an external number range. It is essential to stay in the original range. In that case, the Int4 IFTT number range may be set as 585000-590000, which gives space for 5000 testing documents. Using range from upper interval reduces the risk that the number will be overwritten.

Additionally, the good practice is to use prefixes or suffixes that will quickly separate source system documents and the ones created by Int4 IFTT. It should always be used when there is no document number validation by the SAP backend.

Each Object Definition can contain an unlimited number of number ranges. This way, each variable declared in an object can use its specific number range.


Variable processing uses number ranges. Check the section below to see how they are applied.

PROCEDURE: 

Number ranges are created per configuration object. Select the particular object by marking the row and double click on Number Ranges nodes in the navigation tree.

Fill below fields to create a new number range:

Parameter nameDescriptionExample
Number rangeProvide a name for the number range. This name would be passed as a parameter in variable processing for actions that will generate values from it.

PO_NUMBER_RANGE

Prefix for numberThe alphanumeric characters to be appended at the beginning of the document number to separate original documents from source systems and the one created during Int4 IFTT testing (optional)

IFTT

Number range lowThe first number of our range

1

Number range highThe last number of our range

99999

Current valueThe start value to begin creating new documents  When creating a number range, this value should be the same as NumberRange Low. Later on, when the number range is used during testing, it would increment per each use.

1

Suffix for numberThe alphanumeric characters to be appended at the end of the document number to separate original documents from source systems and the one created during Int4 IFTT testing (optional)

_T

Format - add zerosIf this box is checked, zeros will be automatically appended to the beginning of the document number, such as 000500.

Increment once per Test RunIf this indicator is selected, the number range is incrementing once per test run. If multiple test cases with the same Automation Object exist in the test run, they will receive the same value.

EXAMPLE:













© 2017 - 2022 Int4 AG All rights reserved