Skip to Content
0
Former Member
May 10, 2012 at 10:21 AM

issue with back button in oo-alv report

529 Views

Hi Abap Experts,

I have developed a report using OO-ALV. I designed a selection-screen, screen 100(where i placed the container), and screen 2000.

Once the alv output appears, i selected a row and clicked on a button, it takes to the screen 2000 where i can update the selected row data.

Now, when i press the "BACK" button , it is coming back to alv output . From screen 100, to go back to the selection-screen here i need to press

the back button more than once.

How to get rid of this issue? I have searched about this but couldn't find the correct answer.

I have tried using,

CASE SY-UCOMM.

WHEN 'BK'.

*******************************************

* SET SCREEN 0.

* CLEAR sy-ucomm.

* LEAVE SCREEN.

***********************************************

* LEAVE LIST-PROCESSING.

***********************************************

* CALL SELECTION-SCREEN '1000'.

***********************************************

* LEAVE SCREEN.

********************************************

LEAVE TO SCREEN 0.

*********************************************

* SUBMIT ZKP131ROW_UPDATE AND RETURN.

*********************************************

ENDCASE.

please help me..

Thank you