on 07-20-2017 8:38 AM
I am opening a table(Ex PSA1) in one tab of SAP after which i am trying to open new tab with /0rsa1 to view data in DSO but when i am trying to find a DSO in second tab using FIND option it's moving to first window(i.e PSA1 table) .
session.findById("wnd[0]/tbar[1]/btn[41]").press
session.findById("wnd[1]/usr/txtRSDS_S_GUIDSSEGMENT-PSA").setFocus
session.findById("wnd[1]/usr/txtRSDS_S_GUIDSSEGMENT-PSA").caretPosition = 9
session.findById("wnd[1]").sendVKey 2
session.findById("wnd[0]/tbar[1]/btn[46]").press
session.findById("wnd[0]").maximize
session.findById("wnd[0]/usr/txtI5-LOW").text = "90278"
session.findById("wnd[0]/usr/txtMAX_SEL").text = ""
session.findById("wnd[0]/usr/txtMAX_SEL").setFocus
session.findById("wnd[0]/usr/txtMAX_SEL").caretPosition = 11
session.findById("wnd[0]/tbar[1]/btn[8]").press
session.findById("wnd[0]/tbar[0]/okcd").text = "/orsa1"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]").maximize
session.findById("wnd[0]/shellcont[0]/shell/shellcont[1]/shell/shellcont[1]/shell").selectItem " 2","1"
session.findById("wnd[0]/shellcont[0]/shell/shellcont[1]/shell/shellcont[1]/shell").ensureVisibleHorizontalItem " 2","1"
session.findById("wnd[0]/shellcont[0]/shell/shellcont[1]/shell/shellcont[1]/shell").clickLink " 2","1"
session.findById("wnd[1]/usr/txtRSAWBN_S_DYNPRO_1000-SEARCH_TERM").text = "DSO1"<br>
Issue is present in the last line where finding the DSO
Is your question about BW/4HANA? Why are you searching for DSO in GUI and not in BW perspective tree?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.