Skip to Content

OK CODE for page down not captured

Hi all,

I'm performing a recording on a transaction code which has a table control.

When I'm doing the recording the scrolling works fine, but when I process the recording, I see that the OK CODE is captured as /00 when I did page down. Can any one help me resolve this issue?

Many thanks for the help.

Thanks,

Sandeep Kumar S

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Sep 24, 2015 at 09:27 AM

    Hi Sandeep,

    I have faced this kind of issue in VA02 screen while recording.

    I come out of that issue using button called position as shown above.

    Do you have any such option in your TCODE

    regards,

    Pawan.


    image.png (4.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 24, 2015 at 08:40 AM

    Thats strange, usually page down is captured, although usually table controls have its own page down button, can you try using that in your recording.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 24, 2015 at 08:45 AM

    Hi.

    Try to process in foreground, to see dynpros. With some transactions, batch input has got different dynpros when you process registration. You can do this by creating a Zprogram and see what happens.

    Hope to help.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 24, 2015 at 08:51 AM

    Dear Sandee[,

    Do one thing press /h and press click on ++p check ok_code.

    Second option go to system status open the PF- Status go to Menu bar and check the ok-code.

    You are able to see the correct ok_code.

    Thanks

    Nishant

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Nishant,

      I did the debugging. sy-ucomm doesn't capture anything. As soon as the debugger is open, the TOP_LINE is changed in the table control automatically. If i can know the point where that field is changed that would be great. But it is getting changed automatically before the debugger pops up.

      Thanks,

      Sandeep kumar S

  • Posted on Sep 24, 2015 at 09:01 AM

    Hi Sandeep,

    moving the scroll bar of a table control cannot be recorded - there is no OKCODE. If the Transaction you are recording does not have OKCODEs for Page-Up/Page-Down you will not be able to run it via Batch Input or Call Transaction.

    Regards

    Oliver

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Sandeep,

      the Page Down Button only works if the GUI Status assigns an OKCODE to it. You can check this by selecting "Status" from Menu "System" and double click on the value of "GUI Status". Unfold "Function Keys" and find the OKCODE assigned to Page Down. You should be able to use this OKCODE instead of what was recorded.

      If there is no OKCODE assigned to the Page Down Button you will not be able to control this in a Batch Input / Call Transaction Session.

      Regards

      Oliver

  • author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2015 at 09:03 AM

    Hi,

    What is the T-Code for which you re doing the recording, does it have a field for entering the line no below Table control.

    Like this .

    In this case you will have to pass the value for the entry field for Page down. Else try with P++.

    Hope this helps.


    table.PNG (2.0 kB)
    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.