Pass variable into SAP Script

Hello There,

I have a simple script recorded in SAP that mimics calling a transaction. I wish to replace this hard coded transaction number in the .vbs file with a variable (for passing the TCode) while calling the script from UiPath. Any ideas how to do this.

Thanks in advance
Hara

You can pass arguments to VBS and use it in the script then: