on 06-04-2012 5:04 PM
Hi All,
We are trying to execute SAP functions, in MII transactions, through the users SAP id. We have setup SSO and I have configured autobind on the xacute connector so it works when I go through the xacute query.
But we don't always use xacute queries because they require the use of Java and so we are using AJAX and the Runner functionality.
So my problem is when using the ajax function it doesn't pass the MYSAPSSO2 cookie into the input parameter of the transaction you are calling.
I see using tools like fiddler that the MYSAPSSO2 value is stored in a cookie but the value doesn't show up when I read the document.cookie in javascript.
So my question is how do I access the MYSAPSSO2 value through javascript so I can send it to my input parameters of the transaction through ajax.
Other options I was thinking is a custom action block if anyone knows how to access or find the MYSAPSSO2 value through a custom action block.
I am using MII version 12.1
Jasper
You can call xacute and regular queries using AJAX. Try calling an xacute query using the Illuminator service and see if it works. URL syntax is something like below:
/XMII/Illuminator?QueryTemplate=<Your Xacute Query>&Session=true&Content-type=text/xml&Param.1=<value1>&Param.2=<value2> etc ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.