Skip to Content
author's profile photo Former Member
Former Member

Dialog Programming with list-processing

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 17, 2009 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 02:54 PM

    At user command event block can help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.