cancel
Showing results for 
Search instead for 
Did you mean: 

User creation in sap portal

Former Member
0 Kudos

Hi All,

I have a requirement where in a supplier registers online and after approval(application is developed in ABAP web dynpro) is created as supplier in SAP.

At the same time the supplier should be created as a portal user with supplier email ID as his/her user ID in portal.

Though I can achived this by creating an application in java web dynpro usig UME api, but since application for approval is created in ABAP web dynpro there fore these UME API cannot be called.

If I create a portal service using UME API reference, it returns a message saying import reference cannot be used.

Is there any other way for getting users created in portal using UME api via ABAP web dynpro.

Regards

Shakti

Accepted Solutions (0)

Answers (1)

Answers (1)

swapnapriya_neemkar2
Active Participant
0 Kudos

Hi,

Can you pls clarify on below point? Is it like you are not able to add references to your Portal Service for using UME API Classes?

"If I create a portal service using UME API reference, it returns a message saying import reference cannot be used."

However pls verify below options on your requirement. These might be helpful.

Option#A)

We can still be able to use write a Simple Portal Service that accepts required inputs and creates users in the UME using UME API. And then finally expose this Portal Service as Web Service for your ABAP Webdynpro to consume it.

Below are help links based on Portal version:

1) NW 2004

[http://help.sap.com/saphelp_nw04/helpdata/en/43/cb213e578c0262e10000000a11466f/content.htm]

2) NW 7.0

[http://help.sap.com/saphelp_nw2004s/helpdata/en/df/e6b74253ffda11e10000000a155106/frameset.htm]

[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/c9af42a6f6cb6ae10000000a155106/frameset.htm]

3) NW 7.2

[http://help.sap.com/saphelp_nw72/helpdata/en/49/d6a9032190736fe10000000a42189b/frameset.htm]

3) NW 7.3

[http://help.sap.com/saphelp_nw73/helpdata/en/49/d6a9032190736fe10000000a42189b/frameset.htm]

Option#B)

If not Portal Service we can also write EJB methods using UME APIs and expose it as Web Service from the SAP J2EE Engine.

Thanks,

Swapna Priya.

Former Member
0 Kudos

Hi,

Yes, you are correct I am not able to add reference of UME in portal service.

Do you have any links where I can refer to UME being referred in portal service.

Regards

Shakti

fabio_sarmento
Contributor
0 Kudos

Hi, can you provide your NW verision. Can you clarify exacly your doubt? The dpcumentation provided dint helped?

"

Below are help links based on Portal version:

1) NW 2004

http://help.sap.com/saphelp_nw04/helpdata/en/43/cb213e578c0262e10000000a11466f/content.htm

2) NW 7.0

http://help.sap.com/saphelp_nw2004s/helpdata/en/df/e6b74253ffda11e10000000a155106/frameset.htm

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/c9af42a6f6cb6ae10000000a155106/frameset.htm

3) NW 7.2

http://help.sap.com/saphelp_nw72/helpdata/en/49/d6a9032190736fe10000000a42189b/frameset.htm

3) NW 7.3

http://help.sap.com/saphelp_nw73/helpdata/en/49/d6a9032190736fe10000000a42189b/frameset.htm

Option#B)

If not Portal Service we can also write EJB methods using UME APIs and expose it as Web Service from the SAP J2EE Engine.

"

Regards,

Fabio

swapnapriya_neemkar2
Active Participant
0 Kudos

Hi,

If you are looking for info around adding references of UME API then below would be steps.

1) For local PAR projects OR NWDI based DC Projects:

a) Add the JAR file "com.sap.security.api" to project.

For local projects this can be added to the Class Build Path @ (Project Properties -> Java Build path -> Libraries tab -> Add External JARs button). This file can be found in below paths for NW 7.0.

<installation dir>\SAP\IDE\IDE70\eclipse\plugins\com.sap.security_2.0.0\lib

For DC projects:

Go to DC metadata node and right click on used DCs.

Select ADD DC -> go to active tab -> Expand SAP_JEE --> here you will find com.sap.secutiry.api.sda.

Expand the SDA and find the defaultLib public part of it.

Add select that Public part.

Also select build checkbox.

Finally say Add and finish. This should now reflect in your Used DCs and your whole PAR DC would be re-build.

b) And add a Sharing refererence in the Portalapp.xml file as specified below.

<?xml version="1.0" encoding="UTF-8"?>

<application>

<application-config>

<property name="ServicesReference" value="com.sap.portal.usermanagement,htmlb"/>

........................

</application-config>

</application>

.................

Hope this is the information you are looking for. If not can you pls re-phrase which is the thing from UME that you are not able to add reference for.

Thanks,

Swapna Priya.