on 02-12-2014 8:12 PM
Experts,
I am calling a WDA application URL using code as below,
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZAPP1' --> Name of my application
IMPORTING
out_absolute_url = lv_url_str.
SSO has been enabled but still it prompts the user to enter user id & password.
Is it possible to skip this step by passing logon credentials while calling the URL from our program.
Thanks,
Aspire
Hi,
I guess the SSO is not configured properly! So try the below option.
Execute SICF transaction , goto default_host-> sap -> bc -> web dynpro -> sap . Now double click on your Web dynpro Application Name(ZAPP1) and in logon details tab, maintain the user name and password.
The your application will not prompt for User/Pwd.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
If we maintain a single uname & pwd in SICF will it work only for that user? I am calling the WDA application from a BOR method in workflow. Whoever is the approver will see the WDA application with data.
Will the setting that you mentioned work irrespective of who the approver is from workflow?
Please let me know.
Thanks
Aspire
Hi,
If we maintain a single uname & pwd in SICF will it work only for that user?
It will work for all users. According to your scenario, if you are checking sy-uname in your application to determine the approver, am not quite sure whether it returns the user id of approver or the user id maintained in the SICF. unfortunatley I couldn't check as I don't have access to SAP system. so please check the same.
And if it returns the sy-uname as the use id maintained in the SICF (irrespective of the log on user), you can concatenate a parameter flag to indicate the approver in the url (say concatenate lv_url_str & role=A ) after the method call cl_wd_utilities=>construct_wd_url.
Then read the parameter in your application and continue further processing instead of checking sy-uname.
Regards,
Kiran
Hi Kiran,
If it work for all users, please tell me what user name & password i should mention in SICF logon details tab.
I believe SY-UNAME will return user id of the approver as he will be opening the work item from his inbox(SBWP). When he attempts to open it, i am calling the WDA application URL in the BOR method.
Thanks
Aspire
Message was edited by: Aspire WF
Hi,
You can maintain any uname/pwd who has necessary authorizations. better ask the basis team to provide a unique user ID ( though configuring SSO properly is the best way ).
I believe SY-UNAME will return user id of the approver as he will be opening the work item from his inbox(SBWP).
Here, sy-uname will return the user id of approver. But what I meant was whether you are reading sy-uname in your WDA application or not.
Is the purpose of your WDA application is only for approvers? OR it can be accessible for all the users.
For example, consider the timesheet application, The same application ( say ZAPPL1) can be used for the users to maintain the time sheet entries as well for the approvers to approve it. considering the same scenario, In your application, if you are differentiating the Approver/ general user based on SY-UNAME, in this case you need to check the sy-uname value after maintaining the log on in SICF.
If the purpose of the application is only to approve ( for approvers) that you can maintain any user/pwd just to skip the Log on.
Regards,
Kiran
Hi Kiran,
But what I meant was whether you are reading sy-uname in your WDA application or not.
I am not reading SY-UNAME in my application.
Is the purpose of your WDA application is only for approvers? OR it can be accessible for all the users.
This is only for approvers. When they open the workitem, WDA application gets started.
Thanks
Aspire
Hi,
I am facing the same issue,when we have multiple application server.
Regards,
Inder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What kind of Logon are you using? Are you using System Logon? It has SSO2 support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.