cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi Call in JSF.

Former Member
0 Kudos

Hi Gurus,

I have a JSF application I am using Sun Java Studio Creator (IDE Tool)

Now I have to Implement SSO for that in Portal.

I.e if user exsists in Portal then he/she should be given access to the Application otherwise not.

This is what I have made out so far.

Once a user Clicks the any Tab.Then it will call some JAVA methods (specifically Portal SSO), and get the logon ticket information from there, which will be used to call BAPI.(as it isn used in my application)

Please help me with this

Somil

Accepted Solutions (0)

Answers (2)

Answers (2)

p_2_5_6_9_6_0
Active Participant
0 Kudos

>

> Hi Gurus,

> I have a JSF application I am using Sun Java Studio Creator (IDE Tool)

> Now I have to Implement SSO for that in Portal.

>

> I.e if user exsists in Portal then he/she should be given access to the Application otherwise not.

>

> This is what I have made out so far.

> Once a user Clicks the any Tab.Then it will call some JAVA methods (specifically Portal SSO), and get the logon ticket information from there, which will be used to call BAPI.(as it isn used in my application)

>

> Please help me with this

>

> Somil

Hi,

If you need SSO configured then you will need to enable the Trust between the server and the client(s) where the SSO needs to be. This means that the server certificate will have to be imported into each of the client machines.

Now, to see the entire process of how to configure trust and configure SSO, go to:

[http://help.sap.com/saphelp_nw04/helpdata/en/53/695b3ebd564644e10000000a114084/frameset.htm|Using Logon Tickets for Single Sign-On]

After this you need to have a BAPI call from JSF into R/3. I'm assuming the the server where SSO is configured will be the location where the BAPI resides.

To use the BAPI:

1.) Expose the BAPI as a web service. using the transaction SOAMANAGER.

2.) Test your Web service.

3.) Export the WSDL from R/3.

4.) Import the R/3 BAPI WSDL into your IDE for JSF.

5.) Write a function / method where the BAPI will be called in JSF (on a button click, text change etc.)

Help on the above topics can be seen at the following location:

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30016ca9-f786-2b10-1fa4-8dffb880d2a3|How to Call an Enterprise Service from JSF]

Hope that helps.

Thanks.

p256960.

Former Member
0 Kudos

Thanks for your reply.

but I dont need any of these!!

See basically I just need to enable SSO in My application which is running in Portals Java Stack.

All that you have given is not required since I have already developed the application .

It s just that I need the SSO for portal in my app.

the certificates that you have asked to install is alredy known to me.

Thanks for your help

Somil

Former Member
0 Kudos

Hi,

Maybe this tutorial can help you, this is for heterogeneous scenarios

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0c78148-12de-2a10-27bf-960acc75...

Best regards

ravindra_bollapalli2
Active Contributor
0 Kudos

hi

to level of my understanding ui interfaces is developed with jsf java server faces )and u want to read the authentication levels from java

check this

/people/dennis.kleymeonov/blog/2005/09/15/connecting-sap-systems-to-enterprise-portal-with-sso

reading the users list from jsf

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30016ca9-f786-2b10-1fa4-8dffb880...

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/539fed0d-0d01-0010-1c84-9a081a4e...

bvr

Former Member
0 Kudos

thanks for your reply!

but no use!!

Somil