Multi line tool tip in ABAP Web Dynpro

Hello experts,
do you know a possibility to apply a multi-line tool tip to a ui element in abap web dynpro ?
The OTR compresses multiple lines to one long line...
Thanks in advance.

This is not a forum for application specific questions. [Web Dynpro|Web Dynpro Java; , BSP , CRM development, ... have their own forums.

Similar Messages

  • Multi line tool tip / OTR text

    Hello experts,
    do you know a possibility to apply a multi-line tool tip to a ui element in abap web dynpro ?
    The OTR compresses multiple lines to one long line...
    Thanks in advance.

    Hi,
    I realize this is a very old thread, but in case others, like myself, finds it, here's a simple fix for this. In the OTR text add a constant for the desired linefeed - for example "\n":
    Alias ZPACKAGE/ALIAS: Line 1\nLine 2
    * Generate tooltip text
    DATA:
      lo_el_ui TYPE REF TO if_wd_context_element,
      lv_tooltip TYPE string.
    lv_tooltip = cl_wd_utilities=>get_otr_text_by_alias( 'ZPACKAGE/ALIAS' ).
    REPLACE ALL OCCURRENCES OF '\n' IN lv_tooltip WITH cl_abap_char_utilities=>newline.
    lo_el_ui->set_attribute( name = 'TOOLTIP' value = lv_tooltip ).
    The same technique can be used for tabulators (using constant
    cl_abap_char_utilities=>horizontal_tab), however, there's no guarantee how this will presented in the browser.
    Best regards,
    Jacob Laursen

  • Multi-Line Tool Tip

    Greetings<p>
    I want to have a multi line tool tip generated from database table fields.<p>
    Currently I'm using #{datasource.currentRow["FieldName1"]}, #{datasource.currentRow["FieldName2"]} etc., but some of the strings in the field are rather long.<p>
    I have tried placing a \n within a constant string (i.e. "constant\nstring") and it shows up just like that.<p>
    Any suggestions ?<p>
    Thx,<p>
    Jim

    Hi Jim,
    Please go through the following thread and see if it helps you:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=52787
    Cheers
    Giri

  • Error while accesing ABAP web dynpro application

    Hi Experts,
    We are getting warning symbol on web page status bar, when we are accessing the ABAP web dynpro application
    only first page of application is getting loaded and when we click on page it is showing error on status bar and we can perform any thing.
    once we double click on warning icon,
    below details are coming:
    Line: 1491
    Char: 3
    Error: Object Expected
    Code: 0
    URL: url of the ABAP web dynpro application
    This scenario is occuring for many ABAP WD application for a client.
    Please guide how to solve this issue?
    Thanks!
    Piyush

    Hi
    First try a very simple application with nothing in it just one text saying Hello World
    Run it and see what happens.
    Also check if your url uses FQDN name. something like https:
    company.name.co:50000\.......
    If you do not use the FQDN it will always show a script error on the bottom and some functions will not work e.g
    dropdowns.
    regards
    Yuval.

  • Convert JAVA Web Dynpro to ABAP Web Dynpro application

    Hi,
    I was hoping someone could tell me if there is a way to port a JAVA Web Dynpro application to ABAP Web Dynpro. We have some JAVA WD apps that would now make more sense to have running on our ABAP system so we would like to convert them to ABAP WD apps.
    I know the theory is that WD is metadata/XML based so it should be possible to port the WD definition to ABAP and have the ABAP runtime generate the application again in ABAP. I expect that any custom code that is written in JAVA would need to be manually rewritten in ABAP - but it would be great if there was tool or method to at least port the majority of the application.
    Thanks in advance for your help,
    Simon

    Hi Simon
    You are correct in thinking that all WD apps are based on metadata, but unfortunately, the similarity between WD Java and WD ABAP is just a conceptual one, and no such tool exists to convert one to the other.
    In addition to this, there are certain implementation differences between ABAP and Java that mean you could not convert one to the other.  For instance, the whole concept of model objects does not exist in WD ABAP. Therefore, structural entities used in WD Java such as model components could not be tranlsated into anything that exists in ABAP, because the concept is redundant in the target language.
    Sorry about that, but Java and ABAP are sufficiently different beasts that such a tool is not possible.
    Regards
    Chris W

  • 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

  • Call a ABAP Web-Dynpro-application via a BSP-Application

    We have a BSP-Framework, that call several applications among other things other BSP-Applications, ITS-Application and other systems. Now I want to integrate a ABAP Web Dynpro-Application.
    For the moment I can call the ABAP Web Dynpro-Application from our application.
    This application runs in the same session as the Framework (verify in transaction sm04).
    When I want to call another application in the Framework, the session will be killed (no more sessions in sm04). This happens also, when I want to call the ABAP Web Dynpro-Application a second time.
    I guess, that the ABAP-Framework thinks I want to go outside the system (for example www.google.de) and close the session. I found out, that this wouldn't happen, if the application were suspended. But I found no way to tell the application via a url-parameter to suspend.
    Can someone help me?

    Thx for the tip,
    but I can't firea suspend plug. Because I'm in BSP. I understand the docu so, that you have the option to call a other apllication like BSP from a ABAP Web Dynpro.
    I want to call the ABAP Web Dynpro form BSP like this way.
    1. Start BSP-Framework
    2. Call ABAP Web-Dynpro-Application from BSP
    3. Call another Application from BSP without automatically logout by unload ABAP Web Dynpro. (I have a chance to call the ABAP Web Dynpro again via url to suspend before I call the other app.)
    Regards Stefanie

  • ABAP Web Dynpro - OfficeControl - Word Integration

    Hi,
    i have a problem concerning the office control of the abap web dynpro.
    I have a textedit box on the view of a web dynpro. Now i want to transfer the data from the textedit box to the word document. I used the "IOS_TEST_WORDPROCESSING" as an example.
    Everything works fine, if there is only one line of text in the textedit box. If i put for example three lines in it, word opens and now i have the choice for a data seperator.
    The word document contains only one field as a "MergeField" like the field of the word document used in the "IOS_TEST_WORDPROCESSING". 
    Could anyone give me a hint how to solve the problem.
    With best regards
    Markus

    I have the same problem. I want to integrate an ABAP Web Dynpro in GP, but there is no way to implement an Interface from GP like it is in JAVA. That means you cannot maintain input , output parameters and give a status back to GP. Seems that in ABAP the WD is not integrated in GP.
    I went to the relevant developement departement an they gave me the following answer.
    In GP you can maintain input parameters for a ABAP Web Dynpro Application manually which will be displayed in the apllication UI URL . Then you need a function module to map the input parameters inside the url to the ABAP Web Dynpro context. Output parameters are not possible in GP with ABAP Web Dynpro. It is also not possible to give back the processing state to GP from your ABAP web Dynpro Application like it is in JAVA. Only the GP framework provides a button to complete this Step manually by the user.
    Regards
    Rainer

  • ABAP Web Dynpro V/S JAVA Web Dynpro

    We need to pick developing technology between ABAP Web Dynpro v/s JAVA Web Dynpro. Is technology better than other in terms of security, scalability? There is lot of documentation on the web but it is very old and out dated. I am pretty sure things have changed quite a bit with recent versions of SAP. Any feedback is greatly appreciated.
    Thanks.
    PS: I Used Web Dynpro for ABAP at my previous client for SAP SRM without a problem.

    Dear Sap Fan      
    This has been a long and interesting debate on SDN.
    You will find plenty of posts discussing this matter.
    But there's no clear winner, I warn you.
    ;o)
    This one in particular is very good:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0e4940c-035c-2b10-0b9d-eb8f99674f4e]
    But you can also check these others:
    [webdynpro java or abap;
    [Webdynpro Java or ABAP;
    [Webdynpro Java or ABAP;
    [Webdynpro Java or Abap ?;
    More and more you see clients migrating from WD4J to WD4A.
    Guess SAP is also heading into that direction, perhaps because Oracle bought SUN sometime ago.
    I'm comfortable on both environments I have to say.
    I have more than 10 years with development.
    I know ABAP from inside out.
    I also know JAVA and I'm certified with this technology.
    But I personally prefer WD4A.
    Why ?
    Because you don't need to use NWDI.
    Because you don't need to configure JCO's.
    Because you integrate seamlessly the development with the transport framework (requests, etc..)
    Because debugging is great.
    Because plenty of traditional ABAP tools (trace, logs, performance analysers, etc..) can also be used with WD4A
    Because you don't need to worry with NWDS...just type SE80 and you're there... ;o)
    And I could go on and on....
    But then again, it all depends:
    Do you have a lot of good in-house JAVA knowledge ?
    Do you use a lof of Custom JAVA development in your company ?
    Are you planning to use standard SAP (ESS/MSS or others for example) ?
    I'm not saying that WD4A is "better" than WD4J.
    There's no such thing.
    Each option has its pros and cons.
    You also can't tell that WD4J is more secure or scalable than WD4A. Or the opposite.
    And, believe me, WD4J is still going strong with a lot of customers.
    But things are changing, and for me WD4A would make more sense if you want to be aligned with SAP.
    Now and in the future.
    Kind Regards
    /Ricardo Quintas

  • How to support mutil-language in abap web dynpro

    HIi, guys ,
       Can you kindly tell me how to translate a button's text or group's name into multi-language in abap web dynpro ? thanks .
    Jialiang.Qiu

    Hi,
    unfortunately, the OTR documentation is available in <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/4a/fff13a62d1ad6de10000000a11405a/frameset.htm">German</a> only,
    about translating OTR texts, see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/f8/dd8a0f276111d5b316000102a3fd99/frameset.htm">here</a>
    Regards, Heidi

  • Entering Data in Table (ABAP Web Dynpro )

    Hi Experts,
    I need help in ABAP Web Dynpro Table. I have a table where multiple line item rows are there.
    In each row there is a input text field to enter the quantity. Usually the the user would not click the lead selection and enter the field value. The user would enter the value in any of the rows, but the lead selection will not change accordingly. therefore the validation will not work properly.
    Kindly guide me the way.
    Regards,
    Nitin.

    Hi,
    If you have any button in the view,suppose like save or  before leaving that particular view ypu can do the validations.
    if you have a button.
    What you can do is ,on action handler of button
    Read  the table and loop through it  and do the validations.
      CALL METHOD lo_nd_sap_prj_experience->get_static_attributes_table
        IMPORTING
          table = lt_sap_prj_experience.
    LOOP AT lt_sap_prj_experience INTO  ls_sap_prj_experience .
    If ls_sap_prj_experience-data  is ''.  "write your condition here.
    CALL METHOD lo_message_manager->report_error_message
              EXPORTING
                message_text = mesg.
    Endif.
    Priya

  • ABAP Web Dynpro Session

    Hi all,
    I have developed an ABAP Web Dynpro application which make use of a bespoke RFC fucntion module. The RFC function module will append a long text into a line item. It only works for the first attempt but not the following. I guess this is because of the statefull behaviour of the ABAP Web Dynpro application. I wonder is there anyway I could kill the session? Or is there any other possible way of solving this?
    Ricky

    Hi,
    Check these profile parameters :
    icm/server_port_xxx = PROT=HTTP,PORT=xx,TIMEOUT=xx,PROCTIMEOUT=xxx
    rdisp/plugin_auto_logout
    Regards,
    Olivier

  • ABAP Web Dynpro v/s BSP

    Hi All
    Can you pls tell the difference between ABAP Web Dynpro v/s BSP.
    Regards
    DM

    Hi madan....
    <u><b>Web Dynpro for ABAP</b></u>
    <i><b>Features</b></i>
    Web Dynpro ABAP is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    The use of declarative and graphical tools significantly reduces the implementation effort
    *Web Dynpro supports a structured design process
    *Strict separation between layout and business data
    *Reuse and better maintainability by using components
    *The layout and navigation is easily changed using the Web Dynpro tools
    *Stateful applications are supported – that is, if the page is changed, the data that is required remains intact so that you can re-access the data in the entire application context.
    Note that stateless applications are not possible.
    *Automatic data transport using data binding
    *Automatic input check
    *Automatic operation of the Web Dynpro application using the keyboard
    User interface accessibility is supported
    *Full integration in the reliable ABAP development environment
    <u><b>BSP</b></u>
    BSP applications are standalone Web applications with presentation, workflow and application logics that are self-contained in terms of function.
    In many ways, BSPs are similar to the server page technologies (xSP)from other software manufacturers, such as Active Server Pages (ASP)from Microsoft and Java Server Pages (JSP) from Sun Microsystems.
    This technology has become relatively widespread in the field of Web development thanks to its various advantages.
    regards,
    get back for more help
    vijay
    Message was edited by: Vijayasarathy Raghunathan

  • Open a new outlook  email with Abap Web Dynpro

    Hi Experts,
    I'm developing an abap web dynpro application, and at the end of a text I need to have a link that opens the outlook for sending and email, do you know how can this be done with ABap Web dynpro.
    Regards and thanks.
    Fona

    It should be noted that just relying on the browser handling for the [url mailto: reference|http://www.w3.org/TR/WD-html40-970708/htmlweb.html] does not guarantee handling by any specific email application. It is completely up to the browser implementation - The HTML 4.0 spec does not specify any handling other than:
    MAILTO URLs have the following syntax:
    mailto:email-address
    User agents may support MAILTO URL extensions that are not yet Internet standards (e.g., appending subject information to a URL with the syntax "?Subject=my%20subject" where any space characters are replaced by "%20").
    Then again - given that WDA supports so few browsers (user agents!), you could probably get around the different support in each them in a reasonably common way.
    To ensure that it is MS Outlook you are launching and potentially pass more data into that email you'll need to make use of the [ACFExecute functionality|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm] and then also the [command-line interface of Outlook.|http://www.brighthub.com/office/collaboration/articles/21840.aspx]

  • ABAP Web Dynpro Radiobuttons Problem???

    Hi,
    I need to have 6 radiobuttons horizontally in ABAP Web Dynpro.
    I got the radiobuttons on the web page,
    What I have done is
    For each radiobutton I have KeyToSelect binded to rb1, rb2, rb3, rb4, rb5 and rb6 (rb1, rb2, rb3, rb4, br5 and rb6 are boolean)
    For each radiobutton I have SelectedKey binded to group1 where group 1 is again boolean.
    My problem is if I select the 2nd radiobutton, all the others buttons gets checked, except that radio button and if I try clicking it for the second time then it is fine.
    Please let me know where I am going wrong or is it that I am missing something else to do.
    Thanks
    Sandeep

    Hi,
    Try to use radiobutton group by index UI element. Have a node in the context element with cardinality 0..n and have an attribute text type string. In the properties of the node provide the supply function as "fill_the_node". Bind this node to the radiobuttongroupbyindex UI element.
    In the fill_the_node method.
    data : node type ref to if_wd_context_node,
             elem type ref to if_wd_context_element.
    data : it type table of if_view=>element_node,
             wa like line of it.
    wa-text = 'radiobutton1'.
    append wa to it.
    wa-text = 'radiobutton2'.
    append wa to it.
    wa-text = 'radiobutton3'.
    append wa to it.
    wa-text = 'radiobutton4'.
    append wa to it.
    wa-text = 'radiobutton5'.
    append wa to it.
    wa-text = 'radiobutton6'.
    append wa to it.
    node->bind_table( it ).
    In this way you can have 6 radiobuttons on the browser.
    Thanks
    Mallika

Maybe you are looking for

  • HDMI port not working on my 760GM Mainboard

    I think the problem is the PCI Express GeoForce 8400 Video Card is turning off my 760GM mainboard integrated HDMI port.  Is there a way to work around this or do I need to replace the card with one that had an HDMI port in it?

  • I upgraded to ios 5 on my 4 but the voice has changed to a male voice on auto speak... how do i get the female back?

    the voice has changed since i upgraded the software on auto speak text correctiions, to a very dull sounding male is there a way i can get the female back?  i know on iPhone 4S i can choose to have say australian english, but on the 4 it doesnt seem

  • Datasource for CRM BP Sales Area Data

    Hello Experts, I am trying to extract CRM Business Partner Master data Segments into BW system. I want to know the datasource that can provide me information from 'Sales Area' Button in /nBP transaction. Fields i am looking for Sales Organization, Sa

  • Incorporating Canon's DPP Picture Styles in LR

    I'm currently using Canon DPP for RAW conversion, but I'm really liking the the UI and workflow capabilities LR BETA is offering up so far. With Canon DPP, I can choose and apply any one of several Canon preset "Picture Styles", which I think is a gr

  • Hp solution center for c6180 all in one

    Why when I open the hp solution center, the make copies button and send fax button doesn't work.  Further more when I try to use I have to turn the printer off then on to print ?  When I check settings everything works except running a test fax.  How