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

Former Member
0 Likes
680

Please use meaningful subject in future

HI Experts,

Currently i am working with report which calls reuse_alv_grid_display.

But i notice that only reuse_alv_list_display is giving the option expand and collapse ( symbol ) option in the menu bar for the user.

Is it possible the same way for also reuse_alv_grid_display.

Thank you very much in advanced.

regards,

s.saravannan

Edited by: Matt on Apr 13, 2009 7:23 AM

Please use meaningful subject in future

HI Experts,

Currently i am working with report which calls reuse_alv_grid_display.

But i notice that only reuse_alv_list_display is giving the option expand and collapse ( symbol ) option in the menu bar for the user.

Is it possible the same way for also reuse_alv_grid_display.

Thank you very much in advanced.

regards,

s.saravannan

Edited by: Matt on Apr 13, 2009 7:23 AM

5 REPLIES 5
Read only

Former Member
0 Likes
645

Hi,

For this u need to apply the button on screen and handle the event click for expan and collapse on screen.

Thanks & Regards,

Ruchi Tiwari

Read only

0 Likes
645

HI friend,

Even ealier i got the same idea.

But do u have any idea how to make use the logic.

Do u have any sample output.

Thank you very much.

Read only

0 Likes
645

Hi ,

At user command of the screen use like this...

On the main screen in flow logic use...

PROCESS BEFORE OUTPUT.

MODULE status_0901.

CALL SUBSCREEN sub0 INCLUDING sy-repid w_dynnr1.

CALL SUBSCREEN sub1 INCLUDING sy-repid w_dynnr2.

CALL SUBSCREEN sub5 INCLUDING sy-repid w_dynnr3. "0150

CALL SUBSCREEN sub7 INCLUDING sy-repid w_dynnr4. "0180

PROCESS AFTER INPUT.

  • CALL SUBSCREEN sub1.

MODULE user_command_0901.

where sub0 ,sub1 etc are subscreen area.

DATA: w_dynnr1 LIKE sy-dynnr VALUE '110',

w_dynnr2 LIKE sy-dynnr VALUE '120',

w_dynnr3 LIKE sy-dynnr VALUE '150',

w_dynnr4 LIKE sy-dynnr VALUE '180'.

  • Expand Sales Order Information

w_dynnr1 = '110'. "no of the screen where grid is placed.

WHEN 'HDC'.

  • Collapse Sales Order Info

w_dynnr1 = '101'.

WHEN 'MCE'.

  • Expand Model Characteristic

w_dynnr2 = '120'.

WHEN 'MCC'.

  • Collapse Model Characteristic

w_dynnr2 = '102'.

  • Expand BOM Explosion 1 and 2

WHEN 'BOE'.

w_dynnr3 = '150'.

  • Collapse BOM Explosion One and 2

WHEN 'BOC'.

w_dynnr3 = '103'.

  • Expnd BOM 2nd

WHEN 'BSE'.

w_dynnr4 = '180'.

  • COLLAPSE BOM 2nd

WHEN 'BSC'.

w_dynnr4 = '105'.

Thanks & Regards,

Ruchi Tiwari

Read only

matt
Active Contributor
0 Likes
645

Please use meaningful subject in future

Read only

Former Member
0 Likes
645

Thanks experts