Skip to Content
avatar image
Former Member

screen personas 3.0 - VA01 - SAP GUI - Scripting error

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 16 at 05:26 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16 at 08:17 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded