Application Development 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: 

Improper decimal value in search help output

0 Kudos

Hi Experts,

I am creating an elementary search help which contains a decimal field (length 13 decimal places 2) for amount value. The output of search is populated using a custom search help exit. While assigning the amount value directly to the search help output (SEAHLPRES- STRING), output contains improper amount values. Do I need to do any conversions before assigning the decimal value to the output string?


Please provide a solution for this issue.

2 REPLIES 2

former_member197916
Active Participant
0 Kudos

hi,

check the output length of field for which you have given search help.

hope it helps

Sandra_Rossi
Active Contributor
0 Kudos

It's the hexadecimal value of the DEC field, which must be transferred to RECORD_TAB, that I call "with NO conversion" (I think what you call "without conversion" is Something equivalent to RECORD = DECIMAL_FIELD which does an implicit conversion because the types are different);

You may use F4UT_RESULTS_MAP function module to initialize RECORD_TAB.