Accessing ContentAdministrator from WebDynpro

Hi all,
i want to access content Administrator from WebDynpro Appliucation using api's.
are there any api's for accessing deployed applications.
Thanks in advance
regards
Naidu

Hi,
you can use WDDeploymentManager to get access to some infos about the deployed WD content.
The WD Content Admin shows more infos - but this data is not available through public APIs.
Best regards
Jochen

Similar Messages

  • 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

  • How to access internal table data from webdynpro to Flex application.

    Hi Connoisseur
    The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and  Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
    There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
    i tried to do pass internal table value  to flex-datagrid.but its not work.
    i would like to know
    1.how to access internal table data from webdynpro to Flex application.
    2.how to pass the internal table to flex-datagrid.
    2.how to pass dynamically in ADOBE flex.
    3. how to do Flex is receiving the wd context data?
    4. how can we update WD context with FLEX data.
    Ple give me sample example and step by step procedure.
    Regards
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • How to access custom JAVA webdynpro application from an iPad?

    Hi,
    We are trying to access custom JAVA webdynpro application from an iPad, but nothing is opening up from the iPad browser.
    What can be the possible reasons for this? Any kind of SICF enablement or opening up of ports in the network?
    Any inputs are welcome!!
    TIA,
    Regards
    Deepthi

    Hi,
    it is possible to show Java Web Dynpro applications on a mobile device in general, but the controls and the ui should be optimized for the mobile device.
    Safari devices are not officially supported so far for Mobile Web Dynpro.
    Supported are Windows Mobile devices and Blackberry devices. I also got some good results with Symbian devices.
    You can find more inforamtion on Mobile Always Connected at:
    ht[http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm]
    Best Regards,
    Stefan

  • Can we access PI tables from WebDynpro Java via PI 7.1?

    Hi Experts
    Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
    https://www.sdn.sap.com/irj/sdn/javadocs
    Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
    Thanks
    Neha

    Hi Neha,
    You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
    I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
    Hope this is useful.
    Regards,
    Seema Rane.

  • Access data from 2 SAP systems into WebDynpro..Please guide :)

    Hello,
    Is is possible to access/retrieve data from 2 seperate SAP systems in Web Dynpro?
    To ellaborate more:
    Under normal situation - We create a Model using which you can access the required BAPI/RFC and using the JCo this connection is complete.
    So, in the SLD there is one JCo connection/object for this model.
    Now as per my quesry, I want to access data from 2 systems... like CRM & R/3.
    So how can I do this:
    1. Create 2 seperate model objects and then do Model Context Mapping. If this is rite, then I will have to create 2 JCo connections in SLD.
    2. Is is possibe that under one model (example this model is accessing R/3), I need to access data from CRM <i><b>without creatiing another model</b></i>. So that are the possiblities? Secondly is this way/path recommended?If no, how should I proceed.
    Hope my requirements are clear
    Awaiting Reply.
    Thanks & Warm Regards,
    Ritu

    Ritu,
    There is no way you can create single model for 2 different R/3 systems (unless SAP decides to implement this in later versions).
    If you still want to stick with a single model approach, I would suggest to use <b>Webservice</b> model where the R/3 interaction part would be taken care by WebService.
    Ashutosh

  • How to access SQL tables from WebDynPro ABAP application ?

    Hi,
    I am trying a scenario, where I need to send an user ID to SQL server table (update/modify/delete) from webDynpro ABAP application.
    Basically ,I am trying to know:---
    a>How to write a SQL Connection from ABAP code within webdynpro ABAP application
    b>What are the ways to do it.(by code or any other API/mechanism)
    I appreciate if anybody knows this.
    Thanks
    Praveen

    Hi,
    The EXEC CONNECT ... is usually used in the procedural ABAP code. For this you can refer to the ABAPDOCU.
    I dont have any sample code on the classes I listed try to check out them for the parameters and the methods they have.
    In WD for Java, we have these connection classes to connect to any databsae server.
    Or try to create an RFC with DESTINATION for this
    Pls check out this link for this -
    Pull data from another r3 server using abap dynpro
    Regards
    Lekha

  • Accessing Webdynpro Java iview functionality for print from webdynpro code

    I know.. you would love to post me with n different blogs and forums discussion about how to print from webdynpro java application.
    But lets read before what i am looking for..
    There is standard "Print" function available on webdynpro for java iview.. and layout and all its just fine for us. though we want to trigger this event from a screen button. as going to iview properties is very user friendly.
    I was looking for some iview api which can help me.. We are on NW 7.01 SP6 at the moment. And this is for standard ESS applications.
    Thanks a lot for your inputs.
    Regards,
    Sudhir

    Hi
    You can write Java program for printing. Call the java class from screen (button or Url). Also you can write the content to XMl file.open the xml file in action. so that u will get print preview and print option.

  • How to Execute the Business objects created in ABAP from webDynpro applicat

    Wht is the steps , or where the help documents are available for accessing the Business objects created in ABAP or R/3 systems from webDynpro project.

    Hello Vishal,
    I couldn't find any useful documents for your purpose.
    However i had a similar requirement and had implemented the same using GCP APIs. But before i send you the code help, i would like to know your exact requirement. What are you trying to achieve? Are you just wanting to execute the BO and get the result? Or is your requirement has got something more to do?
    Regards,
    Sudeep.

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • Webservice Exception from Webdynpro

    Hi,
    We are on 7.1 SP04 Patch 1. We have created a webservice with http and None Authentication and deployed on EP 7.0 server. We have set a constant User Name and Password in Visual Admin.
    We are able to execute this webservice successfully from Webservice navigator.
    We have developed a Webdynpro appln with this webservice. We are getting an exception when the webservice is getting executed from Webdynpro appln.
    "Exception on execution of webservice with WSDL url '<wsdl url>' with operation 'webservice name' in interface"
    We checked in the trace file and got the following message
    com.sap.mdm.logging.MdmLogger warning
    WARNING: PingServerCommand failed
    Have any one faced this issue?
    Thanks,
    Arun prabhu

    Hi Walter,
    The webservices are developed using MDM Webservice generator. The webdnpro application has to access MDM Data using MDM Webservices / MDM Java APIs.
    This was working fine with MDM 7.1 SP03. Now we have upgraded to MDM 7.1 SP04.
    When I try to access MDM Data from webdynpro using MDM Java API commands, I am getting an exception at AuthenticateUserSession Command. While access using MDM Webservices, I am getting an webservice exception and an entry in trace file.
    Thanks,
    Arun prabhu S

  • Calling POWL Application From Webdynpro

    Hi Experts,
    I have a requirements wherein I have to call a POWL application from Webdynpro. Please let me know how to achieve this.
    POWL - Personal Object Work List
    Any help is welcome.
    Thanks
    Divakar

    Hello Diwakar,
    Based on your query i understand that you need to embed your powl into a web dynpro application to view it.
    u can do it in two ways..
    the first one is just for testing..
    prerequisites...
    just check ur web dynpro service is activated.
    Use transaction SICF
    On the Maintain Service screen leave the default values as they are and choose Execute
    In the Virtual Hosts/ Services tree control locate the node sap/bc/webdynpro. Right click on
    the node and choose Activate Service from the context menu.
    1. Navigate to the initial screen of the SAP Easy Access Menu.
    2. Do a right-click on Favorites and choose Add other objects from the context menu.
    3. Choose Web Dynpro Application from the upcoming dialog box list.
    4. On the Web Dynpro Application subscreen, make the following entries.
    Web Dynpro Applicat.-->POWL
    Parameter -> APPLID   (Be sure to select the parameter via input help.)
    Value ->Specify the APPLID defined for the POWER List to test.
    Leave rest unchanged.
    click OK.
    By double-click on the created favorite, the specified POWER List will be displayed in a separate
    Browser window..Only the basic functionalities can be tested this way.
    The second way is in which you manually insert a powl component in web dynpro appl..
    1. create a web dynpro component.
    2. Specify POWL_UI_COMP as the used component in the properties and give a suitable name.
    3. In the main view. insert a ViewcontainerUIelement.
    4. In the component controller properties . click on create controller usage. and select POWL_UI_COMP
    INTERFACECONTROLLER
    5. Go to the windows selection and right click and select embed view on the ViewcontainerUIelement of the Main view. select POWL_MASTER from input help.
    6. Create an outbound plug , name it as 'OUT'. link it with DEFAULT plug by dragging.
    7.Go to the methods tab and in the Handle Default method .
    and paste the following code..
      DATA: lv_inbox_query TYPE string,
            lt_query_params TYPE rsparams_tt,
            lwa_param TYPE rsparams.
      DATA lv_qname TYPE POWL_QUERY_TY.
    lv_qname = 'QUERY1'.
      CALL FUNCTION 'POWL_ENCODE_SELPARA'
        EXPORTING
          i_selpara        = lt_query_params
          i_escape         = '\'
        IMPORTING
        e_selpara_string = lv_inbox_query  .
        wd_this->fire_out_plg(
          applid =  'POWLappl'                          " powl_applid_ty
          forallq =   'X'                        " powl_xflag_ty
          qselpara =   lv_inbox_query                       " string
          refresha =   'X'
          refreshq = 'X'                    " powl_xflag_ty
          srvgroup =   'X'
          qname =    lv_qname                " rzlli_apcl
    where QUERY1 is the name of your default query and POWLappl  is your powl applid.
    7. create application and test

  • Trigger MDM workflow from Webdynpro Java

    Hi All,
    After updating records in MDM, I want to trigger an MDM workflow from Webdynpro Java and pass those updated records to workflow. Any inputs on how to accomplish this. Workflow has already been developed using MSVISIO by the MDM team.
    Thanks,
    Tom

    By following steps, it is possible to integrate  workflow (or any workflow designed in MDM) within portal:
    1. UWL (Universal Worklist): The UWL gives users unified and centralized way to access their work and the relevant
    information in the portal. It collects tasks and notifications from multiple provider systems. One can expose MDM
    workflow functionality on Portal using UWL.
    2. JAVA APIu2019s: MDM Java API consists of set of classes related to MDM workflows through which one can create an
    application that provide the MDM workflow functionality and expose the application as an iView in the portal.

  • Using JDO from webdynpro component.

    Hi,
    I am using JDO to access the database.I have created the persistance layer, businees layer following the tutorial "getting started with JDO".  they are using Servlets and html as front end. But i need to use webdynpro as front end.can we acess the methods in the business logic from the webdynpro component?
    If yes, can you please let me know how to access Database form webdynpro components?
    Thanks in Advance,
    Lakshmi.

    Hallo Lakshmi,
    It is technically possible to wrap JDO classes/interfaces using the new JavaBean ModelImport (read WebLog /people/david.beisert/blog/2004/10/26/webdynpro-importing-java-classes-as-model)
    But this is usually not desirable to achieve optimal scalability and performance.
    Why? JDO objects generally require holding locks of the persistent objects they represent. By binding these objects directly in Web Dynpro contexts, locks would remain attained as long as the user interaction is taking place. JDO theoretically could better adress this, but SAP's implementation currently does not allow attaching/detaching JDO objects from the transaction.
    => the best way of doing this, is by using JDO objects only as DataTransport objects. Someone familiar with JDO should know how this design pattern works. This means, that these JDO objects are not themselves persistent, but are only used to hold transient data. These JDO classes can be imported into Web Dynpro (using the JavaBean model) and bound to Web Dynpro contexts. But persisting the data means to hand the DTOs over to a service layer, which then copies the data, acquires the locks, and saves and commits the data to the persistent storage.
    No tutorials for such a scenario exist at the moment.
    Greetings, Bertram

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

Maybe you are looking for

  • Gnome 3.2 suspend with status menu: screen is not locked after wakeup

    Locking the screen with gnome-screensaver-command --lock or with the lock screen option from the status menu works fine. However, when the suspend from the status menu is used, although it does seem to go into lock mode before it suspends (the screen

  • Crystal report could not show dynamic picture

    I develop crystal report which show dynamically picture in my PC but when I send it to server which has not be installed program just install asp.net framework 2.0 , it could not show dynamic picture. How should I do, please advise.

  • Calling WDA from IC Webclient

    Hi All: We are planning to build a WDA application and integrate with CRM IC Webclient application (BSP app). Any ideas on how to integrate and pass the context data between the two applications? Thanks a million!!

  • Need ALV LIST for displaying Dynamic Internal Tables

    Hi Guys,                  I have some thing like 2 Dynamic internal tables. Say 1st Internal table will be filled based on some condition. say 2nd table will be filled based on some condition. When appending the 1st Internal table, if that internal t

  • HTTP connection between two java programs(classes)

    Hello everyone, here's my question: I need to create two java applications(just two console apps) that can exchange data with each other only via the HTTP protocol. I guess I have to use the URLConnection class. How can I do that? Basically I need to