Skip to Content
0

screen personas 3.0 - VA01 - SAP GUI - Scripting error

Feb 15 at 06:47 PM

36

avatar image
Former Member

Hi,

I am using SAP Personas for SAP GUI for VA01 transaction. I am trying to create a script to default a value in the 'Purchase Order type' on the order header in 'Order Data' tab.. Once I am on the VA01 overview screen, I tried to add the script to the OnBeforeRefresh Event. I get the below error. I don't get this error when I test this in WebGUI.

Could you please advise if my script is incorrect, or if I need to do something else.

session.findById("wnd[0]/usr/subSUBSCREEN_HEADER:SAPMV45A:4021/btnBT_HEAD").press();

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP*/tabpT\\11").select();

session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP*/tabpT\\11/ssubSUBSCREEN_BODY:SAPMV45A:4351/ctxtVBKD-BSARK").text = "TESR";

session.findById("wnd[0]/tbar[0]/btn[3]").press();

Thanks in advance for your help,

Bhanu

capture1.png (11.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sagarika Gattu Feb 16 at 05:26 AM
0

Hello,

Can you try with onLoad event once?

also can you please provide the screenshot of the VA01 screen and button where you are setting this text?

Regards,

Sagarika.

Share
10 |10000 characters needed characters left characters exceeded
Tamas Hoznek
Feb 16 at 08:17 AM
0

Also, try running the flavor with the latest SAP GUI release and patch level (right now rel. 750 PL 4 hotfix 1) to see if the problem is still present.

Share
10 |10000 characters needed characters left characters exceeded