09-24-2015 9:34 AM
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
09-24-2015 9: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.
09-24-2015 10:01 AM
Hi Tee Gee,
Thanks for the reply.
But the buttons are disabled.
Thanks,
Sandeep Kumar S
09-24-2015 9: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.
09-24-2015 10:02 AM
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
09-24-2015 9: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
09-24-2015 10:07 AM
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
09-24-2015 10: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
09-24-2015 10:05 AM
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
09-24-2015 10:09 AM
09-24-2015 10:16 AM
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
09-24-2015 10: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.
09-24-2015 10:08 AM
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
09-24-2015 10:12 AM
09-24-2015 10:15 AM
09-24-2015 10: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.
09-24-2015 10:38 AM
Hi Pawan,
No, It has only details, select all, deselect all and delete buttons.
Thanks,
Sandeep Kumar S