Skip to Content
author's profile photo Former Member
Former Member

Changing user who calls Enterprise Service dynamically

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 23, 2007 at 08:08 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.