2009 Feb 05 7:22 AM
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?
2009 Feb 05 7:25 AM
Hi ...
It will not work in the EVENTS..
at selection-screen.
at selection-screen on value-request for
2009 Feb 05 7:29 AM
i used it like below,
Case ok_code.
when 'LOG'.
leave to list-processing .
endcase.
2009 Feb 05 7:40 AM
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
2009 Feb 05 7:52 AM
I'm sure there is a list, i checked it in debug mode. is it possible sth is clearing the write statements?
2009 Feb 05 9:55 AM
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.
2009 Feb 05 10:01 AM
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
2009 Feb 05 10:06 AM
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
2009 Feb 05 10:26 AM