‎2008 Apr 23 8:03 PM
Hi all,
i want to know conversion exit from table ausp for field ATTLV(Tolerancefrom) to ATTLB(Tolerance to),
and in release strategy show text that descript tolerance.
For example:
ATLV (from) ATTLB(to)ATCOD(code)
5,000000000000000E03 0,000000000000000E00 7
will be shown <= 5000 USD
Is there any sap standard function ?
thanks
‎2008 Apr 26 7:06 PM
A conversion exit can be found in the domain (SE11, go to data element, then
domain). In your case, I do not think any conversion takes place. The
value is stored as a float but displayed with decimals specified in the
config - in your case none.
Regards,
‎2008 Apr 23 8:48 PM
Your question is not very clear...
but i guess you are looking for
QSS0_FLTP_TO_CHAR_CONVERSION
‎2008 Apr 24 6:08 AM
Hi,
Chek this link :
Or
FM to convert FLTP to decimal:
QSS0_FLTP_TO_CHAR_CONVERSION
Input :
I_NUMBER_OF_DIGITS 2
I_FLTP_VALUE 3.5000000000000000E+02
I_VALUE_NOT_INITIAL_FLAG X
I_SCREEN_FIELDLENGTH 16
Output :
E_CHAR_FIELD 3.50000
To Convert string '1.245.201' to decimal number
REPORT z_test.
DATA G_BASE TYPE HRPAD_CHAR11 .
g_base = '1.437.046'.
if g_base eq '0'.
write 'initial'.
else.
write 'not initial'.
endif.
Also check out: HRCM_STRING_TO_AMOUNT_CONVERT
Regards
Kiran Sure
‎2008 Apr 26 7:06 PM
A conversion exit can be found in the domain (SE11, go to data element, then
domain). In your case, I do not think any conversion takes place. The
value is stored as a float but displayed with decimals specified in the
config - in your case none.
Regards,