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 Layouts

Former Member
0 Likes
517

Hi ,

Where can we get all the Layouts for a Particular ALV report?

I need the table?I know the Function Module.

Thanks,

Sirisha Matta.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
486

Hi,

All ALV layouts variants are stored in table LTDX and can be fetched based on ABAP Program Name, user name(for user specific layouts).

Layout texts are available in LTDXT.

reward points if this helps.. but just want to know what's the specific requirement for going to this table?

thnx,

ags.

Edited by: Agasti Kale on May 28, 2008 11:24 PM

Hi ,

Where can we get all the Layouts for a Particular ALV report?

I need the table?I know the Function Module.

Thanks,

Sirisha Matta.

2 REPLIES 2
Read only

Former Member
0 Likes
486

If you mean variant for that report, you can use:

CALL FUNCTION 'REUSE_ALV_VARIANT_F4'

EXPORTING

is_variant = lv_variant

i_save = lv_save

IMPORTING

e_exit = lv_exit

es_variant = lv_x_variant

EXCEPTIONS

not_found = 2.

IF sy-subrc = 2.

MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ELSE.

IF lv_exit = space.

lv_vari = lv_x_variant-variant.

ENDIF.

ENDIF.

Sorry didnt read the you know function module part. Ignore the post.

Edited by: Aparna Shekhar on May 28, 2008 3:59 PM

Read only

Former Member
0 Likes
487

Hi,

All ALV layouts variants are stored in table LTDX and can be fetched based on ABAP Program Name, user name(for user specific layouts).

Layout texts are available in LTDXT.

reward points if this helps.. but just want to know what's the specific requirement for going to this table?

thnx,

ags.

Edited by: Agasti Kale on May 28, 2008 11:24 PM