DISPLAYING double line  column  heading

Hye Friends,
I have some field names which contains multiple line text so how can we display such text in alv as the option for displaying field text is
L_FIELDCAT-FIELDNAME = 'REGION'.
  L_FIELDCAT-SELTEXT_M = 'REGION'.
but i want to diplay heading like this 'region'
                                        'region-in'
Pls let me knw
Thnks
SUnny

hi,
try like this
while building lay out structure pass field-optimise='X'.
regards,
pavan t.

Similar Messages

  • How to dynamically display value in column header

    Hi,
    I have a requirement where in the user selects a particular value from a drop down list, and the same has to be displayed in the column header. For example, there are A,B,C,D types of quantities in a drop down list. Once the user selects these values and submits, the column header should display the quantity type selected. Kindly let me know how this can be achieved.
    Regards
    Snehith.

    Hi Snehith,
    In Layout Mode, Double click the Column in the Table, the Control Properties window is opened, switch to the "Display" tab, then press on the formula button next to the "Label:".
    Use the Expression Builder to have the label be the value you want it to be: for example:
    NSTR(#ID[ACA9TU]@MAX_ROWS,'Z3.0')
    This formula takes a numeric field, formats it into a string and displays it.
    For more information about how to build expression, please see:
    http://help.sap.com/saphelp_nw70/helpdata/en/bd/90db4238bbf140e10000000a1550b0/frameset.htm
    Regards.
    Omer.

  • To display values  in Column Header

    Hi,
    I wanted to display values from viewobject as a column header in af:table
    <af:column sortProperty="Qty" sortable="false"
    headerText="#{bindings.EmpPartHeader12.hints.Qty.label}"
    headerClass="TableNoHeader"
    inlineStyle="background-color:#D3D3D3; border-color:Gray; color:Black;"
    align="right" id="c1">
    <f:facet name="header">
    <af:outputText value="#{row.Qty}" id="ot8"
    />
    </f:facet>
    <af:outputText value="#{row.Cost}" id="ot4"/>
    </af:column>
    I am using <af:outputText value="#{row.Qty}" id="ot8"/> in header class of af:column but getting blank as column header.
    Please help on this.
    Regards
    Vasu

    Hi user13818315,
    Please specify in details what you want to display in column header ? Say there are 5 rows in your table do you want to display the first rows data as column header ?
    Please explain...
    Thanks
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How display costom report column heading

    Hi,
    I am having report region with different columns, in that one column heading needs to be start with lower case like "iST Status" but always it is showing "IST Status".
    Can any one help me how can i achieve this.
    Thanks and regards,
    Ibrahim Sayyed.

    >
    Update your forum profile with a real handle instead of "995226".
    I am having report region with different columns, in that one column heading needs to be start with lower case like "iST Status" but always it is showing "IST Status".This has been reported before. See +{thread:id=1022033}+
    Add this style sheet to the page HTML Header (or use your preferred CSS override method):
    <style>
    th.t13ReportHeader {
      text-transform: none;
    </style>If you're not using theme 13, modify the selector accordingly.
    Can any one help me how can i achieve this.Help us to help you. When you have a problem you should provide as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • Two line column heading in ALV Report

    Hi Experts,
    My requirement is that I have to create an ALV report with columns having two lines of headings. Like a main heading called Consultants under which 5 to 10 columns of departments(Dept Num, Num of Ppl , Manager etc. ) and then Contractors(Name, Address Etc ) underwhich there would be 5 to 10 departments. Right now my report has the depts of...     
    How can i do that . If u would suggest by CL_SALV_TABLE then it would be great.
    Thanks a lot !
    Sau

    i don't think you can do it using cl_gui_alv_grid or cl_salv_table.

  • How can I display a column heading vertically?

    Hi,
    I try to display verticaly a column heading. Is it possible on Siebel on Demand?
    ex : NAME = N
    A
    M
    E
    Thanks for your answer
    Regards

    Hi,
    I try to display verticaly a column heading. Is it possible on Siebel on Demand?
    ex : NAME = N
    A
    M
    E
    Thanks for your answer
    Regards

  • Removing Icons in column header

    Hi,
    I am getting Icons before each column header like that of rows in my Query output. I want to display only the column header text without any icon. Is there any way?
    Regards,
    Krishna

    Hi,
    Thanks for your reply. Hi,
    I have used only RKFs and CKFs in Columns. I cannot find display as 'text' properties for these Key Figures. Are there any other options?

  • Resize Column Heading Dynamically

    I have an AdvancedDataGrid for which the user can separately
    and independently set the font size used in the column headings and
    the rows. Upon saving the form, if the font size used in the rows
    changes, I call the function setRowFont() (shown below).
    The regenerateStyleCache(true) causes the rows to dynamically
    adjust their height to accommodate the text. (The groupRowHeight is
    there to adjust the size of the data groupings.) This works just
    fine.
    I use a similar function for the headings,
    setColumnHeadingFont(). When this is run, there is no change. If
    you close the app and restart it, the changes are reflected. Is
    there some way to change this height dynamically without
    restarting? Or is there a reason why this cannot be done?

    You can do this by placing the name of your hidden item in the heading column on the 'report attribute' tab of your report region.
    For example if you have an item called P1_GRP_BY that you want to display as a column header, type &P1_GRP_BY. in the header column.
    David

  • User defined column heading

    Hello Every1,
    The following is a peice of code produces a report. At the moment the heading of the column is GBCCCL15/16_CSAHEPA because it has been hard coded that way. However what i would like instead, is the heading of the column to be what ever the user selects. What i mean by this is, what ever the user chooses to search in the text fields will then be displayed as the column heading when the report is exicuted.
    select schema_name,
    max(GBCCCL1516_CSAHEPA) as "GBCCCL15/16_CSAHEPA"
    from     
         select     schema_name, created_time,
         case when
              server_name||'_'||db_name='GBCCCL15/16_CSAHEPA'
              then DB_PATCH_NUMBER||'v'||VERSION_NUMBER else null end GBCCCL1516_CSAHEPA
    from      version_control
    group by schema_name
    order by SCHEMA_NAME
    Does anyone know how to get this done?
    Thanks in advance.

    Hi,
    Headings can be created dynamically. Change the headings type to PL/SQL. You then see a "Function returning colon delimited headings" setting - enter in something like:
    DECLARE
    v_headings VARCHAR2(2000);
    BEGIN
      v_headings := '';
      SELECT USER_HEADING INTO v_HEADINGS FROM TABLEX;
      RETURN v_headings;
    END;The string returned must be a colon-delimited string with one value for each column. eg:
    COL1:COL2:COL3Andy

  • Displaying dates as column headers for BEx Query

    Hi all,
    I have to display dates in sequence as descriptions for 15 columns based on the keyed in date in Bex Query Analyser. I'm able to display date as column heading for one column using text variable with replacement path.I could not able to increment date for other descriptions.Could you please help me to solve this issue.
    Ex: Input Date 05/09/2007 then in the out put column headers should be 0509 0609    0709   ............ 1909
    These are only column headers, values for the columns are quantities calculated using formulas.
    It is urgent.
    Thanks in advance.
    Regards,
    Mandadi.

    hi mandadi,
    if u want dates as headers only then u should use a text variable .
    as a rule u can not set off set for text variable so u create restricted key figure with date restricted and set off set.
    now u use this rkf to populate the text variable using replacement path.
    text variable can use replacement path for replacing from any variable and characteristics.
    bye

  • Listview Column Header comparison with Item

    hey guys i am not so advance in VB.Net Programming, so I would like to ask help from anyone who is willing to share his/her knowledge in VB.Net. Here is my problem and im doing this in LISTVIEW.
           Mar 1   |      Mar 2     |      Mar 3       |       Mar 4   |     
    Mar 5     |     Mar 6       |...
    cell1content| cell2content| cell3content| cell4content| cell5content| cell6content|...
    where: "Mar 1 to Mar6" are column headers, coded in for-loop as DateTime so forth (i made this and running).
    while: "below these column headers are items from my MySQL database"
    What i want to do is when the form is loaded, it will pitch data from database and when (date from database) is EQUAL to (my Date in Column header), it will display below the Column Header the CONTENTS of database.
    Let's say:
    Mar 1   |      Mar 2    |   Mar 3    |...
    Jho       |       Neth    |     ian      |
    Mac      |                  |      Carl    |
    pitching all data from database and continuously filling those data in my listview.
    I wish someone can help me. please. please. Thank you in advance.
    Godbless.

    Hi Croni-code,
    -->pitching all data from database and continuously filling those data in my listview.
    You'd like to pitch all data from database to listView.
    I make a sample for you, I use the Sql server as Database, you need to change the connection from SqlServer to MySql.
    Dim constr As String = "data source= WXPFSER12-LAB1;initial catalog=PlatformDB;Integrated Security=True"
    Dim con As SqlConnection = New SqlConnection(constr)
    Dim sql As String = "select * from Table_1"
    Dim com As SqlCommand = New SqlCommand(sql, con)
    Try
    con.Open()
    Dim da As SqlDataAdapter = New SqlDataAdapter(sql, constr)
    Dim ds As DataSet = New DataSet()
    da.Fill(ds, "Table_1")
    Dim dt As DataTable = ds.Tables("Table_1")
    ListView1.Columns.Clear()
    ListView1.Items.Clear()
    For Each col As DataColumn In dt.Columns
    ListView1.Columns.Add(col.ToString)
    Next
    For Each row As DataRow In dt.Rows
    Dim lst As ListViewItem
    lst = ListView1.Items.Add(If(row(0) IsNot Nothing, row(0).ToString, ""))
    For i As Integer = 1 To dt.Columns.Count - 1
    lst.SubItems.Add(If(row(i) IsNot Nothing, row(i).ToString, ""))
    Next
    Next
    Catch ex As Exception
    End Try
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to display 2 lines in the same column header of jTable?

    Please could you help me to display 2 character lines in the same column header of a JTable?
    And how to make a fusion between to cells?
    Thank you very much

    In Swing, most components will accept text in the html format
    http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
    You can then use <br> tags to make your header text multiline

  • How To avoid column heading for only total line in ALV list Display

    Hi,
    How To avoid column heading for only total line in ALV list Display.

    Hi,
    to change colunm header field catlog is built
    look at the example below
    Changing column text headers
    use this to change, hide, or alter the ALV columns
    CLEAR: gt_fcat.
    READ TABLE gt_fcat WITH KEY fieldname = 'TEXT1' " ***
    *TEXT1 is your field name
       ASSIGNING <gtfcat>.
    IF sy-subrc = 0.
       <gtfcat>-coltext   = 'Date Type'.
       <gtfcat>-no_out    = ' '.
       <gtfcat>-tooltip   = 'Date Type Text from IT0019'.
       <gtfcat>-seltext   = 'IT0019'.
    keep seltext to '' if u want to hide
    ENDIF.
    regards
    austin

  • Internal Table to Excel with Column Header line

    Hello everyone,
    I need to download Internal table data to excel with a column header line.
    My Code is as follows:
    TYPES:  BEGIN OF y_hdr,
            head(30) TYPE c,
            END OF y_hdr.
    Data:  t_hdr TYPE STANDARD TABLE OF y_hdr.
    Fill internal table t_adrcdata
    fill the header table t_hdr
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename                      = C:\test.xls
            filetype                        = 'DBF'
        IMPORTING
          TABLES
            data_tab                        =  t_adrcdata
           fieldnames                       =  t_hdr
         EXCEPTIONS
           file_write_error                = 1
           no_batch                        = 2
    This code gives me a row with column headers.
    However they are all truncated after 10 chars.
    The truncation is independent of column data length. Data could be of length 2,5 or 40 but the header always displays upto 10 chars.
    Keeping the filename as test.xls, when I download it in ASC format instead of DBF the headers are of proper length.
    What could I be doing wrong?
    I know this topic has been discussed before but my question is pertaining to DBF Format download. The reason I chose DBF format is because it downloads the data in DB format and does not give in to Excel formatting.
    FOr example in ASC format:
    1, A field of type Char(12) used to get downloaded into excel without the leading zeros. 000012345678 --> 12345678
    2. Date in format dd-MMM-yyyy in a char(11) field used to get downloaded to excel in dd-MMM-yy format.
    When I chose DBF, this issue was resolved. However, the column headers got truncated at 10 chars.
    Please feel free to recommend any other way of downloading to Excel and preserving format if this method is incorrect/ there is a better way.

    Hi,
    Take 'ASC' format for file type.
    But when you declare your internal table to pass for FM you have to create all the fields with char.
    Example:
    data: begin of it_exl occurs 0,
            bukrs(04) type c,
            belnr(10) type c,
            buzei(03) type c,
    end of ut_exl.
    You need to manipulate your date format and other stuff before appending to this internal table.
    Thanks,
    Deepak.

  • Printing double line in Column label Box/Table Line Type of smartform

    Hi,
    In MAIN window, in ITEM table, the header box, (where column labels are printed), one double lines r printing!! it looks like (not exactly) instead of single line (________) its printing double lines (======), so, pls. let me know, Wht culd be the reason?
    Thank you

    Hi,
    Check that if you used table borders in attributes of line types.
    And also check if you are using sy-unline...
    Regards,
    Shankar.

Maybe you are looking for

  • Restrict the use of index while quering

    Hi All I have a simple emp table with columns empid, name, sal. Empid has a primary key imposed. Now when i write a statement like this, select * from emp where empid = <value>; the optimizer will make use of index. The question is........... is ther

  • How can I manage my music without erasing all of my songs?

    For reference I've had iPods since about 2005 and I've been through this many times. My harddrive in my computer recently crashed and I had to replace it. Now all of my songs are gone (other than the ones I got on iTunes obviously). About half of my

  • Nokia 5130 mobile saved messages are not visble no...

    Nokia 5130 mobile saved messages are not visble not but still show in memory details, my mobile just restrated and with i turn back it on my saved messsages were not visible please help on that

  • Is "Reflector" working with iOS7?

    Anyone tried already?

  • BAPI_SALESORDER_CHANGE - change the Payer at header level

    Could someone look thru the following and tell me why i am getting an express message when i try to change the Payer. The BAPI worked fine before I introduced the Payer change. Any help appreciated........ -->when i changed teh item number to 000010