The following example shows the settings that can be made for text variables using processing type Replacement Path with replacement from a characteristic in terms of the properties Replacement With (key or external attribute of the key) together with Offset Start and Offset Length.
The following table shows the internal and external display of the key for the characteristic values fiscal year variant K4 and fiscal year/period 2002/008 without offset settings:
Replacement With |
Fiscal Year 0FISCYEAR |
Fiscal Year / Period 0FISCPER |
---|---|---|
Internal display (key) |
K42002 |
K42002008 |
External display (external characteristic value of the key) |
K4/2002 |
K4/008.2002 |
Fiscal Year 0FISCYEAR
If you want to replace K42002 with 2002 in the query, you have to set the offset start to 2 and the offset length to 4 for the characteristic fiscal year 0FISCYEAR.
Fiscal Year/Period 0FISCPER
If you only want to display the year in the text output, set the offset start to 2 and the offset length to 4. In the query, K42002008 is replaced by 2002.
If you want to display the year and period in the text output, set the offset start to 2 and the offset length to 7. In the query, K42002008 is replaced by 2002008.
The following table illustrates how you can influence the internal display of the key for the characteristic values fiscal year variant K4 and fiscal year/period 2002/008 using offset settings:
Characteristic |
Offset Start |
Offset Length 4 |
---|---|---|
0FISCYEAR |
Offset Start 2 |
Offset Length 4 |
0FISCPER |
Offset Start 2 |
|
Fiscal Year 0FISCYEAR
If you want to replace K4/2002 with 2002 in the query, you have to set the offset start to 3 and the offset length to 4.
Fiscal Year / Period 0FISCPER
If you want to display only the year in the text output, set the offset start to 7 and the offset length to 4. In the query, K4/008.2002 is replaced by 2002.
If you only want to display the period in the text output, set the offset start to 3 and the offset length to 3. In the query, K4/008.2002 is replaced by 008.
If you want to display the year and period in the text output, set the offset start to 3 and the offset length to 8. In the query, K4/008.2002 is replaced by 008.2002.
The following table illustrates how you can influence the external display of the key for the characteristic values fiscal year variant K4 and fiscal year/period 2002/008 using offset settings:
Characteristic |
Offset Start |
Offset Length 4 |
---|---|---|
0FISCYEAR |
Offset Start 3 |
Offset Length 4 |
0FISCPER |
|
|