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: 

No display field - DO_SUM in ALV

Former Member
0 Kudos

HI,

I have one colum:

CLEAR lwa_fcat.

lwa_fcat-fieldname = 'NUMERO2'.

  • lwa_fcat-ref_tabname = 'it_idoc'.

lwa_fcat-key = 'X'.

lwa_fcat-NO_OUT = 'O'.

lwa_fcat-DO_SUM = 'X'.

APPEND lwa_fcat TO p_it_fcat.

and displays like :

field1 Numero2

x 1

V 1

M 1

5

The 5 is the total because iI write DO_SUM.

How can I do if I want to hide Numero2 ( column ) but the result 5 is displaying?

I have explain it?

Thanks

5 REPLIES 5

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

To hide particular field use,

lwa_fcat-NO_OUT = 'X'.

Former Member
0 Kudos

lwa_fcat-NO_OUT = 'X'.

try with this value

Former Member
0 Kudos

lwa_fcat-NO_OUT = 'X'.

you have specified 0 instead of X.

regarsds

shiba dutta

Message was edited by:

SHIBA DUTTA

Former Member
0 Kudos

But with that, the final result doesn't appear. I mean, I want to hide de second column, but the total value ( 5 ) I want display it.

thanks

0 Kudos

Hi,

lwa_fcat-tech = 'X'

lwa_fact-do_sum = 'X'.

You can interactively hide the column.