Workitem Text need to display in Webdynpro Application

Hi,
Requirement : Workitem ID need to capture in WebDynpro application along with workitem text. (i.e.., When user clicks on worktitem from UWL, the workitem text should display in Webdynpro applocation.)
I have created workflow and Web dynpro application. I have configured in SWFVISU tcode and assigned parameter in webdynpro application parameters tab. Here, If i click's on workitem, it's opening sap web screen. But i want to open webdynpro application screen.
Kindly suggest to do this..
Advance Thanks & Regards,
Jayaprakash N

Hi Jayaprakash,
    If you are not seeing the button "Launch WebDynpro" when you click on your Workitem then your UWL is not configured. There are a couple of steps for that which are provided quite clearly in the link below .
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6?overridelayout=true
Broadly the steps are:
Re-register your system alias in UWL configuration. The path for this is System Administration / System Configuration /Universal Worklist Administration
After re-registering, the portal will add one XML file for your system. Download the XML file, edit and add Webdynpro option specifying the Workflow Task ID and your custom webdynpro application name
Upload the edited XML file with priority high and clear the cache
In your WDA application define a plug name 'Start' and define the parameter WI_ID type SWW_WIID
In your WDA window define a eventhandler HANDLESTART and inside write the code for reading the workitem id. Create a parameter WI_ID type SWW_WIID also for this eventhandler
Let me know if you are stuck at any point.
Regards,
Arpan
Message was edited by: Arpan Sengupta

Similar Messages

  • Read data from text file and displaying on Webdynpro

    Hi all,
    I need some help. I have a text file with set of  name, phonenumbers . I want to know how to display the data using Webdynpro. Could some one help me. help is appreciated and I promise to award points for right answer.
    Thank you
    Maruti

    Hi Maruti,
    just open the file and loop on the rows, here an example::
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.IOException;
    FileReader f =  new FileReader("c:
    FileName.ext");
    while ((s = in.readLine()) != null)
    //Here you can put the line into a WD context structure, i.e:
    wdContext.currentContoEconomicoFormElement().setField(s);
    }catch (Exception e) {.....}
    in.close();
    f.close();
    For any others questions, please, let me know.
    Vito

  • 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 call webdynpro applications from outside

    Hi
    I have a requirement where i need to call below webdynpro application from outside (for ex CRM,ISA..) environments
    http://test.com/webdynpro/dispatcher/test/eomp~eompapp/EmpDisp?EmpNo=0500002203.  When i am running this application from
    browser , my application working fine and i am able to see call to the backend BAPI's.  But when I configure this url
    in the configurations of the above environment.  I am unable to run this application.
    Any Idea?
    Thanks
    Prasad

    Hi
    I am not getting any error, but the backend call not hapening.  I put a debugger in the backend BAPI and run the webdynpro application , no input parameters came or call came to the the backend BAPI.
    Thanks
    Prasad

  • Error in determining the variable for Workitem Text

    Hi Friends,
                   My workflow is getting triggered by the event but during sending a notification to the agents the variables which i used in the workitem text is not coming. It is showing variables in workitem text cannot be displayed.
                      I checkd in the workflow log. The same variable is coming till the task of sendmail but its not coming into the mail notification.
             But when i tirgger the WF manually the workitem text is cmng........Can u tell me from wher dis error cmng from??
    Thanks
    Kumar

    Read,
    ABAP Proxy error :  GET_BUSINESS_SYSTEM_ERROR
    Dump "GET_BUSINESS_SYSTEM_ERROR" when changing relationships.
    They might help
    Regards
    Juan

  • Where I can get SAP standard webdynpro application source code

    Dear Experts,
    Where can i get sap standard WebDynpro application source code, because i need to copy that source code and modify that according to my application.
    My scnario.
    Actually i need to develop Carloan WebDynpro application, but its similar ESS-> Travel Expenses->Plan my Travel Expense .. standard WebDynpro application model, so please any one suggest how to copy that source code means where can i get that source code, and when rebuilding time what type of problems facing..
    please anyone suggest
    appreciate if you help regarding this..

    Hai saradha ji,
    thank got i know you are the right person for solve my problame, because i study your blogs, please don't be leave this thred till the my problame solve,
    ok once i find  sca file what i want do steps.. please tell me..
    give me any document step by step.  i don't have FPM. i don't have market place ID, so i unable to download .
    please send related artical this mail id [email protected]
    first i search sca file in my development server once got file.. let you inform.
    sincerely

  • Reg Themes in Webdynpro applications

    Hi,
        I need to customize my webdynpro application by applying themes.
        Can anyone help me out in this regard?
    Thanks much in advance,
    Regards,
    Sunitha.S

    Hi,
    Go thorugh the follwing Web Dynpro Java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
    To know how to use it and for the steps to be followed please follow the tutorial here
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to edit web dynpro themes.pdf
    the last url gives you a step by step procedure with wizards..
    Regards,
    Srinivas

  • WebDynpro applications not working through Reverse Proxy

    Hi All,
    I have configured a Reverse Proxy using apache 2.2.4 and when i access my Portal (NW04s EP 7.0 SPS08) through reverse proxy i'm not able to display any webdynpro application (e.g. Identity Management). I'm getting Page can not be displayed. I think reverse proxy is not able to convert the request into absolute URLs.
    If someone had the same problem,please let me know.
    Regards
    Vaib

    I resolved the problem on my own by adding webdynpro directive to the httpd.conf.
    Thanx
    Vaib

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • Display Smartform Pdf output in ABAP Webdynpro application

    Hello,
    there is a solution for displaying Smartform output in Java Webdynpro application in this forum. Since i want to start an project in ABAP Webdynpro i need a solution for this technology since i don't want to recreate all the paperwork again using Adobe. Is there any solution available?
    Thanks
    Udo Ahle

    Hello,
    this is the solution which i was able to implement using the hints given by Heidi and Thomas. Thank you for the support. With this solution it is possible to reuse oldstyle sapscripts and smartforms in todays environment.  Here is the sample code which solves the problem:
    In WDA you define for example a pushbutton to start the display of the PDF.
    In the onaction method you implement:
    method ONACTIONSHOW_PDF .
      data LX_pdf type xstring.
    * get PDF from existing sapscript or smatform
      call function 'Y_PDF_GET' destination '46c'
        IMPORTING
          ex_PDF = LX_PDF.
    * append the pdf to the response
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'Hello.PDF'
        i_content   = lx_pdf
        i_mime_type = 'application/pdf'
        i_in_new_window = 'X'
        i_inplace       = 'X' ).
    endmethod.
    The function 'Y_PDF_GET' is implemented as follows:
    FUNCTION Y_PDF_GET .
    *"*"Local interface:
    *"  EXPORTING
    *"     VALUE(EX_PDF) TYPE  XSTRING
    *"  TABLES
    *"      ET_OTF STRUCTURE  ITCOO OPTIONAL
      data: lf_filesize type i,
            lt_otf type table of ITCOO,
            lt_lines type table of tline,
            tline type tline.
    * start sapscript or smatforms and return
      perform make_otf.
      CALL FUNCTION 'READ_OTF_FROM_MEMORY'
        TABLES
          OTF                = lt_otf
       EXCEPTIONS
         MEMORY_EMPTY       = 1
         OTHERS             = 2
      et_otf[] = lt_otf.
      CALL FUNCTION 'CONVERT_OTF'
       EXPORTING
         FORMAT                      = 'PDF'
    *   MAX_LINEWIDTH               = 132
    *   ARCHIVE_INDEX               = ' '
       IMPORTING
         BIN_FILESIZE                = lf_filesize
        TABLES
          OTF                         = lt_otf
          LINES                       = lt_lines
       EXCEPTIONS
         ERR_MAX_LINEWIDTH           = 1
         ERR_FORMAT                  = 2
         ERR_CONV_NOT_POSSIBLE       = 3
         OTHERS                      = 4
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * convert tline to xstring as needed in
    * in web dynpro            
      field-symbols <X>.
      data: st(268) type c.
      data l1 type i.
      data len type i.
      data maxline type i value 134.
      l1 = 0.
      loop AT lt_lines INTO tline.
        clear st.
        st+l1(maxline) = tline.
        len = maxline + l1.
        l1 = maxline - strlen( tline ).
        ASSIGN st TO <x> TYPE 'X'.
        CONCATENATE ex_pdf <x>(len) INTO ex_pdf.
      endloop.
    ENDFUNCTION.
    The make_otf for sapscript is the following:
    * the next attribute enables the otf output.
    * no other output will be generated
    <b>options-TDGETOTF = 'X'</b>
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
    *         APPLICATION        = 'TX'
    *         ARCHIVE_INDEX      = ARCHIVE_INDEX
             ARCHIVE_PARAMS     = ARCHIVE_PARAMS
                DEVICE             = DEVICE
                DIALOG             = ' '
                FORM               = FORM
                LANGUAGE           = language
               OPTIONS            = OPTIONS
    *     IMPORTING
    *          LANGUAGE           =
    *          NEW_ARCHIVE_PARAMS =
    *          RESULT             =
           EXCEPTIONS
                CANCELED           = 1
                DEVICE             = 2
                FORM               = 3
                OPTIONS            = 4
                UNCLOSED           = 5
                OTHERS             = 6.
    *... make some write forms
      data lT_OTF     type table of     ITCOO.
    * get the otf data
      CALL FUNCTION 'CLOSE_FORM'
    *     IMPORTING
    *          RESULT   = result
           TABLES
               OTFDATA  = lt_otf
           EXCEPTIONS
                UNOPENED = 1
                OTHERS   = 2.
    * put otf into memory for later usage
      if not lt_otf is initial.
        CALL FUNCTION 'SAVE_OTF_TO_MEMORY'
    * EXPORTING
    *   MEMORY_KEY       = 'DEF_OTF_MEMORY_KEY'
          TABLES
            OTF              = lt_otf.
      endif.
    For Smartforms technology it is possible to implement the same concept.

  • Image UI element is  not displayed in Abap webdynpro application

    Hi Experts,
    I need your advice on below issue.
    I have created new ABAP Webdynpro application just to
    display employee photo.
    When loading the application, I generated a dynamic URL for
    a image in webdynpro application path in cache to map to Image UI Element. It
    is working well in DEV and QA environment. But it is not displaying when loaded
    in PRD system.
    Please suggest where to check the cache properties in system
    in order to resolve this issue.
    The user can access the application path, is there any chance for security issue in the same path?
    I suspect the URL is cleared before user access it, can it be controlled via any config?
    Looking forward for your valuable inputs.
    Thanks,
    Swetha

    HI Swetha,
    Maybe the image is not present in MIME repository for the PRD system.
    Please check.
    Regards,
    Hancila

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

  • I need to read data from a text file and display it in a datagrid.how can this be done..please help

    hey ppl
    i have a datagrid in my form.i need to read input(fields..sort of a database) from a text file and display its contents in the datagrid.
    how can this  be done.. and also after every few seconds reading event should be re executed.. and that the contents of the datagrid will keep changing as per the changes in the file...
    please help as this is urgent and important.. if possible please provide me with an example code as i am completely new to flex... 
    thanks.....  

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need to display TEXT in web selection screen

    HI All,
    We are working on CRM-BW  modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
    Now what we have to do to display text in selection screen on web...
    Please give your inputs  ASAP.....we are in UAT phase....
    Thanks in advance
    Arun

    Hi Arun,
    For you case: Display key & text in selection screen.
    In BW,
    You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
    Choose it for Key and text.
    Then save it.
    Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
    Hopefully it can help you a lot.
    Regards,
    Niel
    Thanks a lot for any points you choose to assign.

  • How to get workitem id in ABAP-Webdynpro application

    Hai All,
    When a user clicks on a work item in universal worklist, a ABAP-Webdynpro screen is called. I want to pass the workitem number to this ABAP-Webdynpro application. 
    Please let me know how to pass this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hai Kari,
    Thanks for the link, i am looking into it.
    Hai Naresh,
    Where should I give this link,
    http://abc.com:8001/sap/bc/webdynpro/sap/ztest? param1= Val
    What I have done is,
    In SWFVISU transaction I maintained the following entry,
    Task = TS99000208
    Visualization Type = WD_ABAP
    Visualization Parameter  Visualization Parameter value
    APPLICATION            =  ZWD_OFFICIAL_012
    NAMESPACE            =  SAP
    and registered this task in in universal worklist.
    Where the specify the code you mentioned. 
    Thanks & Regards,
    H.K.Hayath Basha.

Maybe you are looking for