‎2007 Feb 01 6:49 AM
Hello experts,
im doing a dialog programming in ABAP where i used the LEAVE TO SCREEN-PROCESSING statement. I also use the SET PF-STATUS code, but when i'm already in the list my buttons are not responding. How can i go back from list-processing to any of the screens in my program such as screen 100?
Thank you for your usual support.
‎2007 Feb 01 6:53 AM
i think the correct things are leave to list-processing < from screen to list>.
leave list-processing < list to screen>.
regards
shiba dutta
‎2007 Feb 01 6:53 AM
i think the correct things are leave to list-processing < from screen to list>.
leave list-processing < list to screen>.
regards
shiba dutta
‎2007 Feb 01 6:53 AM
hi,
have you written code for the buttons
use case for each sy-okcode write the operation
like exit leave screen
regards
shiva
‎2007 Feb 01 6:55 AM
I hope you have maintianed the below code of your screen PAI event:
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN '0100'.
.
.
.
ENDCASE.
provided you have maintianed 'BACK' as the function code for return key in your PF-STATUS.
Please confirm
‎2007 Feb 01 6:57 AM
Hi Shiva,
Yes I have written codes for my buttons, but the buttons are not responding when I click them. I even tried to go to Debug mode but it wont process the debug either.
Can you show me a sample code?
Thanks.
‎2007 Feb 01 7:11 AM
Hi,
Set the Related PF Status at the PBO event of the screen.
Use Leave to list-processing and return to screen <no>.
MODULE status_0200 OUTPUT.
SET PF-STATUS 'SCREEN_200'.
SUPPRESS DIALOG.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
Hope this will help u.
Regards,
U. Uma
‎2007 Feb 01 7:47 AM
Hi all,
solved my own,
here is were the error occurs.
set pf-status 'GUIST_100'.
It should have been
set pf-status space.
so that the default buttons of list are not overridden by the 'GUIST_100'.
thanks.
‎2007 Feb 01 7:51 AM
Jesus,
Instead of writing set pf-status space.
do not write the set pf-status space line... this too will show the default buttons on the screen....