Display two columns in hierarchy level

Hello,
I have created a simple hierarchy with 3 levels, each with a number key and description.
When I create an analysis, I only see the number being displayed for each level.
I have already tried adding the  description column in the RPD as 'Use for display', but it didnt work.
Also tried messing with the hierarchy properties in the presentation layer, but no luck.
What I could do is create a calculated field which concatentates both number and description columns into one.. but is that really necessary?
Thank you for your help,
Joao

Hi Joao,
Technically, Description ID column in rpd works with prompt selection because where you will have to select "Enable user to select code by column" which brings sql with id rather than text as shown below
OBIEE, Endeca and ODI: Description ID column - OBIEE 11g
In your case you should go with new column with concatenation let me know if you have any difficulty in doing it !
Thanks,
Saichand

Similar Messages

  • How to display two "columns" in combobox?

    Hi,
    I need to display two strings for each row of a combobox. Say string array str1 = {"abc", "aw", "axz12"}, str2 = {"12.1", "33.123", "5.06612"}. Now I want to display them in a combo box as a "table with 2 columns", i.e. when the drop down menu is clicked, it will show something like a table (with or w/o borders)
    abc 12.1
    aw 33.123
    axz12 5.06612
    if the first one is selected, it will show "abc 12.1". I could use jcomboboxA.addItem(str1[i] + " " + str2), but it does not show nicely -- not as a table. Is there any way to do it?
    Thanks!
    Harvey

    Thanks for the answer to the first question. Though if I include the list.setFont() method in the getListCellRendererComponent or in the custom UI i've created, I still get monospaced data.
    As for the second one about getting long data to display correctly
    I already changed the tabstop location from right to left and all data appears fine for most of the elements in the list, but if the text is very long for the second column, the long text values in the 2nd column smash up against the values in the first column. (I wish I could provide a screen print here... a thousand words and all that). Here's what the data looks like in the list:
    aa's really really really really really long description
    x x's description
    y y's description
    zz's really really really really long description
    I've already resized the popup list so there's plenty of room to show the long text. I'll paste the code here so you can see exactly what I've got. I give the combobox 2 string arrays, one for codes & one for descriptions. combo.getText() needs to give JUST the code. The popup window stuff is mostly cut & paste (probably from camikr's other posting), so I'm not sure if the difficulty is there... I cannot profess to understand each line.
    Thanks all, for any input...
    public class CustomComboBox extends JComboBox {
        public int _maxdatawidth = 0;
        private int size;
        public CustomComboBox(Object[] codes, Object[] names) {
            size = codes.length;
            int textlength = 0;
            String data [][] = new String[size][2];
            for (int i = 0; i < size; i++) {
                data[0] = (String) codes[i];
    data[i][1] = (String) names[i];
    if (data[i][1].length() > textlength)
    textlength = data[i][1].length();
    // create a customized model for getting selected item.
    DefaultComboBoxModel model = new DefaultComboBoxModel(data);
    this.setModel(model);
    setRenderer(new TabListRenderer());
    // set the maxwidth for popup size
    FontMetrics fm = this.getFontMetrics(this.getFont());
    // give 20% buffer to make sure the popup is big enough
    _maxdatawidth = Math.round((textlength) * fm.charWidth('W') * 1.20F);
    // select the first item by default
    // must select the item before setting the UI to show the default.
    // ttcp 7/1 trying to select item. >>> NOT working.
    this.getModel().setSelectedItem(data[1]);
    this.getModel().setSelectedItem(data[0]);
    // this.setSelectedItem(data[0]);
    // set the UI
    setUI(new CustomComboBoxUI(this));
    // select the first item by default
    // this.setSelectedItem(data[0]);
    // this.setSelectedIndex(0);
    // this.setSelectedIndex(0);
    public Object getSelectedData() {
    Object loReturn = null;
    loReturn = super.getSelectedItem();
    if (loReturn instanceof Object[]) {
    Object[] selecteddata = (Object[]) loReturn;
    if (selecteddata.length > 0)
    loReturn = selecteddata[0];
    else {
    loReturn = null;
    return loReturn;
    class TabListRenderer extends JTextPane implements ListCellRenderer {
    private static final int TAB_COLUMN = 12;
    private Color background = UIManager.getColor("ComboBox.selectionBackground");
    private Color foreground = UIManager.getColor("ComboBox.selectionForeground");
    // private Font font = UIManager.getFont("List.font");
    TabListRenderer() {
    setMargin(new Insets(0, 0, 0, 0));
    // can't seem to get the font NOT monospaced.
    setFont(new Font("Dialog", Font.PLAIN, 11));
    FontMetrics fm = getFontMetrics(getFont());
    int tabWidth = fm.charWidth('w') * TAB_COLUMN;
    TabStop tab = new TabStop(tabWidth, TabStop.ALIGN_RIGHT, TabStop.LEAD_NONE);
    TabStop[] tabs = new TabStop[1];
    tabs[0] = tab;
    TabSet tabSet = new TabSet(tabs);
    SimpleAttributeSet attributes = new SimpleAttributeSet();
    StyleConstants.setTabSet(attributes, tabSet);
    getStyledDocument().setParagraphAttributes(0, 0, attributes, true);
    setPreferredSize(new Dimension(tabWidth, fm.getHeight()));
    public Component getListCellRendererComponent(
    JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
    String leftData = ((String[]) value)[0];
    String rightData = ((String[]) value)[1];
    setText(leftData + "\t" + rightData);
    setBackground(isSelected ? background : null);
    setForeground(isSelected ? foreground : null);
    return this;
    class CustomComboBoxUI extends MetalComboBoxUI {
    final CustomComboBox _box;
    public CustomComboBoxUI(final CustomComboBox pobox) {
    super();
    _box = pobox;
    protected ComboPopup createPopup() {
    BasicComboPopup popup = new BasicComboPopup(comboBox) {
    public void show() {
    Dimension popupSize = _box.getSize();
    popupSize.setSize(_box._maxdatawidth, getPopupHeightForRowCount(_box.getMaximumRowCount()));
    Rectangle popupBounds = computePopupBounds(_box.getX(), comboBox.getBounds().height, popupSize.width, popupSize.height);
    scroller.setMaximumSize(popupBounds.getSize());
    scroller.setPreferredSize(popupBounds.getSize());
    scroller.setMinimumSize(popupBounds.getSize());
    list.invalidate();
    int selectedIndex = comboBox.getSelectedIndex();
    if (selectedIndex == -1) {
    list.clearSelection();
    } else {
    list.setSelectedIndex(selectedIndex);
    list.ensureIndexIsVisible(list.getSelectedIndex());
    setLightWeightPopupEnabled(comboBox.isLightWeightPopupEnabled());
    show(comboBox, popupBounds.x, popupBounds.y);
    popup.getAccessibleContext().setAccessibleParent(comboBox);
    return popup;

  • Problem displaying two columns in JCombobox using EnumerationBinding

    I am using a JComboBox with an EnumerationBinding where I selected two attributes to be displayed in the combobox. But, it displays the first one only.
    I am using jDeveloper 9.0.3 version(latest version).
    The code is as follows.
    public void jbinit(){
    JComboBox cb = new JComboBox();
    cb.setModel(JUComboBoxBinding.createNavigationBinding(panelBinding, cb, "RecPositionView", null, "RecPositionViewIter", new String[]{"Code", "Descr"}, null, null));
    The combobox only displays the code but I want the combobox to display the code as well as the Descr. Does anyone know how to do it?
    Thanks in advance.
    Urmila

    The combobox only displays the code but I want the combobox to display the code as well as the Descr. Does anyone know how to do it?
    You're running into a known bug 2610954.

  • Spool ALV not displaying two column value

    Hi,
    In spool ALV is getting displayed. But the output is not printing the value of 2 columns , both are MATNR values. I checked the output table it is fetching the material number but ALV is not displaying it. please help its urgent. The GI material is not getting displayed.

    HI Aparjitha,
    As per the above screenshot I assume there should be only 2 possible cases as said by Jyoti. Apart from that there is no other chance of missing data, especially for couple of columns in the output.
    If you are passing the value at run-time to MATNR and you are able to see that in output, hence your final internal table which you are passing to the ALV is not filled appropriately with MATNR values. May be those values are cleared somewhere.
    It would be better if you could share some piece of your subroutine FIELDCATFILL code. Also place a breakpoint before ALV display and check if the fieldcatalog and the final internal table are having the appropriate values.
    Regards,
    Naresh

  • How to only display specific members from dissimilar hierarchy levels?

    Hi,
    I have a Business Partner that routinely wants to build a report that displays members from dissimilar hierarchy levels. For example, she wants to display member "210_UNASSIGNED EXP/ACC" from level 8 and member "E090_ADVISOR SERVICES" from level 1. When she filters on just those two members, the reports displays as such:
    She then must manually expand the "E020_CORPORATE AND EXECUTIVE" member 7 times to see "210_UNASSIGNED EXP/ACC":
    Is there anyway to make her life easier and have the report display only the "210_UNASSIGNED EXP/ACC" member and the "E090_ADVISOR SERVICES" member, even though they are from different levels?
    Thanks,
    Michael J Titera
    BI4.0 SP8.3
    SQL Server 2012

    Hello Michael
    Displaying information from mixed hierarchy levels without the context of the parent members is a reporting workflow best suited to WebI and CR. The AOLAP content can be exported as an Analysis View and then this becomes a data source for WebI and CR.
    Our previous product Voyager used to allow member selection from mixed levels without the context of parent members but it caused a lot of confusion and misinterpretation of the data, which is why we deliberately do not have it in AOLAP.
    Worth noting that BI4.1 was a big release for AOLAP with many enhancements. One is "Expand to Level". So instead of having to click 7 times to expand the hierarchy, it now just requires one mouse right-click to do the same thing.
    Regards
    Ian

  • Displaying all GL accounts according to hierarchy level(Based on ERGSL)

    Hi all,
    I have a requirement to display balance sheet and PL account for the given period...
    1. I have to select all G L account numbers (BSEG-HKONT) with their amounts which belongs to same group (i.e. for those ERGSL value is same).
    2.Display sum at each hierarchy level with respect to company codes.
    From table FAGL_011ZC we can find the range of GL account (lower limit-VONKT upper limit-BISKT) and ERGSL using VERSN.
    In T-code FSE2 we can see the hierarchy levels.
    The table FAGL_011PC will get parent ane child relation ship for ERGSL.
    I have to display all these GL accounts according to hierarchy leve.
    please help me out in this regard.(if there any similer code it would be a great help).
    Thank you all in advance!!!!
    Ravi

    Hi Bhanu,
    thanks for your fast response, but this did not help. To make it more clear:
    Lets assume, I have the following hierarchy:
    <Root>
    |
    +- Good Customers
    |  |
    |  +- Customer_A
    |  |
    |  +- Customer_B
    |
    +- Bad Customers
        |
        +- Customer_C
        |
        +- Customer_D
    I have the customer in the free characteristics of a more complex query. I restricted it to the hierarchy node "Good Customers".
    In the web template i use a "Dropdown Box" with the customer as the assigend characteristic and read mode "Dimension".
    In this example the dropdown box would show the entries
    - All values
    - Customer_A
    - Customer_B
    But I would like to see the entries
    - All values
    - Good customers
    I already tried various settings in the query definition concerning the display hierarchy of the customer char with no success yet.
    Regards,
    Philipp

  • Product Hierarchy level 2 code and description details

    Hi BW Experts,
    In our report we want to display Material wise 'Product Hierarchy level 3 code and level 2 description.
    Here, we have loaded material master hierarchy data to BW but we are not able to get the level 3 code and level 2 desc.
    In R/3 side we can see product hierarchy level 3 code and level 2 description using transaction code.
    Could some one help me how do we get these details.
    Thanks in advance.
    mahantesh

    Folks,
    Any solution?
    Laks

  • Plz help me to put two columns in JCombobox

    hi everyone...
    Please help anyone to display two column in a jComboBox.......
    I want the smple coding.....
    with regards
    Anand

    Hallo.
    Afaik, it's not possible using only classes provided in java.swing/java.awt packages.
    One possible solution is to use custom renderer. By default JList and JComboBox are rendered using single JLabel. Our renderes should use several labels put on panel as rendereing component. For information see "Providing custom renderer" in "How to Use Combo Boxes" tutorial article, please. http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html#renderer
    Sample (functional but not very nice) code is below. Sorry, I've tried to make it as short as possible.
    import java.awt.*;
    import javax.swing.*;
    public class Main extends JDialog {       
        Main() {       
            JComboBox jPiceList = new JComboBox(new Object[] {
                new Object[] { "Lemon", 0.5 },
                new Object[] { "Tee", 3 },
                new Object[] { "Pinguin", 1 },
            jPiceList.setRenderer(new MyRenderer());       
            add(jPiceList);       
            setDefaultCloseOperation(DISPOSE_ON_CLOSE);
            pack();
        public static void main(String... args)
        throws Exception {               
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new Main().setVisible(true);
    * This class use panel with two labels to render
    * list (combobox) cell
    class MyRenderer implements ListCellRenderer {
        JComponent rendererComponent;
        JLabel labels[] = { new JLabel(), new JLabel() };
        public MyRenderer() {
            // We use panel with two labels as renderer component
            rendererComponent = new JPanel();
            rendererComponent.setLayout(new GridBagLayout());
            // Add labels
            GridBagConstraints c = new GridBagConstraints();
            c.fill = c.HORIZONTAL;
            c.weightx = 0.1;
            rendererComponent.add(labels[0],c);
            rendererComponent.add(labels[1]);
        public Component getListCellRendererComponent(
                JList list, Object value, int index,
                boolean isSelected, boolean cellHasFocus) {
            Object rowData[] = (Object[])value;
            // Prepare colors
            Color foreground = isSelected?
                list.getSelectionForeground(): list.getForeground();
            Color background = isSelected?
                list.getSelectionBackground(): list.getBackground();
            // Set panel colors
            rendererComponent.setForeground(foreground);
            rendererComponent.setBackground(background);
            // TODO Prepare and set panel border for hint
            // @see DefaultListCellRenderer#getListCellRendererComponent        
            // Now set label value and colors
            int col = 0;
            for(JLabel label : labels) {
                label.setBackground(background);
                label.setForeground(foreground);
                label.setText( String.valueOf(rowData[col++]) );
            return rendererComponent;
    }

  • Parent-Child hierarchy based on two-column key

    Hello
    Is it possible to create a parent-child hierarchy, if the primary key of the table consists of two columns?
    My table looks like:
    TRACE_ID | DIAG_ID | SUPER_DIAG_ID
    with TRACE_ID and DIAG_ID as PK.
    If I define only DIAG_ID as PK, I can add a logical dimension (PC-hierarchy) without problems.
    However when I also add TRACE_ID to my PK, I cannot select a member key in the new logical dimension window and therefore not create a logical dimension.
    Is this a limitation of OBIEE and I have to merge the two colums (which would be rather bad, as there are FK relations to DIAG_ID) or is there a solution?
    Regards
    Matthias

    Dear Gowtham  ,
    I am very well aware of the level based hierarchy available in BO .
    The issue that i have raised is all about the Parent Child Hierarchy which creates the recursive query.
    I.e Every Parent has a child and that child can be parent of some other . (See the original example for more illustration)

  • How to display two or more links in a single column

    Hi,
    Is there a way to display two links in a single column in a sql query report . I am able to specify one but I am not able to add links to the same column . I want to take the same column id and redirect the user to different pages based on the values selected .
    Thanks

    There is no way to this declaratively that I know of. Some alternatives...
    1. Put the conditional branching logic in the report SQL itself. e.g. case when ... then '< a href=..' else '< a href=...' end and make sure the column display type is Standard Report column
    2. Have the declarative column link go to a dummy/intermediate page and setup On Load: Before-Header branches on that page to redirect to the desired page based on the item value(s) passed in to the intermediate page.

  • How best to display a two column menu in Flash 8?

    I have a flash 8 template and i am using Macromedia Flash Professional 8. I want to create a menu in a scrollable text box, which has two columns exactly aligned like so:
    Lamb                                                   £2.30                       Chicken                                                      £2.30                                                
    Minced lamb with onions, herbs,                                           Minced chicken with an mixture of
    in egg yolk and shallow fried.                                                green chillies cooked over a charcoal grill on
    Kebab                                                  £2.80                       Lamb                                                         £2.40
    A mix of chicken kebab, seekh kebab and                             Minced lamb mixed with gram flour, spices, green
    shami kebab.  Served on a sizzler.                                        chillies and herbs then deep fried.
    However, when i test the movie there is no formatting and the text is misaligned. I already have the above text (and there is alot of it) in the exact format, in a word file, so i could copy and paste the text instead of writing it out all over again.
    I have been advised that it is better to use the Datagrid component to display the above text in a table?
    My question is, how can i use the Datagrid component to display the text aligned exactly as above? Do i need to create html tables and then get the datagrid component to call this html file, xml file or actionscript? I am not familiar with xml or actionscript.
    Please can someone help?
    Thank you.

    Hi Ned. Apologies for late reply. Been away.
    Anyway, i have created an image of what it is i need. Please see the image below - menu.gif
    Not sure what the easiest way is to create such a two column menu in Flash because the tab key on the keyboard does not work in a scrollable textbox only the space bar. And using the space bar does not align the text correctly.
    However, i do have a html file which i created using html tables. Is there a way to import the html file into a scrollable textbox in flash? The raw html code example is a little different as i have included the borders, but the idea is the same - a two-column scrollable menu.
    Any help would be greatly appreciated.
    <html>
      <head>
        <title></title>
      </head>
      <body>
        <table width="50%" border="1">
          <tr>
            <td>
              <table width="100%" border="1" cellpadding="2"
              cellspacing="0">
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
                <tr>
                  <td>Other</td>
                  <td>10%</td>
                </tr>
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
                <tr>
                  <td>Other</td>
                  <td>10%</td>
                </tr>
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
                <tr>
                  <td>Other</td>
                  <td>10%</td>
                </tr>
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
              </table>
            </td>
            <td>
              <table width="100%" border="1" cellpadding="2"
              cellspacing="0">
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
                <tr>
                  <td>Other</td>
                  <td>10%</td>
                </tr>
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
                <tr>
                  <td>Other</td>
                  <td>10%</td>
                </tr>
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
                <tr>
                  <td>Other</td>
                  <td>10%</td>
                </tr>
                <tr>
                  <td>Apples</td>
                  <td>44%</td>
                </tr>
                <tr>
                  <td>Bananas</td>
                  <td>23%</td>
                </tr>
                <tr>
                  <td>Oranges</td>
                  <td>13%</td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </body>
    </html>

  • How to display the column header in two rows?

    Hi Experts,
    I am using ALV_LIST_DISPLAY i neeed to display the column header in two rows.. How can i do that?
    Ex: purchase order i  need to display "purchase" in one row and "order" in second row.
    Thanks in advance,
    Sarath.j

    REPORT zpwtest .
    TYPE-POOLS slis .
    DATA : layout TYPE slis_layout_alv .
    CONSTANTS : c_len TYPE i VALUE 20 .
    TYPES : BEGIN OF ty_t100          ,
              sprsl TYPE t100-sprsl   ,
              arbgb TYPE t100-arbgb   ,
              msgnr TYPE t100-msgnr   ,
              text  TYPE t100-text    ,
              fline TYPE t100-text    ,
            END OF ty_t100            .
    TYPES : BEGIN OF ty_wrd   ,
             text TYPE char20 ,
            END OF ty_wrd     .
    DATA : it_t100     TYPE TABLE OF ty_t100 ,
           it_sentence TYPE TABLE OF ty_wrd  ,
           wa_t100     TYPE ty_t100          ,
           wa_word     TYPE ty_wrd           ,
           v_repid     TYPE syst-repid       ,
           v_tabix     TYPE syst-tabix       .
    DATA : it_fld TYPE slis_t_fieldcat_alv ,
           it_evt TYPE slis_t_event        ,
           wa_fld TYPE slis_fieldcat_alv   ,
           wa_evt TYPE slis_alv_event      .
    INITIALIZATION .
      v_repid = sy-repid .
    START-OF-SELECTION .
    * Get data
      SELECT *
        INTO TABLE it_t100
        FROM t100
       WHERE sprsl = 'EN'
         AND arbgb = '00' .
      LOOP AT it_t100 INTO wa_t100 .
        v_tabix = sy-tabix .
        CLEAR : it_sentence .
        CALL FUNCTION 'RKD_WORD_WRAP'
             EXPORTING
                  textline  = wa_t100-text
                  outputlen = c_len
             TABLES
                  out_lines = it_sentence.
        IF NOT it_sentence IS INITIAL .
          READ TABLE it_sentence INTO wa_word INDEX 1 .
          wa_t100-fline = wa_word-text .
          MODIFY it_t100 FROM wa_t100 INDEX v_tabix .
        ENDIF.
      ENDLOOP.
    * Prepare fieldcatelog
      CLEAR wa_fld .
      wa_fld-fieldname = 'SPRSL' .
      wa_fld-ref_tabname = 'T100' .
      wa_fld-ref_fieldname = 'SPRSL' .
      APPEND wa_fld TO it_fld .
      CLEAR wa_fld .
      wa_fld-fieldname = 'ARBGB' .
      wa_fld-ref_tabname = 'T100' .
      wa_fld-ref_fieldname = 'ARBGB' .
      APPEND wa_fld TO it_fld .
      CLEAR wa_fld .
      wa_fld-fieldname = 'MSGNR' .
      wa_fld-ref_tabname = 'T100' .
      wa_fld-ref_fieldname = 'MSGNR' .
      APPEND wa_fld TO it_fld .
      CLEAR wa_fld .
      wa_fld-fieldname = 'FLINE' .
      wa_fld-inttype      = 'CHAR' .
      wa_fld-outputlen = 20 .
      wa_fld-intlen    = 20.
      wa_fld-seltext_l = 'Text' .
      wa_fld-ddictxt = 'L' .
      APPEND wa_fld TO it_fld .
    * Get event.. we will handle BOFORE and AFTER line output
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           IMPORTING
                et_events = it_evt.
      READ TABLE it_evt INTO wa_evt
      WITH KEY name = slis_ev_after_line_output .
      wa_evt-form = slis_ev_after_line_output .
      MODIFY it_evt FROM wa_evt INDEX sy-tabix .
      READ TABLE it_evt INTO wa_evt
      WITH KEY name = slis_ev_top_of_page .
      wa_evt-form = slis_ev_top_of_page .
      MODIFY it_evt FROM wa_evt INDEX sy-tabix .
      layout-no_colhead = 'X' .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_callback_program = v_repid
                it_fieldcat        = it_fld
                is_layout          = layout
                it_events          = it_evt
           TABLES
                t_outtab           = it_t100.
    *       FORM top_of_page                                              *
    FORM top_of_page .
        uline .
        WRITE: / sy-vline     ,
               10 sy-vline    ,
               11 'line1'     ,
               31 sy-vline    ,
               37 sy-vline    ,
               58 sy-vline    .
        WRITE: / sy-vline     ,
               10 sy-vline    ,
               11 'line2'     ,
               31 sy-vline    ,
               37 sy-vline    ,
               58 sy-vline    .
        WRITE: / sy-vline     ,
               10 sy-vline    ,
               11 'line3'     ,
               31 sy-vline    ,
               37 sy-vline    ,
               58 sy-vline    .
    ENDFORM.
    *       FORM AFTER_LINE_OUTPUT                                        *
    FORM after_line_output   USING rs_lineinfo TYPE slis_lineinfo .
      CLEAR : it_sentence ,
              wa_t100     .
      READ TABLE it_t100 INTO wa_t100 INDEX rs_lineinfo-tabindex .
      CHECK sy-subrc = 0 .
      CALL FUNCTION 'RKD_WORD_WRAP'
           EXPORTING
                textline  = wa_t100-text
                outputlen = c_len
           TABLES
                out_lines = it_sentence.
      DESCRIBE TABLE it_sentence LINES v_tabix .
      CHECK v_tabix > 1 .
      LOOP AT it_sentence INTO wa_word FROM 2 .
        WRITE: / sy-vline     ,
               10 sy-vline    ,
               31 sy-vline    ,
               37 sy-vline    ,
               38 wa_word-text ,
               58 sy-vline .
      ENDLOOP.
    ENDFORM .

  • How to display content items in two columns?

    I have a simple content area set up, that I am adding items in
    (items that happen to be uploaded documentation files). I have a
    page created that displays the Content Area, with my own
    headers/banners etc.
    I want to display the item(s) under each folder in the content
    are, in two columns, but I can't figure out how?
    Thanks.

    Dave,
    Edit the Folder Style. Select the Folder Layout tab. Select
    the Region Properties you want to modify (e.g. Regular Items).
    Near the bottom of the page you can specify the number of
    columns.
    Regards,
    Jerry

  • Gallery Display Thumbnails in Two Columns

    Thanks to Mr. Booth for his excellent tutorial on setting up
    a web gallery. This really gave me a great foundation.
    My question has to do with controlling how thumbnail images
    are displayed on the page. I would like to display two (or three)
    columns ot thumbs along with a text title for each. If I were
    programming this in C++, I would setup a "for loop" and simply
    display the first column with an index of i/2, and the second
    column with an index of i/2 + 1, but I can't seem to figure out how
    to achieve a similar effect within the confines of HTML.
    Here is my code snippet. What I get is two columns of
    identical thumbs. How would you change this to make thumbs 1,3,5...
    appear in column one, and thumbs 2,4,6... appear in column two? It
    seemed to me that using a table was a good way to set this up, but
    I'm very new to web programming.
    <div class="NewThumbClass" spry:region="dsGallery" >
    <table>
    <tr spry:repeat="dsGallery" >
    <td> {title} <br />
    <img src ="thumbnails/{path}" /></td>
    <td> {title}<br />
    <img src ="thumbnails/{path}" /></td>
    </tr>
    </table>
    </div>
    Note that {title} and {path} are gotten from the XML database
    file. Thanks in advance for your help.
    Mike Whalen

    Hi
    No! It's not possible, but you can try to create an your own heading in TOP-OF-PAGE to write the first heading line, the second one will be the std line .
    Max

  • Displaying Properties/Resources in two columns

    Hi,
    is there any way to display resources (links, files,...) (for example in PortalFavorites) in two columns (that means two resources in one row).
    Can anybody help me?
    Thanks
    Ray

    Hi,
    I configurated my own CollectionRenderer based on ConsumerColumnCollectionRenderer .
    Ciao
    Ray

Maybe you are looking for

  • Download of files shows in destination directory then disappears

    Windows 7, Firefox 22, McAfee antivirus. When I am on a site that allows me to download a file, the file and file.part appears in the destination directory. After the file completes the download, the files disappears from the directory. I have reset

  • Problem updating Audigy 2 NX driv

    I have a Dell 8600 notebook with an Audigy 2 NX. I have no problem installing and running the device when using the original driver from the disc, however when I try to update to the newer drivers I get nothing but crackling and screaching noises. I

  • SSRS 2012 Reports freeze after first run in IE 11

    Hello, We have just recently upgraded/migrated from SSRS 2008R2 to SSRS 2012 sp2 (Windows 2012 R1).  We have found one report so far when using IE 11 that after the first run from the client side Internet Explorer freezes.  The report normally takes

  • Activation of Infotype for Interactive reporting

    I know that from SAP CRM 7.0 EHP 1.0 sap provides support for interactive report on Service requests. My question - Is there any standard interactive report on service request provided by SAP CRM? I checked in ORDYWB(Interactive workbench), I did not

  • HP Printing Slightly Crooked offcenter

    illustrator CS2-Windows XP-I have had adobe illustrator CS2 for 3 + years.I am self taught novice. Usage for grpahics. I use a HP b8350 printer great for a year w/adobe.The problem if you look at printed image it is askew. The bottom third of the ima