Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

OK CODE for page down not captured

former_member186052
Active Participant
0 Kudos

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

16 REPLIES 16

former_member210541
Active Participant
0 Kudos

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.

0 Kudos

Hi Tee Gee,

Thanks for the reply.

But the buttons are disabled.

Thanks,

Sandeep Kumar S

roberto_vacca2
Active Contributor
0 Kudos

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.

0 Kudos

Hi Roberto,

Thanks for the reply.

Yeah, I'm doing the same. In fore ground itself it is showing the OK_CODE as /00 and the scroll is not happening.

Thanks,

Sandeep Kumar S

nishantbansal91
Active Contributor
0 Kudos

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

0 Kudos

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

oliver_wurm
Active Participant
0 Kudos

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

0 Kudos

Hi Oliver,

Many thanks for the reply.

Actually when I'm running the transaction normally, the page down and page up buttons work.

But only during recording this happens.

So, does this mean we will not be able to use the functionality via recording?

Is there any other way that could help me achieve this?

Thanks,

Sandeep Kumar S

0 Kudos

Which Tcode is it

0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

Hi Gaurav,

No, it doesn't have any fields to enter the line no.

It just has a table control on a tab strip.

Thanks,

Sandeep Kumar S

0 Kudos

Which tcode is it?

0 Kudos

Hi Tee Gee,

It is /SAPAPO/MC01_BBD

Thanks,

Sandeep Kumar S

sriram_korlepara
Participant
0 Kudos

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.

0 Kudos

Hi Pawan,

No, It has only details, select all, deselect all and delete buttons.

Thanks,

Sandeep Kumar S