Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 that is used to replace the source system document number should always be always configured in the way to not overwrite the original number. It means that documents generated by int4 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 important as otherwise essential that automated testing with int4 Int4 IFTT could consume numbers that the source system will generate during manual testing. Additionally, if testing environment data is refreshed from the production system, there more documents would be much more documents than it was created in the testing environment and if . If the int4 Int4 IFTT number will be were configured in the same range, it would start creating duplicates.

For example, the original number range for document number numbers from the source system is 560000 - 590000. It would be wise to set int4 the Int4 IFTT number range from 590000 to 600000from 590000 to 600000. However if , suppose the SAP beckend backend system use uses an external number range and it . It is important essential to stay in the original range, then int4 . In that case, the Int4 IFTT number range may be set as 585000-590000 that , 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 used use prefixes or suffixes that will easily quickly separate source system documents and the one ones created by int4 Int4 IFTT. It should always be always 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 own, specific number range. Number ranges are used by variable processing, check there


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

kotwica

...

...

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.

...

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 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 with. documents  When creating a number range, this value should be the same as Number Range NumberRange Low. Later on, when the number range will be 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 Int4 IFTT testing (optional)

_T

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

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

...