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

ALV Float number

Former Member
0 Likes
1,230

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
        ).

5 REPLIES 5
Read only

Clemenss
Active Contributor
0 Likes
837

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
837

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.

Read only

Former Member
0 Likes
837

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?

Read only

Former Member
0 Likes
837

Hi,

The function module FLTP_CHAR_CONVERSION is being used to convert to a character to display.

Sujay

Read only

Former Member
0 Likes
837

Close