SET COUNTRY f.
Displays the decimal point and date in all subsequent output (WRITE)
according to the settings specified in the table T005X
for the country ID f.
The Return Code is set as follows:
When outputting documents, display the decimal point and date in the format specified for the country of the recipient:
DATA: RECEIVER_COUNTRY LIKE T005X-LAND,
DATE
LIKE SY-DATUM,
AMOUNT
TYPE P DECIMALS 2.
...
SET COUNTRY RECEIVER_COUNTRY.
IF SY-SUBRC = 4.
WRITE: / RECEIVER COUNTRY, ' is unknown'.
ENDIF.
WRITE: / DATE, AMOUNT.
Then, you can say
SET COUNTRY SPACE.
to display the decimal point and date according to the specification for the user again.
Lists