Skip to Content
avatar image
Former Member

When I press Page UP it goes to Page Down. Why?

Hello friends,

I have a strange problem.

I am developing one user-dialog program which has several buttons on main screen like..u2019Crate draftu2019 u2018Analyzeu2019 u2018Reportsu2019

When I pressu201CReportsu201D button, it displays standard SAP report.

But When I press u201CPAGE UPu201D button it does actually reverse.

When First Page : It goes to Last Page.

When Next Page : It goes to Previous Page.

When Last Page : It goes to First Page.

When Previous Page : It goes to Next Page.

How can we handle this.

For u201CReportsu201D I am using below codeu2026.

  IF sy-ucomm = 'RPT'.
*   Reports
    SET TITLEBAR 'TL_RPT'  u201D Set Title for report
    LEAVE to list-processing and return to screen 1000.
    PERFORM display_status_report .
  ENDIF

PERFORM display_status_report contains several WRITE statements.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 01, 2008 at 06:05 AM

    Hi Ronny,

    Just check whether you have assigned the function codes for the buttons on the list correctly or not.

    Regards,

    Swapna.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2008 at 06:08 AM

    Hi,

    do you work with the standard routines or do you have your own in user-commands?

    Check if, page down is defined with P-. page up P, first Page P-- and last page P+

    Regards

    Nicole

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2008 at 06:20 AM

    Thanks friends. My PF-Status was defined incorrectly.

    Add comment
    10|10000 characters needed characters exceeded