on 06-08-2009 6:24 AM
Hi ,
I need to display an amount in SAP Script , it is currently displayed as 11,33 , but i want to display it as 11.33 .
I used the command SET COUNTRY also , but it does not seem to help.
Kindly suggest what can the method to acheive it .
Regards
Arun
Hi,
For the decimal point or comma, this can be fixed via set country configuration transaction code 'OY01'. SAPSCRIPT will print the output based on country code rather user profile.
Please check the following SAP Notes to change the predefined decimal format during the output.:
6030 - Wrong decimal character
32105 - SAPscript print: Incorrect decimal/date format
Or perhaps you can use the ABAP SET COUNTRY to set to the desired format at the start of the document window (MAIN) as described in Note #32105.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
follow the solution of Bhupal and close the thread.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can set this in user profile.
Go SYSTEM>userprofile--->owndata
In defaults tab, under Decimal Notation you can set according to your output.
Regards,
Bhupal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
In perform try this code.
CONSTANTS : c_comma TYPE c VALUE ',', "for comma
c_dot TYPE c VALUE '.', "for dot
DO.
FIND c_comma IN in_tab-value. "your value
IF sy-subrc IS INITIAL.
REPLACE c_comma WITH c_dot INTO in_tab-value.
ELSE.
EXIT.
ENDIF.
ENDDO.
and this value send throw OUT_TAB value.
Regards,
Manju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
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.