on 08-19-2008 4:34 PM
Hi there ....
Is there a way that i can pass the user name () and password to the BLT from the html page.
Thanks,
Ajay.
Using SSO
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
you can pass {IllumLoginName] ans [IllumLoginPassword} in the following way:
- switch on the AutoBind property of XacuteConnector (Data Server)
- create transaction input parameter with the same name in your BLT
The values of the parameters will then be automatically filled into the BLT input paramaters at runtime when called from a webpage.
You may also find the following threads useful:
Access Custom Attributes in JavaScript and in Transactions
[https://forums.sdn.sap.com/click.jspa?searchID=15334261&messageID=5577743]
How do I access a request parameter in JavaScript on a report page?
[https://forums.sdn.sap.com/click.jspa?searchID=15334603&messageID=4929653]
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
Probably a number of ways. The first that occurs to me is to use a Xacute query with an iCommand applet. But I am not sure how you would keep from exposing the name and password for all to see.
What are you trying to accomplish by passing the credentials that way? What will the BLT do with those two pieces of information?
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mikes
I tried using the iCommand ... but this is used only to check the MII credentials ...
I want to pass both the user name and password to the SAP JCo action block. I tried to create a Transaction.Property CommandUserID1 .. but how do i get the password? This didnt work out.
Also, tried using the IllumLoginName and IllumPassword in the Transaction.Property ... didnt workout
Any other ideas ...
What i am trying to accomplish is to execute a BAPI using different MII user credentials .. Requirement is to record the transaction in ERP with the user currently user in MII.
Thanks,
Ajay.
Ajay,
If you are simply trying to trace the MII user who records the transaction, there may be simpler ways to accomplish this. Your approach will work as long as the MII user name is the same as the ERP user name and the passwords remain synchronized. I do not know if that is the case for you.
If you have the option of creating a custom BAPI, it would be very simple. For other BAPIs it might be more complicated. Which BAPI are you trying to use?
Regards,
Mike
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
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.