cancel
Showing results for 
Search instead for 
Did you mean: 

Changing user who calls Enterprise Service dynamically

Former Member
0 Kudos
92

Hello all,

I'd like to call Enterprise Service as Portal logon user.

As you know Enterprise Service is implemented on ECC, it always requires ECC's user/password when I access it.

Off the top of my head I may use logon ticket, but it does not work well for Enterprise Service.

I've already done the system configuration to use logon ticket - setting profile parameters of ECC, importing client certification and so on.

What I tried:

1. Create Destination at "Web Services Configuration: WS Destination"with following parameters:

Destination Type: WSDL

URL: http://<hostname>:<port>/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC?sap-client=800&wsdl=1.1

Authentication: HTTP Authentication, Logon Ticket

2. Try to test ES at "WS Navigator"

-> When I search ES in destination which I created, the following error occurred:

Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<hostname>:<port>/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC?sap-client=800&wsdl=1.1"

When I changed destination's settings as follows, testing ES at "WS Navigator" succeeded.

Authentication: HTTP Authentication, User ID/Password(Basic), apply fixed user

But I'd like to change user who calls ES dynamically, because I want to set the user who creates sales order to Portal logon user.

Could you give me any advice?

Ikue

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi lkue,

Please see my weblog @ https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7891. [original link is broken] [original link is broken] [original link is broken] When you create SM59 HTTP destination, select "send logon ticket" or "logged in user id /password" . This will automatically use logged in user id dynamically.

Hope it helps you and solves your problem.

Regards,

Arul

matthias_fiebig
Explorer
0 Kudos

Hello,

take a look at the documentation http://help.sap.com/saphelp_nw70/helpdata/en/f8/3b514ca29011d5bdeb006094191908/frameset.htm

you can set a user mapping for every portal user to your destionation, this should fix your problem.

Matthias