Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exit from Dynpro using OO

Dear Gurus ,

I made a screen that has a ALV list that is made using OO.

When i press '&F03' (back) it doesn't return at the selection criteria at the first hit of '&F03' but at the third hit .

Look my code below ...

........

........

MODULE USER_COMMAND_0100 INPUT.

SAVE_OK = OK_CODE.

CLEAR OK_CODE.

CASE SAVE_OK.

WHEN '&F03'.

SET SCREEN 0.

LEAVE SCREEN.

ENDCASE.

CLEAR SAVE_OK.

CLEAR OK_CODE.

.......

.......

Tags:
replied

Hi

Sorry it doesn't work:

So u should use CALL SCREEN of for the first call and for the next calls to use LEAVE TO SCREEN, so u can use the statament SET SCREEN 0. LEAVE SCREEN to back to selection screen.

Max

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question