Application Development 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: 

How can i call FM: "REUSE_ALV_HIERSEQ_LIST_DISPLAY" in a Subscreen?

Former Member
0 Kudos

Hit at all,

i tried to call the FM: "REUSE_ALV_HIERSEQ_LIST_DISPLAY" in my Subscreen, but it dont work!!!


Problem: "This FM will always open a new window!"

What can i do??

The Alternative is "cl_gui_alv_grid", but it will not look the same!

Have anyone an idea, how i can display the result from "REUSE_ALV_HIERSEQ_LIST_DISPLAY" in a Subscreen ?

Regards

Ersin

3 REPLIES 3

SimoneMilesi
Active Contributor
0 Kudos

You can switch to class CL_SALV_HIERSEQ_TABLE, like for this WIKI

ALV Hierarchical Table - Using Class CL_SALV_HIERSEQ_TABLE - Code Gallery - SCN Wiki

BTW, you called REUSE_ALV_HIERSEQ_LIST_DISPLAY   in PBO of your subscreen?

0 Kudos

Hit Simone,

i call the FM "REUSE_ALV_HIERSEQ_LIST_DISPLAY" in the PBO of my Subscreen!

I think the Class "CL_SALV_HIERSEQ_TABLE" will do the same.

For example,"cl_gui_alv_grid" has a binding to a container, witch is a element of a subscreen!

0 Kudos

You are correct, sorry!

i got in mind another class i could not retrieve CL_GUI_ALV_TREE_AUTO_HIERARCHY or CL_GUI_ALV_TREE

Here you can set the docking element (i.e. your subscreen)

Example about ALV Tree - Code Gallery - SCN Wiki