cancel
Showing results for 
Search instead for 
Did you mean: 

screen personas 3.0 - VA01 - SAP GUI - Scripting error

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

sagarikagattu
Participant
0 Kudos

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.