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 - high priority

Former Member
0 Likes
771

Hi all,

While doing sub total for a particular field eg: material am getting the sub totals of the fields which are numeric.

now if i want to display, the description of the field, while sub totalling, how to do...

what field in the field catalog has to be used.

will be rewarded.

tahnaks in adv

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
750

Hi,


DATA : l_layout TYPE slis_layout_alv .
 
l_layout-colwidth_optimize = 'X'.
l_layout-subtotals_text = 'Test subtotal text'.
 
 
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
IS_LAYOUT = l_layout
it_fieldcat = it_f_catalog[]
it_sort = t_sort[]

aRs

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
751

Hi,


DATA : l_layout TYPE slis_layout_alv .
 
l_layout-colwidth_optimize = 'X'.
l_layout-subtotals_text = 'Test subtotal text'.
 
 
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
IS_LAYOUT = l_layout
it_fieldcat = it_f_catalog[]
it_sort = t_sort[]

aRs

Read only

0 Likes
750

is it a structure???

or any table available l_layout??

Read only

0 Likes
750

Hi,

DATA : l_layout TYPE slis_layout_alv .

aRs

Read only

0 Likes
750

hi,

chk the program BCALV_TEST_LIST

Read only

Former Member
0 Likes
750

hi

good

go through this link ,hope this ll help you to solve your problem

http://www.erpgenie.com/sapgenie/docs/Using%20ALV.pdf

thanks

mrutyun^