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

User creation in sap portal

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 03, 2012 at 10:41 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

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.