Hi Everyone,
I'm relatively new to scripting. I have a couple of issues I've run into trying to write a script for a 3rd party product (ImageNow). I'm trying to write a script for the MIGO screen that gets values from a bunch of fields and transfers over to the ME23N screen to get a few values.
On the MIGO screen I need to get values off of the Detail data tab. The problem is that some users may have this area minimized. I can set the script to maximize the tab but I need a way to check to see if it's really minimized because if it's not the button (session.findById("wnd[0]/usr/ssubSUB_MAIN_CARRIER:SAPLMIGO:0002/subSUB_ITEMDETAIL:SAPLMIGO:0302/btnBUTTON_DETAIL").press) does not exist.
I've also got something on the ME23N screen that I can't figure out...when I record a script to get a particular tab it comes back with :
session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:0013/subSUB1:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1102/tabsHEADER_DETAIL/tabpTABHDT2").select
When I have users test it fails...I tried recording script under their id and it seems like the field name is slightly different:
session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:0020/subSUB1:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1102/tabsHEADER_DETAIL/tabpTABHDT2").select
Is there something I can check to see what is driving the difference?
thanks for any help