‎2009 Sep 17 4:24 AM
Hi,
I have a requirement to display an output in classic list report. This report will have a button at the top that will direct you to another classic list report when clicked. I created a screen with button. I called this screen in the END OF SELECTION part of my program. In the PBO of my screen, I put in the codes with WRITE statements. I used LEAVE TO LIST-PROCESSING and SUPPRESS DIALOG before the write statements so I can write in the screen. The problem is, when I click on my button, it does not go to the PAI. During debug, after all the WRITE statements, it gets out of the call screen already. The PAI is not processed.
Can anyone show me how to do this correctly?
Thanks,
Lalyn
‎2009 Sep 17 9:42 AM
Hi,
As you suppress the dialog it is only displayed once (its PBO is executed only once) then it end its life. With LEAVE TO LIST-PROCESSING you are now in classical list, so any action which takes place here should be handled with AT USER-COMMAND event block. PAI doesn't get trigger as the screen is suppressed already.
This should help
Regards
Marcin
‎2009 Sep 17 3:54 PM