Using MS Access as backend in Webdynpro Application

hi guys,
I am creating a application in webdynpro in which i want to use MS Access as Backend, so can u please tell how to use MS Access as backend.
What all needs to be done and where the database file needs to be stored etc. please give me all the details...
thanks in advance
Gaurav Makin

Hi Gaurav,
It is pretty easy to use the MSAccess as a  back end from the webdynpro applications. Take the driver as a JDBC-ODBBC driver and  creat the alias name for the  database  server  to use as a data source.Select the model as a Beanmodel  while creating a model in the Webdynpro explorer.
please  find the below code which will help you lot.
Please let me know if you need any further information.
package com.accenture.radar.project;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.naming.InitialContext;
import javax.sql.DataSource;
@author suvarna.chittoor
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class ProjectBean {
     private String name;
     private String description;
     private String du;
     private String saveOrUpdate;
     static DataSource dataSource;
     private Connection connection;
     private ResultSet rs;
     private ArrayList duArrayList =new ArrayList();
     private ArrayList projectArrayList =new ArrayList();
     public ProjectBean()
          try
               //code to look up the datasource
               InitialContext initialContext = new InitialContext();
               dataSource = (DataSource)initialContext.lookup("jdbc/aliasforradar");
          catch(Exception e)
               System.err.print("Error Message"+e.getMessage());
     public static Connection getConnection() throws SQLException, ClassNotFoundException
          System.err.println("In Get Connection");
          java.sql.Connection connection = null ;
          try
               connection = dataSource.getConnection();
          catch (SQLException e)
               System.err.println(e.getMessage());     
               throw e;                         
          System.err.println("After getting Connection from the datasource");
          return connection;
     public void getDUInformation()throws SQLException, ClassNotFoundException
                    connection = getConnection();
                    PreparedStatement ps= connection.prepareStatement("select distinct name from du");
                    rs=ps.executeQuery();
                         while(rs.next())
                              duArrayList.add(rs.getString("name"));
                    ps.close();
                    connection.close();
     public void saveProjectDetails() throws SQLException, ClassNotFoundException
               Connection connection = null;
                         if(saveOrUpdate.equalsIgnoreCase("Save"))
                              connection = getConnection();
                              PreparedStatement ps =
                                   connection.prepareStatement(
                                        "insert into project values(?,?,?)");
                                   ps.setString(1, getName());
                                   ps.setString(2, getDescription());
                                   ps.setString(3, getDu());
                                   ps.executeUpdate();
                                   connection.close();
                                   ps.close();
                         else
                              connection = getConnection();
                              PreparedStatement ps =connection.prepareStatement("update project set du=?,description=? where name='"name.trim()"'");
                              ps.setString(1,du);
                              ps.setString(2,description);                         
                              ps.executeUpdate();                         
                              connection.close();
                              ps.close();
     public void getProjectDetails() throws SQLException, ClassNotFoundException
                         Connection connection = null;
                              connection = getConnection();
                              PreparedStatement ps=connection.prepareStatement("select name,description,du from project");
                              rs=ps.executeQuery();
                                   while(rs.next())
                                        Project_HelperClass proj= new Project_HelperClass();
                                        proj.setName(rs.getString("name"));
                                        proj.setDescription(rs.getString("Description"));
                                        proj.setDu(rs.getString("du"));
                                        projectArrayList.add(proj);
                                ps.close();
                                connection.close();
     public void getProjectInformation()
               throws SQLException, ClassNotFoundException {
               Connection connection = null;
               connection = getConnection();
               PreparedStatement ps =
               connection.prepareStatement("select description,du from project where name='"name"'");
               rs = ps.executeQuery();
                 while(rs.next())
                    this.description=rs.getString("description");
                    this.du=rs.getString("du");
                  connection.close();
                  ps.close();
@return
          public String getDescription() {
               return description;
     public void deleteProject() throws SQLException, ClassNotFoundException
         Connection connection = null;
          connection = getConnection();
          PreparedStatement ps=connection.prepareStatement("delete from sme_support where project = '"name"'");
          ps.executeUpdate();
          PreparedStatement ps1=connection.prepareStatement("delete from wbse where project = '"name"'");
          ps1.executeUpdate();
          PreparedStatement ps2=connection.prepareStatement("delete from supervisor where project = '"name"'");
          ps2.executeUpdate();
          PreparedStatement ps3=connection.prepareStatement("delete from du_lead where project = '"name"'");
          ps3.executeUpdate();
          PreparedStatement ps4=connection.prepareStatement("delete from project where name = '"name"'");
          ps4.executeUpdate();
          connection.close();
          ps.close();     
          ps1.close();
          ps2.close();
          ps3.close();
          ps4.close();          
@return
     public String getDu() {
          return du;
@return
          public ArrayList getDuArrayList() {
               return duArrayList;
@return
     public String getName() {
          return name;
@param string
          public void setDescription(String string) {
               description = string;
@param string
     public void setDu(String string) {
          du = string;
@param list
          public void setDuArrayList(ArrayList list) {
               duArrayList = list;
@param string
     public void setName(String string) {
          name = string;
@return
     public ArrayList getProjectArrayList() {
          return projectArrayList;
@param list
     public void setProjectArrayList(ArrayList list) {
          projectArrayList = list;
@return
     public String getSaveOrUpdate() {
          return saveOrUpdate;
@param string
     public void setSaveOrUpdate(String string) {
          saveOrUpdate = string;
Thanks and regards
Ratnakar reddy alwala

Similar Messages

  • Accessing Km document in webdynpro application

    Hi All,
    Is it possible to access the file which is uploaded in KM through webdynpro code?
    Can anybody help in this?
    Regards,
    V Karthi

    Thank you anagha for the link.
    But i'm facing some issue with the code .i think there is a problem in typecasting the Iuser and moreover whn i try to print the sap user i'm getting the following error.
    "sapUser Transient data: *************************************************************************** * com.sap.security.core.persistence.imp.PrincipalDatabag Tue Jun 23 10:13:29 GMT05:30 2009 * UniqueID: USER.R3_DATASOURCE.J2EE_GUEST * Type: USER * Home data source: R3_DATASOURCE * Private id part: J2EE_GUEST * * Existence not checked. * * "com.sap.security.core.usermanagement"|->"j_authscheme" (no time limit)="anonymous" *************************************************************************** Persistent data: *************************************************************************** * com.sap.security.core.persistence.imp.PrincipalDatabag Tue Jun 23 10:13:29 GMT05:30 2009 * UniqueID: USER.R3_DATASOURCE.J2EE_GUEST * Type: USER * Home data source: R3_DATASOURCE * Private id part: J2EE_GUEST * * Principal exists. * * Direct parents: * GRUP: GRUP.SUPER_GROUPS_DATASOURCE.EVERYONE *       GRUP.R3_ROLE_DS.SAP_J2EE_GUEST *       GRUP.SUPER_GROUPS_DATASOURCE.Anonymous Users * ROLE: * "com.sap.portal.dsm"|->"DebugControlFlag" (no time limit)= * "com.sap.security.core.usermanagement"|->"mobile" (no time limit)= * "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="J2EE_GUEST" * "com.sap.security.core.usermanagement"|->"title" (no time limit)= * "com.sap.security.core.usermanagement"|->"telephone" (no time limit)= * "com.sap.security.core.usermanagement"|->"salutation" (no time limit)= * "com.sap.security.core.usermanagement"|->"jobtitle" (no time limit)= * "com.sap.security.core.usermanagement"|->"fax" (no time limit)= * "com.sap.security.core.usermanagement"|->"department" (no time limit)= * "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="J2EE_GUEST" * "com.sap.security.core.usermanagement"|->"locale" (no time limit)= * "com.sap.security.core.usermanagement"|->"timezone" (no time limit)= * "com.sap.security.core.usermanagement"|->"firstname" (no time limit)= * "com.sap.security.core.usermanagement"|->"email" (no time limit)= * "com.sap.security.core.usermanagement"|->"referenceuser" (no time limit)= * "$serviceUser$"|->"SERVICEUSER_ATTRIBUTE" (no time limit)= * "com.sapportals.portal.navigation"|->"uipmode" (no time limit)= *************************************************************************** ep5User WPUser default_namespace: com.sap.security.core.usermanagement [email protected]f WPUser: (J2EE_GUEST)[[email protected]271] UME user object Transient data: *************************************************************************** * com.sap.security.core.persistence.imp.PrincipalDatabag Tue Jun 23 10:13:29 GMT+05:30 2009 * UniqueID: USER.R3_DATASOURCE.J2EE_GUEST * Type: USER * Home data source: R3_DATASOURCE * Private id part: J2EE_GUEST * * Existence not checked. * * "com.sap.security.core.usermanagement"|->"j_authscheme" (no time limit)="anonymous" "
    Can you please provide me the sample code for accessing the KM document through webdynpro?
    Regards,
    V Karthi

  • Using the Suspensibility property of a Webdynpro application

    Hello Experts,
    I have  around 10 WDJ applications.All these applications are hosted on different iviews on portal.
    I use the portal navigation to navigate between these applications.I want to use the Suspensibility  property of the applications so that i dont have to reload them everytime they are called by other applications.
    My Question is : The Suspensibility  property stores the state of the application as it is. This will be done for multiple applications. Does anyone know where is this temporary storage done and how much of an effect will it have on the performance of the applications overall.
    Regards,
    Virag

    Hi Virag,
    You can use Suspend & Resume plugs for the same. Refer below SAP NetWeaver Library link & asoociated links.
    http://help.sap.com/saphelp_nw04s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm
    Hope this helps you.
    Kind Regards,
    Nitin

  • How to use call transaction stmt from webdynpro application

    Hi Expers,
    Can I use call transaction 'tcode' in my webdynpro application, I have tried in my application but i am getting short dump saying
    Error analysis+
    An exception occurred that is explained in detail below.The exception, which is assigned to class'CX_SY_SEND_DYNPRO_NO_RECEIVER',  was not caught and therefore caused a runtime error. The reason for the exception is: During background processing, the system  attempted to send a screen to a user. Current screen: "SAPLMGMM " 0060.
    I haven't used any more statements in my application am sure from my application side everything perfect. but I have seen a screen shot
    with SAP screen in webbrowser.
    Please help me out if you are not clear abt my doubt please ask me for clear idea.
    Thanks in advance
    Phalani M

    Hello,
    Since you can't use the call transaction command in web dynpros components, I suggest you to create a report and fill a BDC table on this and use the call transaction in this report.
    So, in your web dynpro component you can use a command SUBMIT to create a job in background.
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards.

  • Accessing SAP backend from j2ee without entrprise portal

    Hi All,
    I have a requirement which is migrating the applications hosted on tomcat server to SAP web AS and accessing the SAP ERP system from the web application.As of now i have two options one is importing the web application into NWDS and creating a webdynpro application or creating j2ee application.
    <b>Now my doubt is how do i access sap ERP system from the application(I dont have any enterprise portal which should have made my job easy by creating JCO destinations and accessing them in the webdynpro application)</b>
    Please let me know how to access backend from j2ee or webynpro from NWDS without Enterprise portal
    Thanks
    Bala

    Hi,
    you could use native JCo.
    More her: http://service.sap.com/connectors
    Rgds
    Markus

  • Webdynpro application to find forntend printer name

    Hi Experts,
    My webdynpro application(runs within SAPGUI) is to print the smartform in local user printer. I'm using function module rspo_frontend_printer_for_dev to find the local windows printer. This function module logic is running fine in SE38 ( ABAP editor) to get the default windows local printer name in export parameter value in prdefault  <longprintername> but if I use the same function module in Webdynpro application it give export parameter value in prdefault  <__default> (which is not giving the longprintername).
    How do I get the local windows default printer by using this function module or Is there any other approach I need to follow to get the printer name?
    Note: This application does not required PDF print preview. I have also used submit program logic in webdynpro to call zreport program(using same function module) to find the local windows printer name but it give the same output prdefault  = <__default> .
    Your help is highly appreciated.
    Thanks,
    Raj

    Hi Thomas,
    As you said in this forum How to print the smartforms to the windows local printer from WD4A  i will ask for the setup for each of these printers within the SAP backend print infrastructure
    Thanks,
    Raj

  • Calling webdynpro application in standard POWL

    Hi Experts,
    I have a requirement  I need to call a webdynpro application from the POWL ALV list when I click on the one of the cell whihc contains the link, it triggers the Feeder_class->handle_action method, Here I am creating the URL ,
    COuld you please any one suggested me to use the URL, to call the webdynpro application, When calling he function module to execute the link I am getting the error like ,HTML_ERROR.
    Thanks in Advance'
    Swamy

    Try This:
    DATA:
      lv_val  type <type of parameter>,
      lv_url_string TYPE string,
      lv_url_c(250) TYPE c.
    get absolute URL of Application, first try HTTPS
    CALL METHOD cl_wd_utilities=>construct_wd_url
      EXPORTING
        application_name = <App_Name>
        in_protocol      = 'HTTPS'
      IMPORTING
        out_absolute_url = lv_url_string.
    Try without HTTPS
    IF lv_url_string IS INITIAL.
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = <App_Name>
        IMPORTING
          out_absolute_url = lv_url_string.
    ENDIF.
    append client and logon language to URL
    CONCATENATE lv_url_string
                '&sap-client=' sy-mandt                         "#EC NOTEXT
                '&sap-language=' sy-langu                       "#EC NOTEXT
      INTO lv_url_c.
    append parameter to pass variable
    CONCATENATE lv_url_c '&abcd=' lv_val INTO lv_url_c.
    start browser with URL
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        url                    = lv_url_c
      EXCEPTIONS
        frontend_not_supported = 1
        frontend_error         = 2
        prog_not_found         = 3
        no_batch               = 4
        unspecified_error      = 5
        OTHERS                 = 6.
    .. SY-SUBRC CHECK..

  • How to use java+access connectivity without using ODBC

    Hello Sir/Madam,
    I just want to take a small help from u for using ms-access as backend to java without using the usiual jdbc:odbc bridge.
    i'll tell u the scenario which i'm facing now.
    i'm in need of sending my software(frame appl.) which uses access as backend to different agencies whom i dont even had contact. so i just dont know what is their status regarding computer knowledge, they might be data-entry-operators or of that type. so i just cant ask them to create an odbc or anything.
    so in this case is their any possibility to connect java with ms-access with out creating odbc in windows.
    please be kind to solve my problem.
    Thanking You,
    Ranjith.M

    You will need some kind of JDBC driver. And there are
    JDBC drivers available for Access that do not use
    ODBC, so you could use one of them.There are?

  • Access ABAP table in Webdynpro Java application

    Hi All
    Is it possible to access ABAP table in Webdynpro Java application
    Please provide your input
    Thanks
    Karthi D.

    Hi you will connect to the remote SAP system, the
    backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
    of your Web Dynpro project
    In WebDynpro java you RFC by using Model :
    Adaptive RFC Model
    1. automatically adapts to changes in function module signature
    2 provides support for data types and extensibility
    3.support for different structure definitions in different backend
    systems (release dependent structures, custom adaptation)
    Basic principles and guidelines
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    See this blog
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks,
    Tulasi

  • Error in WebDynpro Application in accessing "MIME Repository"

    Hi All,
    I am writing a XML file to Mime Repository from WebDynpro Application.
    To do this, I developed the below code:
      DATA mime_repository TYPE REF TO if_mr_api.
      DATA url TYPE string VALUE
    '/SAP/BC/WebDynpro/SAP/PUBLIC/BC/SSR/uuielibs/example.xml'.
      mime_repository = cl_mime_repository_api=>get_api( ).
      CALL METHOD mime_repository->put
        EXPORTING
          i_url                     = url
          i_content                 = content
          i_suppress_package_dialog = 'X'.
    In execution process,I am getting an error,
    "Screen output without connection to user" and "DYNPRO_SEND_IN_BACKGROUND"
    In calling the method IF_MR_API~PUT, I have passed "X" to I_SUPPRESS_PACKAGE_DIALOG to avoid Transport Request screen.
    Can you please suugest how can I overcoem this issue.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • Error in webdynpro application using RFC's

    Hii,
    I have a webdynpro application where i use RFC to add a new customer to the database.I have used datacust and Uicust to do the corresponding coding.While running the application, values are not getting added from the front-end...giving an error "Error in adding customer".While i execute the RFC at R3 and enter new customer values,values are getting saved successfully.
    I am not getting to solve the problem.Please do help out.
    Thanks,
    Parama.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • Need help in developing a webdynpro application using UWL API

    Hi developers,
    Iam developing a new WebDynpro application for UWL using UWL API.the functionality is to dispaly the summary of UWL like number of unread items, total items.
    Iam getting the problem while deploying the application, iam getting warning while deployed the application.
    I have given all possible ways mentioned in the below forum link
    Re: Accessing PortalRuntime at runtime?
    The exact problem is coming at reference file.
    Please giude me how to move forward.
    1. Below is the error when given "tckmcbc.uwl~api" in the service entry
    deployed with warning :
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/UWLCountDemo for startup. Reason=Clusterwide exception: Failed to start dependent service ''tckmcbc.uwl~api'' of application ''local/UWLCountDemo''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
    2.Below is the error  when i gave PORTAL:sap.com/tckmcbc.uwl~api in the sharing refernce entry
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/UWLCountDemo cannot be started. Reason: it has hard reference to resource tckmcbc.uwl~api with type application, which is not active on the server.
    Thanks in Advance
    Sekhar.
    Edited by: sekhar c on Mar 21, 2009 11:24 AM

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • How to use jcifs to access SMB share via webdynpro app ?

    Hello All,
    I am trying to access a protected intranet share via my webdynpro application. I have uses jcifs api to access the jcifs functions. However, I am stuck with running the application on webAS as it gives a runtime exception  java.lang.NoClassDefFoundError: jcifs/smb/SmbFile .
    I included the jcifs jar into a lib project and also deployed it onto the j2ee engine. Compilation works fine now, but it fails it runtime. Can someone please tell me what is the best way to use external libraries i.e jars in one's application so that it has no runtime errors on j2ee engine ?

    thkx Mahesh for the info, i had been trying the destination service method for some time now
    but there is a portal runtime exception when i try
    destinationService.getDestinationNames("RFC") or for WebService or HTTP
    i check the default trace and this is the error stated there
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/IDException.java):20: class IDException is public, should be declared in a file named IDException.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/IDMessage.java):48: class IDMessage is public, should be declared in a file named IDMessage.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/IDExceptionMessage.java):10: class IDExceptionMessage is public, should be declared in a file named IDExceptionMessage.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/ExternalizableException.java):19: class ExternalizableException is public, should be declared in a file named ExternalizableException.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/LogUtil.java):26: class LogUtil is public, should be declared in a file named LogUtil.java
    (source unavailable)
    5 errors
    Please help regarding this.

  • Access UME from Webdynpro Application

    Access UME from Webdynpro Application u2013 display the user attributes from Webdynpro iview
    How to go for this...??
    Edited by: saurav mago on Sep 1, 2008 6:45 PM

    Hello Saurav,
    Try this:
    import com.sap.security.api.IUser;
    import com.sap.security.api.IUserAccount;
    import com.sap.security.api.UMException;
    import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDUMException;
    try {
         IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
         IUser sapUser = wdClientUser.getSAPUser();
         if (sapUser != null) {
              java.util.Iterator parentGroups = sapUser.getParentGroups(false);
              while (parentGroups.hasNext()) {
                   String parentGroupName = (String) parentGroups.next();
                   if (parentGroupName.equals("GRUP.R3_ROLE_DS.Z:EP_XPTO123")) {
                        return true;
    catch (WDUMException e) {
         e.printStackTrace();
    OBS.: sapUser can be used to access a lot of info regarding the user.
    OBS.: you need to add a reference to "com.sap.security.api.sda", that is in the default SC SAP_JEE, if I well remember.
    Regards,
    Douglas Frankenberger

  • Error occured while accessing WebDynpro Application

    Hi,
    I am getting below mentioned error when i am trying to access WebDynpro application through Portal.
    Appropriate roles have been assigned to me in Portal as well Dynpro.
    What is the cause of this error message ?
    Is this something to do with Authorization or User Mapping ?
    #/System/Server#Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller GTMLMLF not authorized, only role adminis
    trators is allowed to access JMX#
    Pls Guide!!!
    Answers will be rewarded.
    Regards,
    Rohan

    Hi Rohan,
    Might be the user you are using is not in the Admin group.
    You can assign the user into that group using the Visual admin or
    User management by logging using the j2ee_admin user.
    Reward points if helpfull.
    Regards,
    Vamshi.

Maybe you are looking for

  • Adobe form: all employees  list in a single pdf----URGENT

    Hi experts, I have one adobe form, which is giving output correctly. input : 10 employees. output in pdf : pdf is coming in output.if i want to save the file, each employee data is storing in a separate file. my requirement : i need to save all the e

  • My blackberry messenger disppeared!

    Please, how do I recover my blackberry messenger icon? I noticed my blackberry messenger icon, my facebook disappeared from my home screen. I was able to download facebook icon but I don't know how to go about reinstalling my blackberry messenger ico

  • After instaling the ios 8.2 my camera and flash light stoped to work. I have a iphone 5c.

    iPhone 5c ios 8.2 camera and flash light stoped to work

  • RFC connection to Crossgate

    I am setting up an RFC connection to Crossgate for transferring iDocs. I have created the tRFC in SM59 and the test returns successful. When I call the transaction, the iDoc is generated succesfully, however in WE02 it has a status of 20, with the er

  • "Communication Error" in Interaction Center

    Hi Gurus, while accessing Interaction center i am getting communication error. prioer to this i was getting "BSP error in ICF nodes. Specific ICF nodes have to be activated in transaction SICF for BSP extension HTMLB check the following ICF nodes as