Comment Box in Web Dynpro Screen

Hi Friends,
We have developed a portal using webdynpro.
Where we need to bring user comments from ECC, which are provided through java portal.
Please suggest me in designing comment box(Feedback long text) and displaying the data.
Which UI_element I need to use.
Thanks in advance.
Regards,
Praveen G.V.S

Praveen,
You can use TEXT_EDIT UI element to display long text of more than 255 chars. OR
Create text using SO10 transaction(SCRIPT text) and then READ_TEXT. u can use the UI Element FormattedTextView.
         data : ls_header type thead,
           lt_lines type standard table of tline,
           lr_fm  type ref to cl_wd_formatted_text.
  call function 'READ_TEXT'
    exporting
      client                  = sy-mandt
      id                      = 'ST'
      language                = 'E'
      name                    = (name of the standard text)
      object                  = 'TEXT'
    importing
      header                  = ls_header
    tables
      lines                   = lt_lines
    exceptions
      id                      = 1
      language                = 2
      name                    = 3
      not_found               = 4
      object                  = 5
      reference_check         = 6
      wrong_access_to_archive = 7
      others                  = 8.
  lr_fm = cl_wd_formatted_text=>create_from_sapscript( sapscript_head = ls_header
                                                       sapscript_lines = lt_lines ).
  WD_context->set_attribute( name = 'FOOTER' value = lr_fm->m_xml_text ). 
Hope it will resolve your issue.
Thanks
Katrice

Similar Messages

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • Web dynpro screen with multiple rows with columns that can be edited

    Web dynpro screen with multiple rows with columns that can be edited individually:
    Hi
    I am busy creating a screen in web dynpro for ABAP which we would like to make available via Portal ESS (Portal 7).
    I need to add 'n type of table (or almost something like Excel) or something in which someone can type a few paycode numbers (there should be lets say 10 blank rows in which info can be typed in and if I click on a button or so, more rows must be added if necessary.  Then in the other colums stuff like amounts must be entered which one should also be able to edit then and there.
    Can anyone assist in what I can use for this?  There does not seem to be some existing element that I can use.
    Help will be appreciated.
    Regards
    Debbie

    Hi Debbie,
    Whiel Creating table you need to be care full that use chose INPUT FIELD as the CELL EDITOR. Just guessing that if ur table is not editable u might have choosen TextView as default cell editor type.
    check link for details on TABLE UI
    [http://help.sap.com/saphelp_erp2005/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm]
    easy way is to first add UI ELEMENT TABLE to your VIEW, then right click over it & select create binding from context. After you have a pop up where you can select what columns you want what should be its cell editor etc.
    Greetings
    Prashant

  • Trigerring BPM from Web Dynpro screen not working

    Hi Guys,
    I am trying to trigger a BPM process from a Web Dynpro screen so I created a BPM process and created a WSDL and consuming the WSDL in the Web Dynpro app but getting an exception "Exception on creation of service metadata for web service mass config parameters service reference ID '28af57ab-9212-4ffd-90c6-0779c78a8da3' and application name 'demo.sap.com/testwd'. Check mass configuration has been done properly."
    Please assist with what I am missing.
    Thanks,
    -Ash

    I ran into the same error when attempting to consume a Process as a web service from my Web Dynpro component.  I found that it is actually succeeding in kicking off my process, but it looks like it fails from my calling component.  It seems to be related to calling a service meant to be asynchronous as a synchronous service.  In my case, it throws a SOAP fault "com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException: Process start has been triggered" when I run it from the WS Navigator manually.  It turns out that the same error is getting wrapped by the exception you were experiencing.  Try using the getCause method to see if the same is true for you.  This environment is still new to me so I don't have good solution on how to make it not throw that error in the first place.
    [addendum] I ran across [this|Start BPM Process Trigger - Read timed out] thread that explains exactly what I had guessed.  You can remove the response part of your WSDL and it will get called successfully in an asynchronous manor.  Note that you must manually remove some of the entries in the WSDL since the visual editor with the 7.1 environment doesn't clean up after itself as well as it should.
    Edited by: Joseph Robertson on Jan 12, 2011 11:04 PM

  • UWL - Records not getting into LeaveRequestApproval web dynpro screen

    Hi,
    We are on EP7 sp9 and ECC 6.0. We are working with UWL. In UWL, we downloaded the standard XML file and done changes for removing the other tabs except the 'Tasks' tab and also placed the refresh button on main screen. It looks fine. Now, the problem is the web dynpro screen is not pulling data from backend. Previously, when we click on 'LeaveRequestApproval' work item, we use to get ITS screen. at backend we did changes in SWFVISU transaction to get web dynpro popup screen when user clicks on 'LeaveRequestApproval' work item. We could able to get the popup web dynpro screen, but it is not pulling any records from backend.
    Now, let us know where we are doing mistake? do we need any more configuration at backend? If so, let us know the work around for it.
    Thanks in advance.
    Kind regards,
    Raj.

    Hi,
    But are you able to see the labels, buttons etc ? Or is it that the entire page itself is not visible ?
    Please check the log file and see what is the error you get there ? Or probably check on the backend side if there is a dump.
    You can also check with the debugger on the backend side...see what exactly happens on the backend when the page is getting loaded.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • How to create PDF from a web dynpro screen

    Hi all,
    I am in the process of creating my first web dynpro application for parking a document, the new requirement is when the user parks the document, a PDF of the web dynpro screen should also be generated. Can you please tell me how can I achieve that.
    Thanks,
    Rajat

    A PDF generated from the screen?  There is no SAP delivered functionality to do this. I might suggest that you just use the browser print and print to a PDF generated virtual printer.  Otherwise you would have to design an Adobe Form (and run it within WDA using the InteractiveForm) that matched the interface of the WDA screen.  There is no automatic generation.  You would have to design and maintain each independently.

  • Use of Variants in a Web Dynpro Screen?

    Hi, 
    Is there an easy way to simulate the use of variants in a Web Dynpro screen, like in R/3 for a transaction?

    Can you give me some example for storing text files on the Java server?
    An example to manage parameters for each user, for example :
    \[ZAPPLICATION\]
    EQUIPMENT=300056
    TYPE=ZE
    PRIORITY=1
    DISPLAY=True

  • How to hide Interactive form in Web dynpro screen

    Hi all,
    I am working on an application where a user will enter the vendor number and based on that vendor the information of the vendor such as his name, address should get filled in the interactive form that we have created. I am able to get the vendor information at the back end and I have created a print button and hitting on that print button will actually fill the form. But now my problem is when I run the application the form is already displayed on the web dynpro screen (without any vlaues) and when I hit print button the form gets filled with correct values but I don;t want form to be pre displayed until and unless user hits print button. Can you please tell me how can I do this.
    Thanks,
    Rajat

    Hi Thomas,
    Thanks for quick reply.
    Let me explain you what I want... I am very new to webdynpro so my questions may sound very basic or may be weird.
    I have an application where the user will enter the vendor number on the web dynpro screen and then will hit the button PRINT and when he hits print  button the PDF form should be displayed on the web dynpro screen. So far when I run my application the vendor number (input field) is there and a print button is also there but beneath there is the whole interactive form is showing up (a balnk) and when I enter the vendor number and hit print the same form will get filled up with the required data.
    What I want is when I execute my application and on the web dynpro screen only the vendor number field and the print button should be visible and not the PDF form, the PDF form should only be displayed once user hit print button. I tried to change the value of the property from visible to none and what it did was the PDF form was not visible on the web dynpro screen on both the occassion i.e. when I execute the the web dynpro applkication and after when user hits print button.
    Thanks,
    Rajat

  • Calling a BSP application on a Web-Dynpro screen

    Hi all,
    We have a requirement as below:
    In the SAP Standard Web-Dynpro screen we have a Tab-strip control, where there are 2 tabs.
    We need to enhance the tab-strip control and add a new tab. On the same tab we need to call a BSP application.
    It meas when we select the tab we should be able to see a specific BSP Application there.
    How can this be made possible?
    One way that I can think of is by creating the Service calls... However, I am not sure how can the service call can be created and used to call a BSP App to be displayed on the screen.
    Waiting for your replies.
    Regards,
    Kunjal Patel

    Hi Thomas,
    Thanks for the reply. It was quite helpful in analyzing the available options for the development.
    Now, with the further analysis from your inputs, following are the findings:
    1. BSP is a Stateful BSP.
    2. Yes, We are using this web-dynpro in the portal. How can we go about with the alternative way suggested by you about the iView? As i have very limited knowledge about the Portal hence a little more help from you will be helpful.
    Is it like we can provide a button on the screen and then when a user clicks the button the result is a new window of the browser with the given portal link?
    Please suggest.
    Regards,
    Kunjal Patel

  • Adding Disclaimer text to standard web dynpro screens in ESS

    Hi,
    I need to add disclaimer text to the standard web dynpro screens of ESS. The disclaimer text is the same for all screens and there are around 20 different screens where I need to put the same disclaimer text on. Can anybody suggest me the best way to solve this problem.
    Thanks,
    Tom

    HI TOM
    u can specify this for each and every workset for ESS.
    u used the Additional Inforamation text under each workset.
    to change the text do the following
    In SAP R3 ecc system go to SPRO->IMG->cross application components->Homepage framework->Areas->define areas->double click on define areas->double click on area key
    (work set)
    under area description tab
    u can found following
    Area Description heading --->Additional Information
    Area Description (long text)--->
    u can change both text accoriding to ur requirement and specify <b>The disclaimer text</b> .
    this is done for all workset. one modificaton is finish.
    relese the created request.
    restart the j2ee server.
    regards,
    kaushal

  • Dublicated Web dynpro screen in ESS

    Hi Folks,
    After adding iView to the page I am getting doubled screens in ESS, for example:
    If I access Address service in Personnel Information, two dublicated web dynpro screens are getting called instead of one.
    We have to have two iViews on the same layout
    Could you recommend the solution?
    Thank you,
    David

    Thanks Jithu for your response, but I have to have two iviews for a page. Is not it allowed? I need one for a pop up WD application and the second one for personal Information area page
    Edited by: David Colch on Oct 20, 2009 10:26 AM

  • Security in Web Dynpro screens

    I have a generic web dynpro screen which allows users to create / edit some records.  The users are supposed to create records only for the profit centers that they are authorized to.
    1. I have a profit center lookup in the screen that I created that pulls up profit center in pop up screen.  How do I filter profit centers only that the user belongs to.
    Do i have to manually write code to restrict based on user roles.
    2.  Also how do I restrict the users from saving the records for the profit centers to which they are not authorized.
    FYI -- I used single system user to get and write data to SAP backend system.
    I am new and trying to understand security at the screen level...
    Thanks

    "1.Do i have to manually write code to restrict based on user roles."
    Yep, that should do the trick.
    "2. Also how do I restrict the users from saving the records for the profit centers to which they are not authorized."
    Try to show them just the records for profit centers they are authorized, if u cant achieve this.... then you can do a validation check on the save button to see if they are authorized or not.
    Regards
    Julio H.

  • How to find a BADI to change the default value of a Web Dynpro Screen?

    Hello Experts!!
    My requirement is as follows-
    The SAP cProjects Distribution Functions screens default the Calculation Base to “Per Day”(This is represented via the initially-selected value in a listbox). The requirement is to make it deafult to the current standard “Per Month” (This also appears in the list box).
    Is there any BADI to achieve this?
    I tried putting a debug point in the Get_Instance method of the class cl_exithandler to find all the BADIs associated with the screen. I got a bunch of BADIs with no luck. And now I am not even able to debug anymore as the debuger is not opening. Can anybody tell me why this is happening? It was working two days before. And yes I have read all the posts about debugging a web dynpro application and I am doing everything that is mentioned there- I have set an external debug point and I have checked the "IP Matching" checkbox against my name in the workbench, but, with no luck
    Any help on this will be greatly appreciated.
    Thanks and Regards,
    Smitha

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • How to link  web dynpro screen and R/3 ,so that I can build a workflow.

    Hi all,
             I  have to build a workflow for Personnel Administration(PA) in HR module. The document is not standard, so I have to build my own Bussiness object. But the senerio, screeens for particular document are designed in web-dynpro which will be there in separate portal and we suppose to link this in R/3 system. Whenever user fills that particular document (a form or a document in a portal) and clicks on submit button which is provided in the document workflow should get trigger. Also this screen should be used as workitem to a persons SAP inbox as well as in the portal inbox.
      <b>Please help me</b> for what should be my starting point in designing workflows.
    It would be helpful if anyone provides me with detailed describe step for each and everything along with few links and examples. As i m new to sap
    Thanks in advance.............Do reply......]

    /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
    I think this maybe helpful to you.

  • How call PDF file in Web dynpro screen?

    i have one labal,one input box and one search button also...Just i clk search button mns...that PDK file will come..for printing purpose...
    How i will call that PDF file? please give details...

    hi...this is my error...
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to get deployable object part for application 'webdynpro.pdf' of deployable object 'local/LoginProject1'.
        at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getApplication(AbstractDeployableObject.java:158)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:381)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
        at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
        ... 17 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-05:15:08:24[UTC], changelist=413534, host=pwdfm101), build date: Mon Oct 30 16:29:02 IST 2006
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_09-b05, vendor: Sun Microsystems Inc.
    Operating system Windows XP, version: 5.1, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Thu Sep 27 16:48:55 IST 2007 (Java Time: 1190891935798)
    Web Dynpro Code Generation Infos
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/LoginProject1' and application 'webdynpro.pdf' are not deployed on the server. Please check the used URL for typos.
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:383)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to get deployable object part for application 'webdynpro.pdf' of deployable object 'local/LoginProject1'.
         at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getApplication(AbstractDeployableObject.java:158)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:381)
         ... 20 more

Maybe you are looking for