on 10-19-2008 12:59 PM
Hi,
I have to print date format and currency format in the script according the Bill to Party Country .
Example : If the Country of the Bill to party is U.K , then the Decimal notation should change to U.K.format .
and the Same date format also and address also.
Is there any function module to do this or is there any another way to acheive this.
Thanks,
Satya.
Hi,
I don't know why, but this looks a repeated question.....
Country-Dependent Formatting: SET COUNTRY
The formatting for certain field types depends on the country settings. These field types include, for example, date fields and number fields that include either a decimal point or the u2019thousandsu2019 separator character. The formatting options defined in the user master record are usually the ones used here. To choose a formatting option other than the one specified in the user master record, use the SET COUNTRY control command. The country-dependent formatting options are stored in the T005X table.
Syntax:
/: SET COUNTRY country_key
You can enter the country key either as a literal value enclosed in quotes or as a symbol.
/: SET COUNTRY u2019CANu2019
/: SET COUNTRY &country_key&
Use a blank country name to revert to the setting found in the user master record:
/: SET COUNTRY u2019 u2019
This SAPscript command actually calls the corresponding ABAP command internally. This guarantees the effect of the SAPscript command to be identical with that of the ABAP command.
If the formatting turns out not to be as required, then you should check the settings in table T005X.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.