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

2 General Questions concerning Web Dynpros

Hi all,

While reading the Web Dynpro documentation I came up with two questions:

1) Web Dynpros are supposed to be incorporated into the portal (starting from EP 6.0 anyway), probably in the form of a web-dynpro-based-iview (just like BSP based iview or any other). Is there a way to use the user management services inside the dynpros (read user data, store personalization data and execute the Model through user mapping to the backend system).

2) Can Web dynpros communicate with each other (again, assuming two of them are incorporated in the same portal page)?

Please enlighten me 😊


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2003 at 01:15 PM

    Hello Amit,

    It is a pleasure for me to enlighten you 😊

    1) Web Dynpro applications are first class citizens within the Enterprise Portal. You are right, the application is based on Web Dynpro and you then include it (using the Web Dynpro Wizard) into the portal. You can make use of the user management as well. Portal and Web Dynpro Runtime are using the same UME of the J2EE engine.

    To force user authentication (a logged in user) or to force user logoff, the class WDClientUser provides the methods forceLoggedInClientUser , getLoggedInClientUser and forceLogoffClient¬User. There is also a ?comfort? method checkAuthentication that reads the configuration of the current Web Dynpro application and checks if user authentication is required. If so, it forces a user login.

    To access the current client user (the client user attached to the current session), the method

    getCurrent¬User of the class WDClientUser can be used. Example:

    // get the currently logged in user

    IWDClientUser user = WDClientUser.getCurrentUser();

    // check whether the current user is authenticated or anonymous

    if ( user.isAnonymous() ) {

    // anonymous user

    } else {

    // authenticated user


    User mapping is possible too:

    Web Dynpro App:

    - set Authentication on "true" in Web Dynpro application (application properties - > edit -> new)


    As Administrator:

    - Go to System Administration, System Configuration, System

    - Choose the Portal Content

    - edit object

    - go to Catogory - User Management

    - Logon Method -> UIDPW

    - User Mapping type -> admin, user

    As User:

    - Personalize

    - User Mapping

    - Choose the system (deployment server of the Web Dynpro application)

    2) Web Dynpro apps are able to communicate with each other if they are on the same portal page.

    Please check out the following links. Here you will find:

    - Documentation: How to program portal eventing to program portal eventing

    - Documentation: How to integrate a Web Dynpro app into EP 6.0 to integrate a web dynpro application into sap ep 6.0

    Hope that helps!

    Best regards, Karin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christopher Cedro


      Two requirements you would need:

      - using the adaptive RFC

      - EP 6.0, SP 2+ (within Personalization the User Mapping must appear within the left frame)

      Except from Marcos second point (2. User calls an iview containing a Webdynproapplication - no authentication) we demonstrate exactly this process - but the Web Dynpro app is authenticated!

      Do you use the right Portal SP and adaptive RFC?

      Best regards, Karin

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.