Add on:
Think of Map like a Config
i created a config that i name it as Map
So it become a custom object
custom object syntax is %Config['Filename']% the key is Filename so it will grab the Value from the Config (e.g. ABC)
so hereby my custom key is Dunn so it will go to Map table to grab the value say e.g. ABC
in the past i can use it in VBScript to run as "%Map['Dunn']%" but suddenly it keep failing
and my variable is hitting maximum limitation of 500
so wonder is there any alternative to write a custom object in VBScript
Dim Dunn
Dunn = "%Map['Dunn']%"
don't seem to work...
the row error shown complilation error is this row that i am showing session.findById.....
power automate desktop run vbscript
use custom object key value in the script for SAP
session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1102/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_03/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7023/subA02P01:SAPLCVI_FS_UI_CUSTOMER_CC:0052/ctxtGS_KNB5-MAHNA").text = "%Map['Dunn']%"
Microsoft VBScript compilation error: Unterminated string constant
i cannot add more variable is reaching 500 variable limitation so i need to write key into vbscript
it didn't work even i put a dim
Dim Dunn
Dunn = "%Map['Dunn']%"