Skip to Content
Author's profile photo Former Member

Step-By-Step Guide to implement Application Integrator

This weblog explains the steps to achieve Single Sign-On with User Mapping using Application Integrator.

In order to get started you will need to download the AppIntegrator zip file from the SAP Service Market Place .

Here Go to the quick link “solutions” and advance search for the words “using the application integrator” with quotes.Right click on the zip icon of the document named

Using the Application Integrator

and save it to the local directory.

Unzip the AppIntegrator zip file to find two files

1. com.sap.portal.howtos.webapp.par file
2. HowToUseAppIntegrator_en.pdf file

Firstly, Let me explain the steps in a Birds’ Eye View
Step 1 : Upload the PAR file of Application Integrator to the Enterprise Portal
Step 2 : Create a System Template from the uploaded PAR file
Step 3 : Create a new System using the System Template created in Step 2
Step 4 : Create an iView

Step-By-Step Guide

Step 1 :

Upload the com.sap.portal.howtos.webapp.par file into the SAP Enterprise Portal

System Administration -> Support -> Portal Runtime -> Administration Console

image

Step 2 :

Create a new System Template from the com.sap.portal.howtos.webapp.par file

System Administration -> System Configuration -> System Landscape -> Portal Content ->Right Click on Any Folder and select New From PAR -> System

image

Select the radiobutton com.sap.portal.howtos.webapp PAR and then NEXT

image

Select the WebApplication Portal Component and then NEXT

image

Enter all the required fields System Name, System ID, etc., and then NEXT

image

Click FINISH 

image

Select Open the Object for Editing  then OK

image

Change the Property Category  ‘ Is a Template ‘ to YES , to convert the created System as a System Template so that it can be reused .Save the Changes and close the wizard

image

Step 3 :

Create a new System using the above created Web Application Template

System Administration -> System Configuration -> System Landscape -> Portal Content ->Right Click on Any Folder and select New -> System

image

Select the System Template which was just created i.e., Web Application and then NEXT

image

Enter all the required fields System Name, System ID, etc., and then NEXT

image

Click FINISH

image

Select Open the Object for Editing  then OK

image

From the Property Category select System Definition

image

Enter the following and save the changes

Name of the Server : Login.yahoo.com

Protocol of Target system : http

URI of Web Application  : /config/login

image

From the Property Category select UserManagement

Enter the following and save the changes

Logon Method : UIDPW

User Mapping Type :  admin, user

image

From the Display dropdownlistbox select System Aliases

image

Enter the System Alias name and ADD it as a default alias and Save the changes made.

image

And now GOTO the Personalize link and enter the User Mapping fields(Yahoo userid and password). Save and close the window

image

Step 4 :

Create an iView
Content Administration -> Portal Content -> Portal Content ->Right Click on Any Folder and select New From PAR -> iView 

image

Select the com.sap.portal.appintegrator.sap PAR file and then NEXT

image

Select Generic as the Portal Component and then NEXT

image

Enter all the required fields iView Name, iView ID, etc., and then NEXT

image

Click FINISH

image

Select Open the Object for Editing  then OK

image

From the Property Category , select Content-Generic Launcher

image

Enter the Following

System : AppIntegrator

URI Template :

Here the ‘login’ , ‘passwd’  are the attribute names which are fetched from the view/source of the websites’ login page.

image

Save the Changes made and Click on the Preview button in the wizard

BAM !!!

  You have entered Yahoo site without being asked the username and password.

!https://weblogs.sdn.sap.com/weblogs/images/34735/28.jpg|height=281|alt=image|width=413|src=https://weblogs.sdn.sap.com/weblogs/images/34735/28.jpg|border=0!

Similarly you can access other sites by mentioning the appropriate fields and hence achieve the Single Sign-On through User Mapping.

Assigned Tags

      31 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Very clear and Concise Weblog.

      Good one kiran.
      Hope to see more weblogs from you.

      Author's profile photo Former Member
      Former Member
      It's exactly what I was searching for! 🙂 Is there anywhere a documentation how to implement a WebApplication using SAP Single Sign On Tickets?
      Author's profile photo Paul Tomlinson
      Paul Tomlinson
      If the backend system accepts logontickets, then instead of choosing logon method UIDPW, choose SAPLOGONTICKET.

      Paul

      Author's profile photo Sandip Agarwalla
      Sandip Agarwalla
      Hi Kiran,
      I am getting the follwoing error while uploading the PAR file through Admin Console:

      INFO: Detected Portal Archive File: com.sap.portal.howtos.webapp.par
      INFO: Deployment failed - exception caught: Application upload failed: com.sap.portal.howtos.webapp.par - more detail at: C:\usr\sap\CHN\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\com.sap.portal.howtos.webapp.par.log

      I checked the log file also, but could not figure out , whats the reason.

      Do help me out !

      regards,sandip

      Author's profile photo Former Member
      Former Member
      Hi Sandeep,

      Verify if this is the problem with all the PAR files which you are uploading to the portal.

      Regards,
      Kiran

      Author's profile photo Alejandro Attonaty
      Alejandro Attonaty
      Hi I have a question. Can I call to Iview with an URL with dynamic parameters ? I have an IIS with IISProxy and a Portal 60 WAS 640 SP13. I want to send dynamic parameters at Iview, It captures dynamic parameters and then It do foward calling a BW report. Do You have any idea?

      Thanks in advance
      Alejandro

      Author's profile photo Former Member
      Former Member
      Hi, i tried to logon to another portal in the same way as above you have done to logon to yahoo. I checked the logon information from the source code of the portal and used them appropriately. But, it doesn't getting logged on. It simply stops in the login page with the user name used. The password field is empty and unable to log in.
      I also tried to login to SDN site in the same way, but the same problem. It comes upto login page, with only username entered in the username field.
      Is it possible to integrate another portal using AppIntegrator as you have integrated Yahoo?
      Regards,
      Vijay.K
      Author's profile photo Former Member
      Former Member
      Hi Vijay!
      Can you integrate another portal??

      Thanks,
      Mercedes

      Author's profile photo Former Member
      Former Member
      Hi, i tried to logon to another portal in the same way as above you have done to logon to yahoo. I checked the logon information from the source code of the portal and used them appropriately. But, it doesn't getting logged on. It simply stops in the login page with the user name used. The password field is empty and unable to log in.
      I also tried to login to SDN site in the same way, but the same problem. It comes upto login page, with only username entered in the username field.
      Is it possible to integrate another portal using AppIntegrator as you have integrated Yahoo?
      Regards,
      Vijay.K
      Author's profile photo Narayanaswamy Balasubramaniam
      Narayanaswamy Balasubramaniam
      Hi,

      It was ver useful one... I tried this to connect to J2ee Application which resides with in the SAP J2ee Engine, but it was failed..

      can u explain me how make sigle sign with J2ee Application using SAPLogonTickets

      Note: I need to pass the logged in EP user id to the J2ee Application.

      Pls help me sort this

      Thanks and Regards
      Swamy.B 

      Author's profile photo Former Member
      Former Member
      I followed the steps your provided, I define
      a system successfully.
         And I configue user mapping, I modified
      "ume.usermapping.unsecure=true" and then configue
      user mapping successfully.
         I create an Iview acoording to the document you have written successfully.
         Finally, but when I preivew the iview, I can
      not access to the yahoo login page without
      username and password.
         At the same time , the following exception is raised.

      Session Management will not work!
      Please check the DSM log file for details.

      You can turn off this alert inside 'Support Desk' -> 'SAP Application'
        
      I do not know the reason which cause the error, I wish your reply and help me to solve my problem.

      thanks a log.

      Author's profile photo Former Member
      Former Member
      Hi, did you solve your problem?
      I'm facing with the same one...
      Any help would be appreciated...
      Author's profile photo Former Member
      Former Member

      Hi See the details for the exception ID in the log file

      Author's profile photo Former Member
      Former Member
      Hi ...

           I am also getting same error.. Can you able to figure out what the problem is ...
          Your help is greatly appprecited..

      thanks,
      rao

      Author's profile photo Former Member
      Former Member
      Hi ...

           I am also getting same error.. Can you able to figure out what the problem is ...
          Your help is greatly appprecited..

      thanks,
      rao

      Author's profile photo Former Member
      Former Member
      Hi Rao,

      Pl Check the protocol u have given and check the System name also.

      anyhow verify the log file for the errors and if possible, give exactly the error after "Caused by...."

      revert back 🙂

      Cheers,
      Kiran

      Author's profile photo Former Member
      Former Member
      Hi,
      I did everything the tutorial said, but I get a page error (access denied) instead of a SSO to the Yahoo mail...
      Do you know What the error could be?
      Thx
      Author's profile photo Former Member
      Former Member
      When I change the HTTP request method to "get" (in my iView), I get the logonscreen but no SSO
      In the URL I see that the system recognizes the user mapping
      When I change the HTTP request method to "post", I get the page error...
      Author's profile photo Former Member
      Former Member
      Hi Kiran

      Thanks for your blog. I followed the same steps what you mentioned in the document. But User Mapping is not working. It is prompting for user credentials to yahoo mail login.

      Do I want to do anything else.

      Thanks in Advance
      dEvara

      Author's profile photo Former Member
      Former Member

      Hi,Kiran

      Author's profile photo Former Member
      Former Member
      Hi Kiran

      When I login into portal first time I am getting yahoo inbox screen. But If I come out from this screen and come again then It prompts me to enter yahoo logon credentials. I think session is closing. Could you help me how to resolve this?

      Thanks in advace
      dEvara

      Author's profile photo Former Member
      Former Member

      HiKIRAN,

      Author's profile photo Former Member
      Former Member
      Hello all,
      I followed the steps above and yahoo pages work fine.But when I need to use some internal web applications I get "  _12##0#0#Warning#1#com.sap.portal.dsm#Plain###Application domain 'arsiv' differs from Portal domain 'saptestnw'
      Session Management will not work for Application 'HTTP://arsiv/Login.aspx'!# ".
      Portal and other internal web sites should be in the same domain?
      Author's profile photo Former Member
      Former Member
      Did you get your information .Please forward the same to me
      Author's profile photo Former Member
      Former Member

      I did it follow you,but I can't understand the parameter following:

      Author's profile photo Former Member
      Former Member
      Hi very good you blog,

      But could be possible to pass a parameter?, a dynamic parameter sent from WD app?

      I've read only passing user and password as parameters.

      Thank in advance,
      RR.-

      Author's profile photo Former Member
      Former Member
      Nice blog, can you this is also with gmail?
      Because i cant get it to work with gmail ;D
      Author's profile photo Former Member
      Former Member
      sorry my searching skill werent that great, i have found te answer to my question
      Author's profile photo Carlos Fernando Rivas
      Carlos Fernando Rivas
      Hi, i'm triying to configure the gmail access in my SAP EP, but i cant made it work....can you help me?

      tnks

      Author's profile photo Former Member
      Former Member

      nice blog.

      Author's profile photo Former Member
      Former Member

      Hi Kiran,

      App integrator is changed in NW7.31, I am trying to Integrate Billerdirect with Portal. Could you please help on the updated steps to follow for NW731 portal.

      Kumar