on 10-07-2005 1:08 PM
Hi!
nice question popping up again and again:
When entering any text value on a screen (dynpro) field, it is automatically converted to ABAP internal format.
This is done according to the technical characteristics defined in the underlying domain.
If a conversion routine is specified for the domain, it will be processed. I.e. conversion exit 'ALPHA' will used the function module 'CONVERSION_EXIT_ALPHA_INPUT'.
Many (or most) domains are not connected to conversion routines. Date and numeric values are converted according to the user and/or language settings for external representation of dates and numeric values.
But: There seems to be no way to call those conversion routines from ABAP programs.
Why not?
regards,
C.
no standard solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To convert dates or numeric values in user-specific format you can use WRITE stmt.
data: odate(10),
onum(20),
value type p decimals 2 value '123456.78'.
write sy-datum to odate.
write value to onum.
Svetlin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to other users on this forum you can call CONVERSION_EXIT_ALPHA_OUTPUT from the abap yourself with no problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.