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

Help needed in Interactive report

Former Member
0 Likes
610

Hello all, my requirement is like below:

I have ENUM, ENAME fields in table ITAB.

i am displaying all ENUM values in basic list, now i have to display ENUM, ENAME values in secondary list for the particular enum which is clicked(single click) from basic list.

Pls help me, thnx in advance

Rgds

sreenivas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

Hi,

Your code sholud go like this:

After fetching data from the transparent table.

START-OF-SELECTION.

REFRESH ITAB.

CLEAR ITAB.

<your select query fetched into internal table ITAB>

SORT ITAB.

LOOP AT ITAB.

WRITE:/ ITAB-ENUM.

HIDE: ITAB-ENUM, ITAB-ENAME.

ENDLOOP.

AT LINE-SELECTION.

CASE: SY-LSIND.

WHEN 1.

WINDOWS STARTING AT 1 20 ENDING AT 120 120.

WRITE:/ ITAB-ENUM, 30 ITAB-ENAME.

ENDCASE.

Hope it helps to solve your problem.

Regards,

Sangeeta.

5 REPLIES 5
Read only

naimesh_patel
Active Contributor
0 Likes
576

Hello,

After your write statment, use hide statment.

and in At line selection , you will get that hidden value, whenever you clickes on that.

Regards,

Naimesh Patel

Read only

0 Likes
576

thnx for your valuable answer.

Read only

Former Member
0 Likes
577

Hi,

Your code sholud go like this:

After fetching data from the transparent table.

START-OF-SELECTION.

REFRESH ITAB.

CLEAR ITAB.

<your select query fetched into internal table ITAB>

SORT ITAB.

LOOP AT ITAB.

WRITE:/ ITAB-ENUM.

HIDE: ITAB-ENUM, ITAB-ENAME.

ENDLOOP.

AT LINE-SELECTION.

CASE: SY-LSIND.

WHEN 1.

WINDOWS STARTING AT 1 20 ENDING AT 120 120.

WRITE:/ ITAB-ENUM, 30 ITAB-ENAME.

ENDCASE.

Hope it helps to solve your problem.

Regards,

Sangeeta.

Read only

Former Member
0 Likes
576

Hi,

Your code sholud go like this:

After fetching data from the transparent table.

START-OF-SELECTION.

REFRESH ITAB.

CLEAR ITAB.

<your select query fetched into internal table ITAB>

SORT ITAB.

LOOP AT ITAB.

WRITE:/ ITAB-ENUM.

HIDE: ITAB-ENUM, ITAB-ENAME.

ENDLOOP.

AT LINE-SELECTION.

CASE: SY-LSIND.

WHEN 1.

WINDOWS STARTING AT 1 20 ENDING AT 120 120.

WRITE:/ ITAB-ENUM, 30 ITAB-ENAME.

ENDCASE.

Hope it helps to solve your problem.

Regards,

Sangeeta.

Read only

0 Likes
576

Thanks for your valuable answer.