Application Development 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: 

leave to list-processing

Former Member
0 Kudos
181

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

Subhankar
Active Contributor
0 Kudos
109

Hi ...

It will not work in the EVENTS..

at selection-screen.

at selection-screen on value-request for

Former Member
0 Kudos
109

i used it like below,

Case ok_code.

when 'LOG'.

leave to list-processing .

endcase.

Former Member
0 Kudos
109

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

0 Kudos
109

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

Former Member
0 Kudos
109

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.

Former Member
0 Kudos
109

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

Former Member
0 Kudos
109

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

Former Member
0 Kudos
109

This message was moderated.