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 TREE: ZEBRA and COLWIDTH_OPTIMIZE

Former Member
0 Likes
2,196

Hi Experts,

How can we use ZEBRA format and optimize column width as we have in 'REUSE_ALV_GRID_DISPLAY'?

Please suggest.....

Thanks

Akash

4 REPLIES 4
Read only

Former Member
0 Likes
944

Hi,

You need to pass the below values to the paramter: IS_LAYOUT of the FM.

Data:

LS_LAYOUT type slis_layout_alv.

Pass the values:

LS_LAYOUT-Zebra = 'X'.

LS_LAYOUT-colwidth_optimize = 'X'

REUSE_ALV_GRID_DISPLAY

IMPORTING

IS_LAYOUT = LS_LAYOUT.

Note: You need to pass all other required parameters to the above FM.

Hope this helps

regards

Shiva

Read only

Former Member
0 Likes
944

have you searched in SDN?

they are many posts for this ..

zebra and colwidth_optimize are layout properties. pass it in the alv Fm

Read only

0 Likes
944

Hi All,

As the Heading suggest I need those properties set for "ALV TREE"

Thanks

Akash

Read only

Former Member
0 Likes
944

Hello!

Don't you find solution of ZEBRA property in ALV TREE GRID?