on 03-01-2018 1:35 PM
Hi,
I'm calling an external webservice from an ABAP, which works ok as long as I supply my UserID & password via the pop-up.
When I suppress the dialog, using:
And supply my credentials via:
I receive the error:
Is this the correct way to connect without explicit logon?
Thanks in advance
Hi Axel
Yes, this is the right way.
You even don't need to suppress the popup with
lo_http_client->propertytype_logon_popup = lo_http_client->co_disabled
Just set the user/password before calling
lo_http_client->authenticate( username = lv_user password = lv_password )
...
lo_http_client->send( )
Then popup will only come up if the credentials are invalid and GUI is available.
regards
Domi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.