Wrapping text with web dynpro ALV

Hi there,
I have got an web dynpro ALV and have set the SET_FIXED_TABLE_LAYOUT value to abap_true. This provides what i need apart from instead of not showing the text that can not be fit into the available column width I would like it to wrap the text, so it is all displayed. Is this possible?
Also is there a way to allow the user to change the width of the columns by clicking on them and dragging them bigger/smaller.
Thanks and Regards
Mart

Hi Mart,
Please refer this [thread|Wrap in ALV], it might help.
Also is there a way to allow the user to change the width of the columns by clicking on them and dragging them bigger/smaller.
Refer the reply of Thomas Jung in this [thread|Adjusting Column width on Web Dynpro ALV].
Regards
Arjun
Edited by: Arjun on Feb 23, 2009 10:48 AM

Similar Messages

  • Web Dynpro ALV grid sub totals

    Hi,
    I have managed to get totals working with web dynpro ALV using code like this :
      DATA: lr_field TYPE REF TO cl_salv_wd_field.
    For total calculations...
      lo_value->if_salv_wd_std_functions~set_aggregation_allowed( abap_true ).
      lr_field = lo_value->if_salv_wd_field_settings~get_field( 'N_OF_DLRS' ).
      lr_field->if_salv_wd_aggr~create_aggr_rule( aggregation_type = if_salv_wd_c_aggregation=>aggrtype_total ).
    Please can someone advise how i can do subtotals also.  Thanks
    Edited by: Samir Vora on Jul 15, 2009 12:40 PM

    Hi,
    For creating subtotals, you can have a look at following article:
    [Tutorial for Creation Subtotals using ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20abap/tutorial%20for%20creating%20totals%20and%20subtotals%20using%20alv.pdf].
    Hope this helps.
    Regards
    Manas Dua

  • Web Dynpro ALV grid column width

    Hi,
    I have a web dynpro alv grid that has columns titles that are long.  What is the best way of displaying the data without taking up too much space with the titles? 
    For example is it possible to wrap the title into 2 or 3 rows
    Thanks,
    Samir

    Hi,
    DATA: lr_column type ref to cl_salv_wd_column,
    lr_colheader type ref to cl_salv_wd_column_header.
              CALL METHOD lrcolumn->get_header
                RECEIVING
                  value = lr_COLHEADER.
    lr_COLHEADER->set_ddic_binding_field( if_salv_wd_c_ddic_binding=>ddic_bind_short ).
    Refer this if_salv_wd_c_ddic_binding in se24 for more.
    Regards,
    Lekha.

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • Web Dynpro ALV grid column colour

    Hi,
    I have tried to set the colour of a column for my web dynpro alv with the below code but it the colour for this column has not changed - it seems to remain the standard colour.  Is there something else i need to do?
      DATA: lt_columns TYPE salv_wd_t_column_ref
          , ls_columns  TYPE salv_wd_s_column_ref
          , lr_column TYPE REF TO cl_salv_wd_column
      lt_columns = lo_value->if_salv_wd_column_settings~get_columns( ).
      LOOP AT lt_columns INTO ls_columns.
        IF ls_columns-id CS 'TOTAL_'.
          lr_column = ls_columns-r_column.
          lr_column->set_cell_design( cl_wd_abstr_master_table_col=>e_cell_design-positive ). "CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GROUP_LEVEL1
        ENDIF.
      ENDLOOP.

    Hi Samir,
    You will have to create an attribut WDUI_TABLE_CELL_DESIGN and bind this attribute with the cell design property of the column. Check this wiki link [https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Web%20Dynpro%20ALV%20-%20Change%20Cell%20Colour%20based%20on%20Content], it will solve your issue.
    Regards,
    Radhika.

  • Web Dynpro ALV grid equivalent of onLeadSelect

    Hi,
    I am new to web dynpro alv and would like to know how to implement the equivelent of the action onLeadSelect that you can do with a table UIElement, but I want to do this for the ALV table that I have.  Many thanks,
    Samir

    Hi,
    Go to the View's property tab and include you ALV in that.
    whenever you instantiate the ALV then in the view, METHODS tab, you can find the Event handler for the lead selection for that ALV. Implement that.
    Method name           Method type         Event        
    ONLEADSELECT     Eventhandler        ON_LEAD_SELECT
    Check out the links -
    Re: click event on ALV
    http://www.flickr.com/photos/31042772@N08/3408386623/
    Regards,
    Lekha

  • Web Dynpro ALV grid format

    Hi,
    I have a web dynpro alv table that has many columns (about 20) I would like it to be displayed so that the user does not have to scroll right to see all the data.
    at the moment columns:
    col1 col2 col3 ......col19 col20
    i would like the second half of the table under the 1sta half:
    col1 col2 col3...col9 col10
    col11 col12...col19 col20
    Is there any way that i can get the table to be split into two or some other nice way to display without scrolling?

    You won't be able to do this with a single ALV.  I suppose you could have two ALVs and bind them both to the same context.  You wouldn't be able to sync the veritcal scrolling between the the two ALVs however.  I'm also not sure how usage this design is from a UI design pattern.  I would think the acceptible approach would be to use horizontal scrolling within the ALV.  You don't have to make the ALV display all columns at once as this can make your entire page very wide and require using the browser scrolling.  Instead consider using the set_scrollable_col_count method.

  • Input field in Web Dynpro ALV does not have correct focus

    Hello Friends,
    Our client's SAP system is recently upgraded with ECC 6.0 SP 18.
    After that the focus in the editable field of Web Dynpro ALV does not working properly by down arrow navigation.
    The common scenario:
    The ALV has more than one rows and one column is editable...
    when user is selecting field of first row and making some entries...
    after that pressing down arrow it is going to next row and coloring the field like focusing...
    but the 'cursor' is not blinking so user can not make entry without clicking by mouse...
    this was working Ok before upgrade...
    Could you please anyone have a look and propose a suitable solution?
    Thanks
    Krish

    Hello,
    The problem was with Javascript....which play an important role in layout of web dynpro ALV...
    which resides in MIME repository -> SAP ->PUBLIC - >BC ->NW5 ->JS ->SAPURI_Ie6....
    We wrote to SAP for giving us the fix...
    after we got a new file from SAP the problem is solved...
    also we have to clear server cache through SMICM and client cache...
    Thanks.
    K.

  • Changing PF status of Web dynpro ALV

    Hi Experts,
      In Web dynpro ALV there is a button called "EXPORT" with two menu items(Export to Microsoft Excel & Export to BOE).
    I would like to add two more menu items to that button. Is it possible. If yes, how?
    Thanks and regards,
    Venkat.

    Never thought about such requirement..what exactly you want to add to the export other than standard ones...I donot see any way..still exploring...I guess standard is of type either a CL_SALV_WD_FE_BUTTON_CHOICE or CL_SALV_WD_FE_TOGGLE_BUTTON...
    I think you can have it using a custom button.....adding a menu item to standard needs to be explored....

  • Problems using Visual Composer with Web Dynpro runtime

    I am currently trying to build a Visual Composer iView and we need to use the Web Dynpro runtime rather than Flash because it needs to work with a screen reader for users with sight problems.  Which is a pity because Flash works fine. But when I use Web Dynpro runtime I'm getting the following problems:
    a) When I define fields and pushbuttons in forms where Align Contents is set to Absolute, they do not appear at runtime in the positions in which I've placed them - all form elements are aligned vertically.  The only other options are to align all fields vertically or align all fields horizontally.  This lack of flexibility makes it rather difficult to create a good screen design; the only option seems to be to create a separate form for each set of differently aligned fields, which leads on to the next problem.  . 
    b) When I define more than one form on a page, again at runtime the forms do not always appear in the positions in which I've placed them; the compiler seems to calculate how much space it needs to display the screen elements and then re-sizes and  re-positions the forms accordingly, ignoring what I've told it to do. 
    c) Toolbar pushbuttons do not appear on forms (they do appear on tables).  Irritating, but at least I can still create pushbuttons on the form itself. 
    There are other issues, but the main problems is that it appears that when I use VC with Web Dynpro I cannot trust the editor layout at all and the only way I can build something that looks decent is to fiddle about with  field / form sizes and positions, checking every change on the output, until hopefully I get it looking ok.  Having to do this will dramatically increase the time taken to develop VC applications.  Has anyone else experienced these problems with VC and Web Dynpro?  Has anyone managed to overcome them?

    Thanks, but neither of these describes the problems I've been having.  And they are misleading since they say that you can use VC with Web Dynpro only with Web Services ie not directly with BAPIs / RFCs, but using it with BAPIs / RFCs is one of the few things that works well in our system. 
    The most recent problem I've found is that if you make a form or table read-only it will stay read-only in Flash but the fields are editable in Web Dynpro.  The individual field disable option does work for Web Dynpro, but it turns the fields from black to a vey pale and almost invisible grey (this doesn't happen in Flash).  And you can't seem to change this. 
    It does seem to be a bit pathetic that input fields can't be made read only.  I've tried expression boxes, which are read-only anyway, but they appear in as pale a grey as the disabled input fields.  And although plain text fields can be added to tables, they are pretty useless since they can only hold a single value and so all the lines will contain the same value. 
    I guess I should resign myself to the fact that I am never going to be able to produce a decent screen using VC and Web Dynprp.

  • Problem in submit button on adobe form integrated with web dynpro

    Hello,
    I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
    I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
    Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
    However, on clicking Submit button this event is not getting triggered.
    Please let me know what is lacking in this process?
    Thanks.

    Hi,
    I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
    I have tried the above solution but after adopting this solution all the editable fields become non-editable.
    so the above solution is not working for me could you help me out.
    I think ... try this....
    When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
    This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
    Thanks
    Edited by: shailendra2sap on Mar 6, 2009 12:24 PM

  • How to create a OTR Text in Web Dynpro ?

    Hi All,
    Please help, How to create a OTR Text in Web Dynpro ?
    Urgent.
    Thanks in advance.
    Kaleem.

    Hi Kaleemullah,
    To create OTR Text, T-Code is SOTR_EDIT. If you run this transaction then one screen will appear. There you can choose Long Text or Short Text based on your
    Text. You can choose language also. In Text field you can enter your text. You can put WDYV in your Object Type field. In Text block Length can be increased to 25 as it may be problem if language conversion of Text happens. You must fill your package field and save the OTR.
    I hope you can be able to create OTR Text now.
    Best Regards,
    bansidhar

  • Exception occured when deploying in Visual Composer with web dynpro mode

    Hi,All
    when I deploy application in visual composer with web dynpro mode, exception occured as following, please help me.
    Thanks.
    best regards
    Jiande Ding
    The initial exception that caused the request to fail, was:
       com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application sap.com/tcwd4vcengineconfigstd for startup. Reason= Clusterwide exception: Failed to start application sap.com/tcwd4vcengineconfigstd: The referenced application sap.com/tcwd4vccorestdinfoactors cannot be started. Check the causing exception for details. Hint: Is the referenced application deployed correctly on the server?
        at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1494)
        at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
        at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:176)
        at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:365)
        at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
        ... 8 more
    Edited by: Jiande Ding on Nov 4, 2008 1:08 PM

    Hi
    Check out this link
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/7c/9ce742bdab5604e10000000a155106/frameset.htm
    Thanks

  • Upload a file in KM repository with Web dynpro for abap

    Hi gurus, i´m trying to create a KM repository and then upload a file into this repository with Web dynpro for abap , but i can´t find any info. Can anyone help me with this problem, i have to solve it ASAP...
    Thanks for all....
    Regards,
    Diego.

    Please referr to the ideas on this thread.
    Install Problems withe the NW04s ABAP Trial verssion
    You have installed the loopback adapter and made the propriate entries in the hosts file, right?
    Regards,
    Rich Heilman

  • Full ABAP Edition-Trial (with Web Dynpro for ABAP) Max DB data volume

    I recently installed Full ABAP Edition-Trial (with Web Dynpro for ABAP)- SPS08.
    http://static.flickr.com/89/243544270_91e713e3a3_o.jpg
    as you can see, it's already 92% acquired ( just after installation)
    Is it correct?
    or it's better to add another volume?
    The other question is
    according to the license installation guide,
    it sounds like we can delete the temp licese with SAP*.
    so I did like that but i got the following message
    http://static.flickr.com/81/243546622_bc99d1af2b_o.jpg
    Well, I could delete the old license with BCUSER.
    Thanks,
    David

    Hello,
    to your first question.
    The MaxDB database has a feature which can
    increase the database automatically.
    This ( auto_extend ) is turned on for the SDN Preview
    installation.
    That means the database should extend a further datavolume
    automatically when the filling level gets over 90%.
    In your case the database already added two more datavolumes. The installation only creates one.
    Best regards, Stefan

Maybe you are looking for

  • Macromedia Flash MX Professional 2004 not running on Intel iMac

    SIGH. This is added to the enormous list of problems I've had with my new Intel iMac. I'm a pro user and am confused as to why Dreamweaver MX will run but I can't get Flash MX 2004 Professional to run. It starts up, loads fonts and what not, shows a

  • How to add css styling to Edge Animate elements?

    I have done a complete search on this, and have tried based on the example here: http://forums.adobe.com/thread/979124?promoid=KBHBD But I can't seem to get it to work... I am trying to justify text created in Edge (in which I named the div "bio" in

  • Composing an html message

    I wasn't able to find the answer for this question in the archives - there seemed to be a link which was no longer accessible. I'm trying to compose an email to send out to my clients; I wanted to use html to make it pretty, add links, photos, etc. I

  • Dragon Dictate with FCE

    I have ordered Dragon Dictate but have not used it yet. I am wondering if it is likely to be helpful with FCE? I cannot imagine it would be terribly helpful, but it would be good if it could save a few mouse actions or keyboard strokes. Has anyone us

  • HT204023 Hotspot working with blocked data plan

    We've blocked data usage through our provider on my sons phone. Data was restricted to wifi only. But then he began using the phones hotspot and his iPod to access the Internet. How is this possible? Data should be blocked so why does hotspot still w