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

Problem with PF-Status in the list ouput during screen processing

Hi,

I have a executable report program. After selection screen execution program will go screen 100 with pf status 100_STATUS. From the screen 100 when user click on SAVE , will do some posting and will write the output to list output . If I still have some records to do processing I need to go back to screen 100 otherwise I need to go back to selection screen from the list output.

So in the PAI of screen 100 , I had written the output as below .

        if itab_rec_b[] is not initial .
 *            " if there are balance records in scanning screen
 *            " then proceed to scanning screen again.
           leave to list-processing and return to screen 100.
          set pf-status 'LIST_OUTPUT' .
      else.
            leave to list-processing and return to screen 0.
            set pf-status 'LIST_OUTPUT' .
          endif.
      endif.

* Do the posting process and write the output to List output. 
perform do_posting_process .

Now the problem is I can see my pf status on the list output but no action / user command is triggering when user selected BACK or other buttons.

But If I set the PF status as SPACE instead of my new status LIST_OUTPUT then I am able to go back to screen 100 or screen 0 successfully. I need a button in the list output and some user command for that button. That is why I need a PF status for list output.

So could you please help to this one?

Thank you,

Praveen.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 04:16 AM

    Hi ,

    Found the solution. Added AT USER-COMMAND event to trigger the user command from the list output. And it solved the issue.

    Thank you.

    Praveen.

    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.