on 03-23-2016 10:40 PM
Hello folks,
I'm having a hard time trying to understand when one will be referenced or the other. While writing my macros these guys appear as a complement of tabsTAXI and is used to change tabs inside a window, but sometimes it's just TABSTRIP and sometimes its TABSTRIP_ITEM, sometimes even on the same tab reference, and at this point I'm afraid to log onto SAP tomorrow and what was TABSTRIP yesterday is TABSTRIP_ITEM today.
Below is an example that I recorded, it just go from tab 5 to 6 and change the line. You can see that tab 5 sometimes has the ITEM append and sometimes not.
Can anyone shed somelight here? Is there a way to predict when it will be one and when it will be the other?
Thank for reading and maybe reply 😃
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP/tabpT\05").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP/tabpT\05").select
Hello.
Seems like you record this in Transaction VA02 (or VA03).
Then you Switch between Account assignment (tabpT\06) and condition (tabpT\05) tab of item lines before you press next item line button (session.findById("wnd[0]/tbar[1]/btn[19]").press).
I can just make an guess that line items may a bit different what cause an different naming convention of condition tab.
tabsTAXI_TABSTRIP_ITEM/tabpT\05 instead of tabsTAXI_TABSTRIP/tabpT\05
Account Assignment tab is always tabsTAXI_TABSTRIP_ITEM/tabpT\06.
Can you see any differences on material of item lines where condition tab is called with different names?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, the materials are different. I can't explain what they are or the difference because I don't know this process, I'm just making an automation for them. Basicaly there's parts that start with 5 and parts that start with S. Sometimes, the parts that start with S have a Billing Plan tab, which would be located in position 6.
At first I did think that the difference would be because the materials are different but the example I recorded passes by both parts, From 5 to S, to 5, to S and so on.
I did another test as per below, no difference this time, this thing is driving me crazy
'From Account assignment to billing and back to Account assignment, Material start with S
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
'From Account assignment to billing and back to Account assignment, Material start with 5
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
'From Account assignment to billing and then to Billing Plan, Material start with s
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/tbar[1]/btn[19]").press
'From Sales A to Account assignmento and then to billing , Material start with 5
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\06").select
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_ITEM/tabpT\05").select
Ok. Have a view into this:
http://scn.sap.com/thread/3869989
That can be an Option to identify Tabs and control required Actions depending to available tab identifier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.