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

hierarchical-sequential list - functions

Former Member
0 Likes
453

Hi!

I created a full-screen alv based on class CL_SALV_HIERSEQ_TABLE, caught its functions via GET_FUNCTIONS and activated all of them via SET_ALL( ). Afterwards I was able to displaying and hiding position rows.

Next, I needed to add some user-defined functions, which is - according to SAP help - only possible via GUI STATUS, so I called SET_SCREEN_STATUS, but after this no displaying/hinding of position rows was possible any more.

Has anybody got an explanation / solution for that?

Regards,

Thomas

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
389

When you wish to use the Custom GUI status, you need to create all the standard buttons in your GUI to get them in your ALV. The easy way is to copy this GUI status from some standard program.

Check program: SALV_DEMO_HIERSEQ_FUNCTIONS

You can copy the GUI Status SALV_STANDARD in your program from this DEMO program.

Use Transaction SE41 to copy the GUI status and add your buttons.

Regards,

Naimesh Patel

1 REPLY 1
Read only

naimesh_patel
Active Contributor
0 Likes
391

When you wish to use the Custom GUI status, you need to create all the standard buttons in your GUI to get them in your ALV. The easy way is to copy this GUI status from some standard program.

Check program: SALV_DEMO_HIERSEQ_FUNCTIONS

You can copy the GUI Status SALV_STANDARD in your program from this DEMO program.

Use Transaction SE41 to copy the GUI status and add your buttons.

Regards,

Naimesh Patel