Application Development and Automation 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: 
Read only

OK CODE for page down not captured

Former Member
0 Likes
3,950

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
Read only

former_member210541
Active Participant
0 Likes
2,966

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.

Read only

0 Likes
2,966

Hi Tee Gee,

Thanks for the reply.

But the buttons are disabled.

Thanks,

Sandeep Kumar S

Read only

roberto_vacca2
Active Contributor
0 Likes
2,966

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.

Read only

0 Likes
2,966

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

Read only

nishantbansal91
Active Contributor
0 Likes
2,966

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

Read only

0 Likes
2,966

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

Read only

oliver_wurm
Active Participant
0 Likes
2,966

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

Read only

0 Likes
2,966

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

Read only

0 Likes
2,966

Which Tcode is it

Read only

0 Likes
2,966

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

Read only

Former Member
0 Likes
2,966

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.

Read only

0 Likes
2,966

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

Read only

0 Likes
2,966

Which tcode is it?

Read only

0 Likes
2,966

Hi Tee Gee,

It is /SAPAPO/MC01_BBD

Thanks,

Sandeep Kumar S

Read only

sriram_korlepara
Participant
0 Likes
2,966

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.

Read only

0 Likes
2,966

Hi Pawan,

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

Thanks,

Sandeep Kumar S