How to consume UME API in webdynpro applications

Hi ,
i want to consume the portal services in webdynpro applications.
here i want to  use UME Service .
how to consume it my WD applications .
isit  the same way as described in the below link : [http://help.sap.com/saphelp_nw70/helpdata/en/d2/0357425e060d53e10000000a155106/content.htm]
Regards,
Govindu

Yep, the http://help.sap.com/saphelp_nw70/helpdata/en/d2/0357425e060d53e10000000a155106/content.htm shows how to establish a reference to a portal service in order to consume it in your application. But it works only if you have the API of the portal service you want to reference.
BR, Siarhei

Similar Messages

  • How to upload excel file in Webdynpro application using ABAP

    Hi Experts,
    Am developing a webdynpro application in which it will take an excel file as input and display the contents in the form of a table in output. I am able to upload tab delimited text file and populate the table using the below code but not able to do the same with .xls file. Pls let me know if I need to use a different function module for upload excel file.
    get single attribute
      wd_context->get_attribute(
        EXPORTING
          name =  `DATASOURCE`
        IMPORTING
          value = l_xstring ).
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
          in_xstring = l_xstring
        IMPORTING
          out_string = l_string.
      SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE i_data.
    Bind With table Element.
      LOOP AT i_data INTO l_string.
        SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
        READ TABLE fields INTO lv_field INDEX 1.
        fs_table-name = lv_field.
        READ TABLE fields INTO lv_field INDEX 2.
        fs_table-age = lv_field.
        APPEND fs_table TO t_table1.
      ENDLOOP.
    lo_nd_data = wd_context->get_child_node( 'DATA_TAB' ).
    lo_nd_data->bind_table( T_TABLE1 ).
    Thanks,
    Subathra

    Dear Exports
    Can anyone guide me how to uplode the .xlsx or ..xls formatted excel file using abap webdynpro without converting it to .txt file. Because my client requirement is only to upload the excel file. because to convert the .xlsx flie to .txt file it will be time taking and cost expanssive. Another requirement is suppose today i have create a application for uploading a file which has 8 columns and 10 rows. suppose tomorrow the client will make some changes in that flat file means the client will add 2 extra columns and 10 more columns in that fil. and will upload that file. Then the new file will be display on the browser or old file. but my requirement is to display the new file in browser.
    Can anyone kindly help to solve my problem. I am completely fresher in this field and I need to do it as soon as possible. Please help to solve the problem. 
    Regards
    Rashmita

  • How to capture the parameter in webdynpro application?

    Hi ,
    We have a requirement like this :
    the scenario is :
    user will get a mail to  inbox(here mail is coming from SAP Workflow) saying that :"proposal is waiting for your approval".for details please click on the below link:
    once user clicks on the link it has to open up the webdynpro application and has to display the details of the particular proposal no.
    how to pass the proposal no to the webdynpro application URL and how to capture the proposalno in webdynpro java?
    Thanks in advance.
    Regards,
    Pavani

    From the workflow when you create the link, also add the proposal number as an url parameter.
    For example if the url for requesting WD application is <WD_URL>, then URL with parameter would be
    <WD_URL>?PROPOSAL_NO=<actual_proposal_number>
    In the webdynpro, you can access this parameter with the following piece of code(ideally in wdDoInit of component controller).
    String proposalNo = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("PROPOSAL_NO");
    Regards
    kk..

  • How to close the browser from webdynpro application

    Hi All,
    I need  to implement the closing the browser where the webdynpro  application running by click on some button in that application.
    Can any body tell me how to implement that.
    Regards
    Vijay

    Hi,
    I resolved as follows(WebDynpro7.3) :
    1.- Create a plug in the "Window" with the name "Exit" and parameter "closeWindow" the type Boolean, after edit it and put type Exit.
    2.-Repeat the same but in the "Interface".
    3.-Place the following code in the action:
      IWDWindowController iwdWindowController =wdControllerAPI.getWindowController();
      IWDWindowInfo windowInfo=iwdWindowController.getWindowInfo();
      IWDOutboundPlugInfo  iwdOutboundPlugInfo=windowInfo.findInOutboundPlugs("Exit");
      iwdWindowController.firePlug(iwdOutboundPlugInfo, new HashMap(){{put("closeWindow",true);}});
    regards.
    JCARMONA

  • How to call a servlet from Webdynpro application

    Hi All,
        I am new to SAP . I have requirement to call a SERVLET which is on a different application server from my webdynpro application , the servlet will return a file .. i need to display that file to the user .. can some one tell me how this can be done .. If possibel please provide some sample code.
    Regards,
    Tarun.

    Hi
    Check this
    1. How to access Servlet information from a webdynpro application ?
    Regards
    Abhijith YS

  • How to call UME API from ABAP?

    Hello all,
    I want to call the UME API using ABAP to change portal users from backend system.
    Is this possible without JAVA development? How?
    Thanks for your help,
    Regards,
    Guido Knapp

    Hi,
    Refer this link you wil get some idea
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/3820a37edeec45a91dd6e45fba15b8/frameset.htm
    Regards,
    Senthil K.

  • Reg using the GP APIs with webdynpro applications

    Hi Experts,
    I have been implementing webdynpro appln using GP APIs as a callable object in my application. In my webdynpro application i have been using RFCs to access data from the R/3 system.
    Are there any setting I need to do in Guided Procedures (portal) to run the application in portal.
    Can any one of you explain me regarding what are all the setting i need to do from the Guided Procedures perspective while using callable object that interact with an R/3 system?
    Also, I would be grateful for any other valuable suggestions from you regarding implementing webdynpro appln using GP APIs as a callable object.
    Thank You.
    Regards,
    Murthy J N.

    Please follow the below links for Webdynpro Development with Guided Procedures :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59
    https://www.sdn.sap.com/irj/sdn/xapps?rid=/library/uuid/73cc8084-0b01-0010-1788-b2304424605a
    Hope it helps.
    Regards,
    Shikhil

  • How to close current window  of webdynpro application using webdynpro java

    Hi All,
    u201CTo close the current  window  of webdynpro application"
    if i using exit plug its giving the following error in portal runtime.
    u201Ccom.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application! u201C .
    could you send me the  process how to use  portal navigation for the above scenariou2026u2026instead of exitplug.
    Thanks& Regards,
    Srinivas.

    Hi,
    Follow the steps below:
    1. Create a new Window and embed a View which needs to be opened from the main view.
    2. Create a context attribute of type IWDWindow (Java Native Type Option)
    3. Write the following code in the controller for opening the new window:
    IWDWindowInfo windowInfo = (IWDWindowInfo)  
                                                     wdComponentAPI.getComponentInfo().findInWindows("<windowname>");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    wdContext.currentContextElement().set<contextattributename>(window);
    window.show();
    4. In the new window, create a contextattribute and bind it to the attribute created in controller and on action of the close button write the following code:
    IWDWindow window = wdContext.currentContextElement().get<attributename>();
    window.destroyInstance();
    Hope this helps you.
    Regards,
    Poojith MV

  • How to call jsp/ejb in webdynpro applications

    Hi
    Is It Possible to call jsp and EJB in webdynpro applications.If it is please let me know..
    Regards
    Chandra

    Hi,
    You can call JSp and serlvets using suspend and resume plugs
    /people/bertram.ganz/blog/2006/07/03/web-dynpro-java-foundation--whats-new-in-sap-netweaver-2004s
    http://help.sap.com/saphelp_nw04s/helpdata/en/42/bb8c6cc7131d67e10000000a1553f6/frameset.htm
    For EJbs you can create a DTO and try to make use of the model import available in Webdynpro.
    Regards
    Ayyapparaj

  • How to upload company logo in webdynpro application

    Hi,
          I  need to upload the company logo in the View of a Webdynpro application.
    Can someone give me the steps for the same to be done?
    Thanks,
    Kundan

    Hi kundan,
    Store the images in the MIME Directory.
    -> Declare a simple type data type in the Java Dictionary.
    ->Give values and description in the enumeration type.
    -> Declare a value attribute of Simple type in View Controller.
    -> Add a image UI Element and bind it with two attributes(Ctx1 and Ctx2).
    Use the code below to get the name of image and further set it :
    String vehicleType = wdThis.wdGetContext().currentContextElement().getCtx1();
    wdThis.wdGetContext().currentContextElement().setCtx2(vehicleType+ ".jpg");
    Go through the [link|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e599cc-2862-2b10-54a9-dcf1376b52d7]
    Regards,
    srikanth

  • How to call Function Module from webdynpro application ,up on click url in

    Hi Experts,
    I need your help for the following scenario.
    In my WebDynpro application , I am displaying the sales orders in a table.
    one of the column in table  i.e. sales order number is displayed with hyper link, up on click the sales order number column, i have to pass the  po number to the a remotefunction with as one parameter and  enjoy = 'x' as another parameter  that should call me23n transaction and the transaction screen should be displayed in the webdynpro application with po details.
    Thanks In Advance.
    your help is rewarded.
    Best Regards.
    Rao.

    Hi Rao,
              1.Create binding to view to Controller.
              2.Create table->Add column->Add table cell Editor(select LinkToAction UI Element in options).
              3. Bind the property <i>text ->sales order number</i> (Output/<model node>)
              4. Create an Event <salesOrder>
                                       // do null check
                                       // set your input parameters
                                       // input sales order number = current output sales order number
                                       // enjoy="x"
                                       // call controller's method() that executes RFC
              5. Bind this event    LinkToAction  property action-> <salesOrder>  
    To execute RFC, the code is available in sample tutorials.
    Hope this helps
    regards,
    Siva

  • How to Integrate OIM API with the Application in NetBeans

    Hi All,
    I'm Facing problems to Integrate OIM API with the Application. I'm using Netbeans IDE. Can anyone please let me know the steps to do so?? any documents will also help me.
    Thanks

    Hey,
    Helpful links for you:
    1- http://www.youtube.com/watch?v=Yccl0HqfA3o
    2- http://www.youtube.com/watch?v=ZdMTLRF7P_4
    Let me know if it helps you. I hope so.
    Thiago Leoncio Guimaraes

  • How To Consume UME services in Web Dynpro applications

    Dear Friends,
    I am developing a new web dynpro application in which i want to get the user related information in my dynpro code. I have used com.sap.secuirty.jar file in class path -> lib of my project.
    I have written code sth like this.
    IUser user = null;
    String username = user.getCurrentUser().getSAPUser();
    and defined sap.authentication as a application variable to fetch user creadentials from portal run time.(user logs in to the portal and dynpro application fetches user credentials from portal). When i do this, the login window appears twice and user needs to enter his credentials more than once. If I remove sap.authentication parameter from the application then i am not able to get the user credentials. Could you please tell me the right method of fetching the user credentials in web dynpro application? Do we need to use sap.authentication? do we need to include sharing reference of the usermanagement in our application?
    kindly share your knowledge.

    These might be good places for you to start.
    [User|http://help.sap.com/saphelp_nw04s/helpdata/en/80/45da9619d24b61bb869c31ef3b780a/frameset.htm]
    [Protecting Access to the Web Dynpro Application Using UME Permissions|http://help.sap.com/saphelp_nw04s/helpdata/en/f3/a64d401be96913e10000000a1550b0/frameset.htm]
    -Michael
    Edited by: Michael Shea on Sep 2, 2008 8:24 AM
    Edited by: Michael Shea on Sep 2, 2008 8:25 AM
    Fix link

  • How to call Standard Iviews in Webdynpro application?

    How to call STD iviews  in the wwbdynpro application.
    can any of friends give the code

    Use this snippet to call standard iviews from your webdynpro code :
    //use LinktoAction UI element
    onActionClick (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/folders/X.Iview", WDPortalNavigationMode.SHOW_INPLACE, (String)null, (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "Called iView Name", (String)null, (String)null);
    Hope this helps.
    Rgds
    Prabhakar

  • How to design a GP with webdynpro application? Kindly help!

    Hi Experts,
            I have a requirement to design guided procedure for stock reconciliation.
            The starting page for this is a webdynpro(ABAP) report. This report has a table with 4 columns namely, Material_Num, Customer_stock, Org_Stock, Delta.
    Material_Num | Customer_stock I Org_Stock I Delta |
    TRN001          | 100                   | 65             | 35     |
    TRN002          | 200                   | 160            | 40    |
    User will select any row and then can click on 'Reconcile' button below.
    On clicking the 'Reconcile' button it should open a HTML page with details on selected data for reconciliation based on the selected row. This page should have a 'Send for approval' button.
    On clicking 'Send for approval' button, it should open another page for selecting the manager from a list. User can select the right manager and press 'Send' button.
    Once 'send' button is clicked, a status HTML page should open showing status of managerial approval.
    The manager should receive a worklist entry in the portal universal work list. He should be able to approve it.
    The GP flow is like this:
    Stock Report -
    > Send for approval   -
    > Select Manager -
    > Status.
    Can somebody guide me with steps to follow to design this in GP?
    How to pass selected row data from the webdynpro report to the 'Send for approval' page?
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

    Hi Gopal,
    I would rather recommend you to use Java Web Dypro to have all the advantages of a better integration (parameters mapping, eventing on completion, etc.). You can use ABAP Web Dynpro Application but this is, from a GP Perspective, strictly limited to open the Application. Nothing else happens.
    To reach a better integration in ABAP, you might use the BSP Callable Object.
    Best regards,
    David

Maybe you are looking for

  • Problems installing Snow Leopard on my MacBook Pro

    I'm having problems installing Snow Leopard on my MacBook Pro.  Help!  The installer log says the following: Nov 26 16:31:21 localhost LCA[79]: Folder Manager is being asked to create a folder (cach) while running as uid 0 Nov 26 16:31:21 localhost L

  • Dynamic class loading in Applets

    Fully loaded applet in some browser, depending upon some user action, has to perform following things : (1) has to establish an network connection with some other system or server( other than Web Browser Server ) and get named( file name is known to

  • Invoking JVM with C++

    I'm having the problem identical to the one in this post: http://forum.java.sun.com/thread.jspa?forumID=52&threadID=599688 I get the same error messages: invoke.obj : error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12 invoke.obj : e

  • Manifest Deployment Fails

    Hi, I had a working SSIS package deployment methodoligy (double clicking on the manifest file) and suddently it's not working.  I'm running SSIS as administrator and get the error below. TITLE: Package Installation Wizard You need to specify the full

  • Source codes

    Can you please let us know how we can start archiving or reusing "old" source codes? We're afraid that we may run out of available source codes soon, especially for the larger centers that offer more programs and have been live on Oracle longer than