12-07-2010 10:37 AM
HI all
assume i have number 300.000.000,00 type p length 2 like
and i want to know what is the symbol of the dec places
in these case its ','
or in diffrent case 300,000,000.00 here the symbol of the dec
is '.'
Regards
Alex
Moderator message: basic ABAP programming, please search for available information/documentation before asking.
Edited by: Thomas Zloch on Dec 7, 2010 3:41 PM
12-07-2010 10:59 AM
Hello,
In the number (for eg. 300.000.000,00 or 300,000,000.00) the symbols '.' or ',' (dot or comma) represents the different decimal notations.
The SAP user can change this format using the transaction code SU01 (User Maintenance). For more information navigate to Default TAB in the Transaction SU01D(User Display transaction) displays the user Profile.
Hope this helps you!
Regards,
M M Jaffer.
12-07-2010 11:14 AM
You can get it directly from table USR01 for the particular user, field decimal notation
12-07-2010 11:23 AM
Try the logic below
DATA:VAR(20) ,
pack type p value 300000000,
TEST(1).
write: pack to var.
Condense var.
TEST = VAR+3(1).
IF test eq '.'.
write 'This is a dot'.
ENDIF.