Skip to Content
Former Member
Nov 15, 2005 at 12:00 PM

Multiple calls to REUSE_ALV_HIERSEQ_LIST_DISPLAY and return directly to SC



First of all, I don't know if it is the correct forum for this question... Here it is:

I have a report that calls function module REUSE_ALV_HIERSEQ_LIST_DISPLAY, and from the result list user command it is possible to call againg the same function module to show another related list (with diferent structures and internal tables). In this situation the problem is when the usser press the Back button it returns to the previous list, but it is required to return to the selection-screen.

I have tried: SET SCREEN 0 + LEAVE SCREEN, but it returns to the previous screen.

And also: SET SCREEN 1000 (defined selection-screen) + LEAVE SCREEN (or LEAVE TO SCREEN 1000 or SET SCREEN 9000 + LEAVE SCREEN where 9000 is a Dynpro created for my program), then i get dump DYNPRO_NOT_FOUND in program SAPLKKBL, which is not my program! (my program is Zxxxxxxxx).

Any solution or ideas ? Than you