2007 Aug 23 8:05 AM
Hi 2 all!
I have a problem with LEAVE TO LIST-PROCESSING. I have developed a module pool (type M) and screen with the screen painter of type Normal. Now I want to go to the report from my screen with LEAVE TO LIST-PROCESSING, but it doesn't work. I am trying to do this when the button is pressed ( at my application status). The operation is performed but then the Init_screen_xxxx module is called again. Highly appreciate your help.
2007 Aug 23 9:22 AM
I would normally code just
suppress dialog.within the PBO and then in PAI have something like:
leave to list-processing.
set pf-status 'LIST0001'.
loop at gt_data.
write / gt_data-value1.
endloop.etc.. Is this how your code is structured?
Hi 2 all!
I have a problem with LEAVE TO LIST-PROCESSING. I have developed a module pool (type M) and screen with the screen painter of type Normal. Now I want to go to the report from my screen with LEAVE TO LIST-PROCESSING, but it doesn't work. I am trying to do this when the button is pressed ( at my application status). The operation is performed but then the Init_screen_xxxx module is called again. Highly appreciate your help.
2007 Aug 23 9:22 AM
I would normally code just
suppress dialog.within the PBO and then in PAI have something like:
leave to list-processing.
set pf-status 'LIST0001'.
loop at gt_data.
write / gt_data-value1.
endloop.etc.. Is this how your code is structured?
2007 Aug 29 7:03 AM
Hi Nata
Yes U can do it.
We go from module pool program to report program and vice-versa.
1. From report to screen (transaction)
Call transaction
Leave to list-processing and return to screen
2. From screen to list (report)
we can write a report program for fuction key available in the screen.
for example.
case sy-ucomm.
when 'fctcode'.
select .......... from tabl into ..
write:/.........,
.............
endcase.
reward if useful.
2007 Aug 30 7:03 AM
HI
try using LEASE TO LIST PROCESSING AND RETURN
you have to write this code in ur PAI
Thanks
vivekanand
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |