‎2010 Sep 07 9:31 AM
hi all
i have programming a ALV Grid with the structur QGMK as output. The structur contains float data type.
FAKPLANME QUMREN FLTP 16 16
see picture
[http://bildupload.sro.at/p/360312.html]
it wil be show out in alv grid.
the code
create object gcl_custom_container
exporting
container_name = co_container.
create object gcl_alv_grid
exporting
i_parent = gcl_custom_container.
gcl_alv_grid->set_table_for_first_display(
exporting
i_structure_name = 'QGMK'
changing
it_outtab = gt_sp_out
).
‎2010 Sep 07 11:54 AM
Hi anonymous,
a floating point number is output according to standard. Your pictures shows: Works as designed.
Your contribution is marked as a question.
Can you please explain what the question is?
Thanks.
Kind regards
Clemens
‎2010 Sep 07 12:07 PM
If you requirement is to convert the exponent to a number
Then use fm QSS0_FLTP_TO_CHAR_CONVERSION or KKEK_CONVERT_FLOAT_TO_CURR
and do it before display .
define your own structure and build the field catalouge and then display.
‎2010 Sep 07 12:46 PM
go to the transaction qgp1, my programm use the same structure namely qgmk. The result from transaction qgp1 doesn't show in floating number why?
‎2010 Sep 07 1:21 PM
Hi,
The function module FLTP_CHAR_CONVERSION is being used to convert to a character to display.
Sujay
‎2010 Oct 04 7:33 AM