Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conversion exit

Former Member
0 Likes
772

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
598

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,

3 REPLIES 3
Read only

Former Member
0 Likes
598

Your question is not very clear...

but i guess you are looking for

QSS0_FLTP_TO_CHAR_CONVERSION

Read only

Former Member
0 Likes
598

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

Read only

Former Member
0 Likes
599

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,