Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

Field conversion issue

$
0
0

My default user Notation is X.

 

I have a ALV grid where I show all fields of character type, when the user enters distance (KOMP-DISTZ)

   

I will convert the input value using RS_CONV_EX_2_IN and display it in terms of distance representation.

 

Ex: If user enters 10

I will pass that 10 to RS_CONV_EX_2_IN, result value will be 10.000 which I will show 10.000 in the grid and

the same value will be stored in the database.

 

 

There is no problem until I don't change my user settings, but when I change my decimal notation in defaults TAB of

user settings to space or Y.

 

When changed to space::

 

If I pass same value 10.000 to RS_CONV_EX_2_IN it is returning as 10000.000

 

When changed to Y::

 

If I pass same value 10.000 to RS_CONV_EX_2_IN it is returning exception INPUT_NOT_NUMERICAL

 

 

Note:::: When maintaining the values in the grid my default setting for decimal notation is X.

If I pass same value 10.000 to RS_CONV_EX_2_IN it is returning 10.000

 

How do I avoid this ?

 

 

 

 

 

 

 



Viewing all articles
Browse latest Browse all 8620

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>