on 11-04-2014 10:54 AM
Hi all,
I have a transaction which has SAP network graphics (The Gantt Chart in CJ2A) within which is not supported by Personas, so I want to know if there is a way to call a standard SAPGUI transaction from a Personas flavour?
Thanks,
Neil
what about calling sapshcut.exe or sapgui.exe with transaction parameter from javascript.
Not sure but can you add Calculate in JS with below code for a button:
var shell = new ActiveXObject("WScript.shell");
shell.run("sapshcut.exe -system=SID -client=XXX -user=youRUser -pw=yourPassword command=SE11", 1, "True");
Since its ActiveXObject which is IE specific, it will work only in IE.
Chrome might work, if you launch chrome by
"chrome.exe" --allow-all-activex
Because of ActiveXObject, there will be many IFs and BUTs. Will check if there are better solution. May be someone has better idea....
Regards,
Sushant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, in case anyone cares we've written a small ABAP to wrap around the transaction and call it within NWBC (our 'browser') using the method URL_CONSTRUCT in class CL_NWBC.
Then I can simply launch this transaction from Personas and it opens a SAPGUI tab in NWBC... so I have a solution.
However if anyone knows a way to do this in JavaScript I'm all ears.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.