Application Development and Automation 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: 
Read only

Leave to list-processing

Former Member
0 Likes
834

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
775

i think the correct things are leave to list-processing < from screen to list>.

leave list-processing < list to screen>.

regards

shiba dutta

7 REPLIES 7
Read only

Former Member
0 Likes
776

i think the correct things are leave to list-processing < from screen to list>.

leave list-processing < list to screen>.

regards

shiba dutta

Read only

Former Member
0 Likes
775

hi,

have you written code for the buttons

use case for each sy-okcode write the operation

like exit leave screen

regards

shiva

Read only

Former Member
0 Likes
775

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

Read only

Former Member
0 Likes
775

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.

Read only

Former Member
0 Likes
775

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

Read only

Former Member
0 Likes
775

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.

Read only

0 Likes
775

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....