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
1,134

can anybody tell me in which case leave to list-processing statement might not work? i used it to display log. before, when i pushed the log button it was working well but now not. i don't understand why?

8 REPLIES 8
Read only

Subhankar
Active Contributor
0 Likes
1,062

Hi ...

It will not work in the EVENTS..

at selection-screen.

at selection-screen on value-request for

Read only

Former Member
0 Likes
1,062

i used it like below,

Case ok_code.

when 'LOG'.

leave to list-processing .

endcase.

Read only

Former Member
0 Likes
1,062

hi...

it may be due to reason that you dont have any log or list that time.

so make sure if you have any list or not.

regards

Read only

0 Likes
1,062

I'm sure there is a list, i checked it in debug mode. is it possible sth is clearing the write statements?

Read only

Former Member
0 Likes
1,062

Hi,

If selection screen events used after the 'leave to list-processing' keword

the list buffer is reinitialized.try to use it in start-of-selection or

End-ofselection event.

Check which event you written the codes.

Thanks.

Read only

Former Member
0 Likes
1,062

Hi,

In module pool programming, statements like WRITE, SKIP etc. are not allowed, so in case you want to display some list, you can use LEAVE TO LIST-PROCESSING and WRITE the data. So it is used when you want to switch from "module pool" to "list processing".

You can use LEAVE LIST-PROCESSING which brings your control back to PBO of the screen.

Thanks

Arun Kayal

Edited by: Arun Kayal on Feb 5, 2009 11:02 AM

Read only

Former Member
0 Likes
1,062

Hi deniz,

See when a situation arises that u call a subcreen or any ther screen using CALL SUBSCREEN. SUBMIT SCREEN within EVENTS & u also have used LEAVE TO LIST-PROSESSING in that case the control does not goes to your list.

Use SUPRESS Dialog along with it.

The control goes directly to the List.

Hope This solves your query to a certain extent...

Regards

Ravi Aswani

Read only

Former Member
0 Likes
1,062

This message was moderated.