on 09-14-2012 11:54 AM
Hello.. i have a questions which is bugging me.. few days ago i created an apps to call a BAPI from the SAP. the BAPI only return the system ID and passed a strings to the back-end. in my first try i used the static coded username and passwords as the SAP login credentials.
then im trying to create a dynamic logon for those apps. is there any way i can do that? (without using the username and password built-in personalization keys) i mean in this case i have to create a new personalization key and bind it to the workflow's text box. so everytime the user execute it the BAPI will called using the username and password which the user entered in the text box.
and is there any way so a personalization key is used by 2 different MBO? in 1 workflow.
NOTE: i already done that one which login dynamicly. but i need to edit the back-end to ask userid and password as input parameter , so i can bind the text box to the personalization key. what im curious is, is there any way to do that without changing the back-end or using the built-in username credentials?
Hi Hendri,
I think in your scenario, it can be handled using SSO:
Please refer to the blog:
Hope it solves your problem.
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namrata,
Looks like you are using WSDL file. I suppose you need to create web service from your BAPI with security asking for user id password. However, to consume web service, you need to give backend credentials manually. I was suggesting a way to directly use SAP Bapi, in which case, it would not ask your for password each time if you configure SSO.
Regards
Uday
Hi Uday,
Thanx for the response.
Now, I am able to consume the web service by setting the default values.
But, there is again an issue coming i.e. when i run the application for the first time, its working correctly for different users(dynamically getting authenticated) but when i close the workflow and again start its not getting authenticated correctly(i.e its not getting the correct username and password) .
Can u pl. help me this of why is it happening like that and provide me with the solution for it.
Regards
Hi Namrata,
You have to look for the authorization type of your webservice in SOAMANAGER.
Please refer to this document for help.
To avoid giving user credentials, try opting for SSO logon ticket method. Refer to page 21 and 22.
or alternatively, hard code the user credentials in WSDL XML file.
Regards
Uday
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.