cancel
Showing results for 
Search instead for 
Did you mean: 

Portal URL in mail template

Former Member
0 Kudos

Hello,

We are using SAP Enterprise Portal for doing a Single sign on to E-Sourcing 5.1.

When users receive email notifications from the standard mail message templates - the host and port name are from the cluster.

But in our scenario - we want the same document url to be the portal url which then redirects users to the actual E-Sourcing page after signing into portal.

To me it seems to be a very common requirement when using SAP EP to SSO with E-Sourcing.

Can someone guide us on how this can be accomplished?

Regards,

Srivatsan

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Srivatsan,

Unfortunately this is a known issue with SSO. You might want to open a message with SAP. In the meantime, as a workaround, you could update the mail message templates and point to the portal URL. But note that, you would still lose the ability to get to the business document directly upon login.

Regards,

Vikram

Former Member
0 Kudos

Thanks Vikram for your comments.

You asked us to raise an OSS message - Do you think SAP has a solution to this in 5.1? We are currently on SP10.

In the meantime - we developed a small application in portal which redirects the user from portal to the specific mail token %document_url% or document_header_url.

So, basically in the mail message template- we tried adding the path

http://<portalhostname>:<portalport>/irj/servlet/prt/portal/prtroot/RedirectApp.redirectApp?redirect...

Now - when the user gets the mail and clicks the link - he is made to login first to portal and then it attempts to redirect to the document. But it somehow ends up taking the user to workbench. In the workbench, when we hit a back button - it takes us to the document (MA or Contract as the case may be).

We are trying to troubleshoot this. But looks like during SSO - irrespective of the URL (%DOCUMENT_URL%) - portal only takes us first to workbench.

We want to avoid taking user to workbench and want to directly take the user to the document, since we would lose a key functionality just because we switched to having SSO with portal.

Regards,

Srivatsan

Former Member
0 Kudos

Hi,

We have a similar scenario at our Client. Only thing is this is a 2 step process and we expect the user to login to E-Sourcing first. And via the second URL in the same email, user is taken to the contract, MA etc. which is being referenced in the email.

As an example, step 2 looks like this:

Next, to review the document click the following link: LINK("View Document", "%DOCUMENT_HEADER_URL%")

Not sure if this helps. You can also look at the blog:

/people/ankush.mittal2/blog/2010/12/20/sap-sourcingep-sso-configuration

Thanks,

Vikram Shukla

Answers (0)