Problem with Characteristic cell width

Hi All,
I'm struggling to get the characteristic cell width using the table interface to work correctly.
I have coded the following in CHARACTERISTIC_CELL in the table interface :
move 'style="width:230px"' to c_cell_td_extend.
This appears to work in the Dev system but moving to production, it no longer applies and the charcteristic cells are the size of the values from the queries.
Would anyone have had this same prob or an idea of how to force the charcteristic cells to be the width I want them ?
The reason I am doing this is because I need to place multiple table results above one another and when I remove the cell headings the columns misalign ...
Thanks
Chris

Chris,
if your modifier is working properly , you should be able to see the width=230px in the HTML source of the template.
Another way could be to attach this width to a stylesheet class and attach the class to the cell instead.
Arun
Assign points if useful

Similar Messages

  • Problem with increased cell width

    Hi Gurus,
    In Smartform while creating table, on wat basis we give the cell width i mean column width, is that based on the length of the variable, or is there any formula to align perfectly.
    Thanks in Advance,
    Viswam.
    Message was edited by:
            viswam

    Hi,
    You find the length of fieldname for the header and the field to be displayed in item.
    Total
    total(15),
    here total is 5 characters while the variable under it can contain atmost 15 characters. So we assign cell width at least 15 + 5(min) = 20 unit. It basically depends on how many columns to display. If less columns are used you can be liberal, but if more number columns are to be displayed just add 5 or whatever number you want to the bigger of the two mentioned above.
    Regards,
    mallick

  • Printing problem with gray cells in smartforms

    Hi there,
    i have developed a smart form with some color logo and some gray shaded cells. If i print it by SAPLPD it comes out fine but when i print it on a printer configured in SAP it doesn’t come out properly. All the gray cells print as black cells. Any advice?
    Regards.

    Asif,
    it some times depends upon the printer drivers also
    i faced the same problem with one printer then i tried with the other hpcolor printer then i got the printout perfectly that means sometimes the drivers of the printer will crash with the program
    so its better u try this one in the another printer
    if u have this problem futher let me know
    Regards
    naveen

  • Table cells - Problem with merged cells

    Hi
    I was experiencing very weird behavior with my tables until I realized that it was caused by merged cells
    My script gives a dialog which allows the user to choose from which column to start and from which row.
    As the script iterates through the cells in the selection I was getting weird results
    Through using .select() function I was able to see that depending on the column, some times row 5 could be which seems to be row 3!
    The reason was because of merged cells in that row
    I.e., when some cells are merged together, only the first column of those merged cells is recognized - the others are not
    so it comes out that when merging cells from column 3 to 5, column 3 has a cell in that row, columns 4 and 5 do not, and column 6 does!
    Is there a way to get around this behavior?
    Thanks
    Davey

    I don't understand the point of your post.
    If you're trying to report a problem or "bug" with Pages, that is not the purpose of this user-to-user forum. You should leave feedback for the Pages team on this page.
    I've not had a problem opening Word files with tables in Pages. If you're saying Word can't handle tables with merged cells, then don't use merged cells in files you are going to export as Word. Word & Pages must handle merged table cells differently, as I know both can do that. As far as RTF, Pages can open & export as RTF. Again, if you are going to export as RTF, don't use tables. Neither of these is a fault of Pages, just limitations of the formats/programs.

  • Problem with structure cell STYLE

    Hi
    I'm working a wad report with table interface i've already changed the style's structures with the STRUCTURE_CELL method, that's ok. Also i need to control the padding-left but when i tried this the style isn't be able to change it.
    It  took the style that is coming from the style class sapbexlevelh2 is its hierarchy in the structure, i checked the padding-left and i set it to 0, but the page generated putted &nbsp trying to make the distance... i would like to eliminate that space....any ideas?
    Thanks in advance

    Maria,
    If you notice the values for the cell - you would also find that there would be javascript for the arrow mark on the cell - that could be your problem which causes the &nbsp..
    Also it could be an issue with the WAD report trying to render the value in the same cell -
    http://www.xs4all.nl/~dimaroan/htl/faq1.html
    try increasing the column width...
    Arun
    Message was edited by:
            Arun Varadarajan

  • In Delayed Pulse Generation vi,Problem With THE PULSE WIDTH??

    In Delayed Pulse Generation vi, I want to input a very low number for the Pulse Width while using an external timebase source. But the minimum pulse width has to be 2. Does anyone know how can I solve this problem??

    Hey 45,
    Unfortunately, there is no way to generate a pulse width smaller than 2x your external timebase.
    There is an option to create a pulse of arbitrary width of your external source if you can afford some software processing in between. What you can do is use 1 counter to measure how many source edges of your card's internal timebase (80 MHz for TIO only, 20MHz or 100kHz for TIO and STC) your external signal is. This uses pulse width measurement as the counter application. Once you know how many source edges it takes to represent your pulse, then you can use triggered pulse generation and use the internal timebase with the pulse specs set to create the exact pulse width you want (and delay) and you can use your external pulse as the trigger. Th
    is works well if your pulse is always the same width and you can measure it before hand. As an example, let's say your pulse is 20 internal timebase pulses when measured. This means you can use the pulse specs to specify a pulse width of 0.75 your pulse width by using only 15 internal timebase edges for your pulse width.
    I don't know if I was clear above or not but if you give me your exact application you are looking to achieve, I might be able to help you out. Hope that helps.
    Ron

  • Problem with coloring cells in dynamic fieldcatalog

    Hi All,
    I am trying to color cells based on the values in the cells. Here we are using dynamic fieldcatalog and internal table to build the ALV grid.I am getting problem in adding a field to the fieldcatlog which is of type lvc_t_scol. This Part of the code is used to build fieldcatlog dynamically.
    DEFINE add_cat.
        add 1 to lv_count1.
        lwa_fldcat-col_pos     = lv_count1.
        lwa_fldcat-fieldname = &1 .
        lwa_fldcat-reptext   = &2.
        lwa_fldcat-inttype   =  &3.
        lwa_fldcat-intlen    = &4.
        append lwa_fldcat to lt_fldcat .
      END-OF-DEFINITION.
    *Add Columns to the fieldcatalog
      add_cat c_proj 'Project' 'C' '30'.
      add_cat c_cust 'Customer' 'C' '30'.
      lwa_fldcat-col_pos     = 12.
        lwa_fldcat-fieldname = 'cellcolor' .
        lwa_fldcat-reptext   = 'cell color'.
    <b>    lwa_fldcat-inttype   =  'lvc_t_scol'.</b>
        append lwa_fldcat to lt_fldcat .
    Here i want to assign internal table(lvc_t_scol) to the fieldcatalog as a field.But  lwa_fldcat-inttype is of size 1 which will take one char. Is there any way that we can assign field of type internal table to the field catalog. Becoz of this i am unable to color cells in my ALV grid.
    Thanks

    It is not possible with the METHOD cl_alv_table_create=>create_dynamic_table to include another table inside that newly generated table.
    I have tried to do it with the code and I got the dynamic table created after at the end of the program.
    In the code,
    <DYN_TABLE> has same effect as your <table> variable
    <DYN_WA> has same effect as your <HEADER>
    REPORT  ZTEST_NP_DYNAMIC.
    DATA: DY_TABLE TYPE REF TO DATA,
          DY_LINE  TYPE REF TO DATA.
    FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
                   <DYN_WA>,
                   <DYN_FIELD>.
    FIELD-SYMBOLS: <FS> TYPE ANY.
    * To generate the Dyanmic table with the COLOR
    DATA: LS_SOURCE TYPE STRING.
    DATA: LT_SOURCE LIKE STANDARD TABLE OF LS_SOURCE WITH HEADER LINE.
    DATA: L_NAME LIKE SY-REPID.
    DATA: L_MESSAGE(240) TYPE C,
          L_LINE TYPE I,
          L_WORD(72) TYPE C.
    DATA: L_FORM(30) TYPE C VALUE 'TABLE_CREATE'.
    LT_SOURCE = 'REPORT ZTEST_SUBROUTINE_POOL.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'FORM  TABLE_CREATE USING I_FS TYPE ANY.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'DATA: BEGIN OF LT_GENTAB OCCURS 0.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'DATA: BUKRS TYPE BUKRS. '.
    APPEND LT_SOURCE.
    LT_SOURCE = 'DATA: BKTXT TYPE BKTXT. '.
    APPEND LT_SOURCE.
    * you can add your fields here.....
    LT_SOURCE = 'DATA: COLOR TYPE lvc_t_scol. '.  " <<
    APPEND LT_SOURCE.
    LT_SOURCE = 'DATA: END OF LT_GENTAB.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'DATA: POINTER TYPE REF TO DATA.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'CREATE DATA POINTER LIKE STANDARD TABLE OF LT_GENTAB.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'I_FS = POINTER.'.
    APPEND LT_SOURCE.
    LT_SOURCE = 'ENDFORM. '.
    APPEND LT_SOURCE.
    L_NAME = 'ZTEST_SUBROUTINE_POOL'.
    CATCH SYSTEM-EXCEPTIONS GENERATE_SUBPOOL_DIR_FULL = 9.
      GENERATE SUBROUTINE POOL LT_SOURCE NAME L_NAME
               MESSAGE L_MESSAGE LINE L_LINE WORD L_WORD.  "#EC CI_GENERATE
    ENDCATCH.
    IF NOT L_MESSAGE IS INITIAL.
      MESSAGE E000(0K) WITH L_MESSAGE L_LINE L_WORD.
    ENDIF.
    ASSIGN DY_TABLE TO <FS>.
    PERFORM (L_FORM) IN PROGRAM (L_NAME) USING <FS>.
    ASSIGN DY_TABLE->* TO <DYN_TABLE>.
    * Create dynamic work area and assign to FS
    CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
    ASSIGN DY_LINE->* TO <DYN_WA>.
    Write: 'bye'.
    Regards,
    Naimesh Patel

  • Problem with computing Font width while printing in Landscape mode

    I have an application which prints a table and fills it with some text. I render it on a JComponent using the drawString(theStr, xPos, yPos) and the drawLine(rigtX, topY, rigtX, botY) methods in Graphics2D object. I want to take print-out of the table and also store the image of the table in, say, jpeg format. The print can be in Landscape or Portrait format depending on the size of the JComponent, which the user sets depending on the table size and the font size.
    I have a paintTable( ) method which contains all the drawString( ) and drawLine( ) methods. This method is called from the paint( ) method of the JComponent to achieve normal rendering. The same method is called to get a BufferedImage of the Table. The same method is further called from the implementation of print( ) method from the Printable interface.
    In the paintTable( ) method, I compute the pixel coordinates of the table grid lines and the texts positions in the tables depending on the font width and height obtained as shown below:
            // Set the Font             
            Font theFont = graphics.getFont();
            theFont = theFont.deriveFont((float)TableFontSize); // TableFontSize is an int of value 8,9,10 etc.
            graphics.setFont(theFont);
            // Get the Font Size      
            FontRenderContext frc = graphics.getFontRenderContext();
            float width = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).width;
            float height = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).height;
           System.out.println("FONT WIDTH HEIGHT [" + width + "," + height + "] ");I am getting the following value of width and height when the above print statement is executed with a value of 9 for TableFontSize. FONT WIDTH HEIGHT [18.0,11.3203125]
    The problem I face is :
    While Printing in Landscape mode the value of the 'width' variable printed as given above is becoming negative. Kindly see the values: FONT WIDTH HEIGHT [-9.37793,11.3203125]. This is happening ONLY DURING PRINTING IN LANDSCAPE MODE. This makes my calculation of table grid line coordinates and text positions completely wrong and the table goes out of place.
    Kindly note that, there is no problem during normal rendering and BuffereredImage creation and also while printing in Portrait mode. The problem happens irrespective of Linux or Windows. The value of 'height' is always correct.
    Kindly let me know: If the method I use to get the 'width' and 'height' is correct ? Is there any better way which will work fine in all platforms under all circumstances.
    Kindly help me to sort out this issue.
    Thanks a lot in advance and best regards
    -acj123

    I have extracted the relevent code and made a stand alone program.
    The complete code is enclosed; including that for printing.
    Kindly go through the same and help me to solve this problem.
    Thanks again and regards
    -acj123
    import java.awt.*;
    import java.util.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.awt.print.PrinterJob;
    import java.awt.font.FontRenderContext;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class MyCanvas extends JComponent implements Printable, ActionListener
        int TableFontSize = 9;
        private Graphics2D graphics;
        public MyCanvas(JFrame frame)
            frame.getContentPane().setLayout(new BorderLayout());
            frame.getContentPane().add(this, BorderLayout.CENTER);
            frame.setJMenuBar(createMenuBar());
        public JMenuBar createMenuBar()
            JMenuBar menubar = new JMenuBar();
            JButton printButton = new JButton("Print");
            menubar.add(printButton);
            printButton.addActionListener(this);
            JButton imageButton = new JButton("Image");
            menubar.add(imageButton);
            imageButton.addActionListener(this);
            JButton drawButton = new JButton("Draw");
            menubar.add(drawButton);
            drawButton.addActionListener(this);
            JButton closeButton = new JButton("Close");
            menubar.add(closeButton);
            closeButton.addActionListener(this);
            return menubar;
        public void actionPerformed(ActionEvent evt)
            String source = evt.getActionCommand();
            if  (source.equals("Close"))
                System.exit(0);
            if  (source.equals("Image"))
                getImage();
                return;
            if  (source.equals("Print"))
                printCanvas();
                return;
            if  (source.equals("Draw"))
                repaint();
                return;
        public BufferedImage getImage()
            Dimension dim = getSize();
            BufferedImage image = (BufferedImage)createImage(dim.width, dim.height);
            this.graphics = (Graphics2D)image.createGraphics();
            System.out.print("\nImage ");
            paintCanvas();
            return image;
        public void paint(Graphics graph)
            this.graphics = (Graphics2D)graph;
            System.out.print("\nDraw  ");
            paintCanvas();
        public void paintCanvas()
            // Set the Font      
            Font theFont = graphics.getFont();
            theFont = theFont.deriveFont((float)TableFontSize);
            graphics.setFont(theFont);  
            // Get the Font Size       
            FontRenderContext frc = graphics.getFontRenderContext();
            float width = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).width;
            float height= ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).height;
            System.out.print("FONT WIDTH HEIGHT [" + width + ", " + height + "] ");
            System.out.print(" SIZE "+ super.getWidth() +", "+ super.getHeight());
        public int print(Graphics graph, PageFormat pageFormat, int pageIndex)
            throws PrinterException
            if (pageIndex > 0) return Printable.NO_SUCH_PAGE;
            this.graphics = (Graphics2D)graph;
            graphics.translate(0,0);
            paintCanvas();
            return Printable.PAGE_EXISTS;
         *  Interface method for Printing the Canvas on Paper
        public void printCanvas()
            PrinterJob printJob =  PrinterJob.getPrinterJob();
            printJob.setPrintable(this);
            PrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
            if (super.getWidth() < super.getHeight())
                System.out.print("\nPrint PORTRAIT ");
                attr.add(OrientationRequested.PORTRAIT);
            else
                System.out.print("\nPrint LANDSCAPE ");
                attr.add(OrientationRequested.LANDSCAPE);
            Dimension dim = getSize();
            attr.add(new MediaPrintableArea(1, 1, dim.width, dim.height,
                                                  MediaPrintableArea.MM));
            attr.add(new JobName("MyCanvas", Locale.ENGLISH));
            attr.add(new RequestingUserName("acj123", Locale.ENGLISH));
            if (printJob.printDialog(attr))
                try
                    printJob.print(attr);
                catch(PrinterException ex)
                    ex.printStackTrace();
        public static void main(String[] arg)
            JFrame frame = new JFrame("MyFrame");
            MyCanvas canvas = new MyCanvas(frame);
            frame.setSize(800, 600);
            frame.setVisible(true);
    }

  • Problem with Page header width when column is hidded

    Hi All,
    am using SSRS-2008 R2 version.
    i had an issue width Page header width when am hiding column. Please find the below screen shoot for reference.
    Here , there is an audit parameter which contains a and b values respectively.
    If Audit= a then i need to hide the State and City column . So, for that i have written following expression[ =Parameters!Audit.Label="a" ] and its working fine.
    But, if see the screen shoot when columns are hiding then some space is coming in that column which is deviating from Page header width.
    Is there any option to increase the remaining column width when these 2 columns are hidden or is there any way to reduce the page header width according to report columns width. Can you please guide me any one.
    Thanks in advance.
    bala krishna

    Hi bala,
    According to your description, you have a report with a textbox in its page header. You have set some column visibility in tablix based on the parameter selection. Your problem is, when you hide columns, the textbox remains top right in the page header.
    Now you want to make it aligned with the tablix. Right?
    In Reporting Service, we can’t reduce the page header width or increase those remaining columns width based on the parameter selection (or columns visibility). And we can’t keep the tablix always top right because we only have top and left to determine the
    location of a tablix/textbox. For your requirement, it doesn’t have a complete solution to achieve either of your two options. However, we find a workaround for you. In this scenario, we can use two textboxes in page header. Put one in top right. Put the other
    textbox at an appropriate position when columns are hidden. Then put conditional expression into textbox for text displaying based on parameter selection.
    Ps: We don’t set the visibility of textbox because the space of textbox will be removed if it’s hidden, that may make one textbox float moving when the other is hidden.
    We have tested this case with sample data in our local environment. Here are steps and screenshots for you reference:
    1. In our sample report, we set Amt1 column hidden when selecting “a” in parameter. Put expression into textbox.
    A: =IIF(Parameters!ReportParameter1.Value="a","header info","")
    B: =IIF(Parameters!ReportParameter1.Value="b","header info","")
    2. Save and preview. It looks like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • Problems with vertical cell borders and the default table style

    When laying out tables in Word, I like to use thin horizontal lines (cell borders) and thick-ish white vertical lines. The vertical white cell borders create a subtle negative space that is less cluttered than the typical boxed-in-all-sides style.
    Issue 1.
    In Pages, horizontal cell borders seem to take precedence over vertical cell borders so my vertical white line trick doesn't work. Is there a way to force my vertical white cell borders to "show up" over my think black horizontal cell borders?
    Issue 2.
    So, for the time being, I'm not using vertical white cell borders in tables; instead, I set the vertical cell borders to "none." Unfortunately, when I try to set the default table style using a table with no vertical cell borders, Pages adds the vertical cell borders anyway. Does anyone know a way to get Pages to surrender?
    Message was edited by: Steve in Seattle

    I must apologizes.
    It seems that I didn't understand well the problem.
    Issue 1.
    In Pages, horizontal cell borders seem to take precedence over vertical cell borders so my vertical white line trick doesn't work. Is there a way to force my vertical white cell borders to "show up" over my think black horizontal cell borders?
    NO
    Issue 2.
    So, for the time being, I'm not using vertical white cell borders in tables; instead, I set the vertical cell borders to "none." Unfortunately, when I try to set the default table style using a table with no vertical cell borders, Pages adds the vertical cell borders anyway. Does anyone know a way to get Pages to surrender?
    I checked and here, aftere defining a new default format with vertical lines set to none, this format is used when I cvreate a new table.
    But the same with horizontal lines doesn't apply.
    _Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (from FRANCE mardi 28 avril 2009 22:31:45)

  • Korean language pack causes problems with Outlook email width

    This has been an ongoing problem for me for some time now and I'm hoping someone can provide a resolution to it.
    I had to install a Korean language pack in order to read Korean Word documents.  The problem is that after installing this language pack, it causes some of my emails to appear a lot wider than they should and wider than they appear for others receiving
    the same email.
    There seems to be a trend in that it happens with emails that contain Chinese or Japanese languages.
    I uninstalled the language pack and the problem went away.  Then recently I reinstalled the language pack and the problem returned.
    Does anyone know why this would happen and if there is any way to fix it without having to uninstall the Korean language pack?

    Well, I tried installing all updates (including optional ones), but that did not fix the issue.
    Any other ideas?

  • Problem with table cell editors - Dropdown by Index, getting lead selection

    Hi experts,
    I have a table editor with 5 columns
    1st column is a Drop Down byIndex.
    My contex looks like this
    AS_DATA(Parent Node cardinality 1.1, selection 0-1)
          HEADER (NODE)
          DETAILS(NODE cardinality 0..n, selection 0-1)
             ACTIVITY_TYPES (NODE cardinality 0..n selection 0-1 ) "node for drop down
             description - attribute
             unit
             quantity
    i have bound details node to table data source.
    i have a tool bar button 'Add Line item' which will add a new line item to the table.
    (i am adding a blank line to the table that is bound to table )
    Its working fine. but when ever i add more than one row, the selection made in the previous rows drop down is lost.
    its initializing. where could be the problem.
    My code
    data LO_ND_INV_TYPE type ref to IF_WD_CONTEXT_NODE.
      data LO_EL_INV_TYPE type ref to IF_WD_CONTEXT_ELEMENT.
      data LS_INV_TYPE type WD_THIS->ELEMENT_INV_TYPE.
      data LV_INV_TYPE type WD_THIS->ELEMENT_INV_TYPE-INV_TYPE.
      data LO_ND_DETAILS type ref to IF_WD_CONTEXT_NODE.
      data LT_DETAILS type WD_THIS->ELEMENTS_DETAILS.
      data LS_DETAILS like line of LT_DETAILS.
      data:  WD_NODE type ref to IF_WD_CONTEXT_NODE,
            LR_ELEMENT type ref to IF_WD_CONTEXT_ELEMENT.
      data LO_ND_INV_PATTERN type ref to IF_WD_CONTEXT_NODE.
      data LO_EL_INV_PATTERN type ref to IF_WD_CONTEXT_ELEMENT.
      data LS_INV_PATTERN type WD_THIS->ELEMENT_INV_PATTERN.
      data LV_INV_PAT type WD_THIS->ELEMENT_INV_PATTERN-INV_TYPE.
      data LO_ND_ACTIVITY_TYPES type ref to IF_WD_CONTEXT_NODE.
      data LT_ACTIVITY_TYPES type WD_THIS->ELEMENTS_ACTIVITY_TYPES.
      data LW_ACTIVITY_TYPES type WD_THIS->ELEMENT_ACTIVITY_TYPES.
        data LO_EL_ACTIVITY_TYPES type ref to IF_WD_CONTEXT_ELEMENT.
    *     navigate from <CONTEXT> to <DETAILS> via lead selection
        LO_ND_DETAILS = WD_CONTEXT->PATH_GET_NODE( PATH = `AS_DATA.DETAILS` ).
        LO_ND_DETAILS->GET_STATIC_ATTRIBUTES_TABLE(
          importing TABLE = LT_DETAILS ).
    * Append an empty row to lt_details
        append LS_DETAILS to LT_DETAILS.
        LO_ND_DETAILS->BIND_TABLE(
        NEW_ITEMS = LT_DETAILS ).
    * Get values for dropdown
    call method WD_ASSIST->GET_ACTIVITY_TYPE
          exporting
            I_INV_CAT_ID     = LV_INV_PAT
          importing
            ET_ACTIVITY_TYPE = LT_ACTIVITY_TYPES.
        LW_ACTIVITY_TYPES-ID = 'Select a Activity type'.
        LW_ACTIVITY_TYPES-TEXT = 'Select a Activity type'.
        insert LW_ACTIVITY_TYPES into LT_ACTIVITY_TYPES index 1.
        loop at LT_DETAILS into LS_DETAILS.
          LV_TABIX = SY-TABIX.
          LR_ELEMENT = LO_ND_DETAILS->GET_ELEMENT( LV_TABIX ).
          WD_NODE = LR_ELEMENT->GET_CHILD_NODE( 'ACTIVITY_TYPES' ).
    *lv_index = wd_node->get_lead_selection_index( ). " it is dumping at this statement when i try to get lead selection
          WD_NODE->BIND_TABLE( NEW_ITEMS =  LT_ACTIVITY_TYPES ). " data for dropdown
        endloop.
    any clue on what am i missing will be appreciated.
    I am getting dump when i try to get the lead selection
    Ajay

    You only have only one option in the DDI to display in the example. when you have multiple values
    i assume that by adding an empty row like this will lose the SELECTION MADE in DDI. (Correct me If i am wrong)
    somehow i believe that we need to bind the DD values using  SET LEAD SELECTION INDEX METHOD FOR THE DDI when they are already selected and trying to BIND.
    *LO_ND_DETAILS->GET_STATIC_ATTRIBUTES_TABLE(*
          *importing TABLE = LT_DETAILS ).*
    ** Append an empty row to lt_details*
        *append LS_DETAILS to LT_DETAILS.*
        *LO_ND_DETAILS->BIND_TABLE(*
        *NEW_ITEMS = LT_DETAILS ).*
    even though the above code will have the selected value, the SELECTIONS MADE will be initialize.
    you need to bind it explicitly.
    you have to create an element and bind the DDI values for adding an row as SARAVANAN said.
    or i guess you can continue with you code but need to use SET LEAD to display the correct SELECTIONS MADE
    loop at LT_DETAILS into LS_DETAILS.
          LV_TABIX = SY-TABIX.
          LR_ELEMENT = LO_ND_DETAILS->GET_ELEMENT( LV_TABIX ).
          WD_NODE = LR_ELEMENT->GET_CHILD_NODE( 'ACTIVITY_TYPES' ).
          WD_NODE->BIND_TABLE( NEW_ITEMS =  LT_ACTIVITY_TYPES ). " data for dropdown
    *" try to set the desired value in the DDI when you have multiple values using SET LEAD*
        endloop.

  • Pages chart problem with large cells

    I have some documents on Pages that include charts with lots of text.  If the text in a cell is longer than will fit on the page, it becomes hidden because the next page starts at the top of the next cell.  Making the font smaller isn't enough.  The document has been converted from a word document, although I would hope that wouldn't make a difference.

    Oops I meant table not chart.  It's the text in a table cell that is too long for the cell on one page, and disappears behind the bottom of the cell.  It's like the cell is a window on the text, and I can't see what is below the window ledge. 

  • Problem with automated height/width after applying effect

    Hey guys,
    I have a panel that automatically resizes after some other contents is being added. All the time there is a scale-effect. Whenever I move the mouse over any of those children they zoom in and there the height & width of the parent container automatically resizes.
    However I have a minimize button for that one along with a resize effect. I can resize the complete container to a minimize size (e.g. 40x40), but when I resize back with the same effect, the panel does not automatically resizes with added children anymore.
    I did not set any special properties on the panel from the beginning, but some property must be different now. It is not "autoLayout" and also the "percentageWidth/Height" does not work properly as that command will cause the panel to stretch over the complete stage. Any suggestions here?

    Mmmh...that does not seem to solve the issue for me. Even when setting the width and height to NaN before the effect is played, it will still lead to a fixed height and width of the parent panel container. When I add new children the parent container is not properly resized, means that the chiildren just go beyond the parent container's border.
    Setting these parameters after the effect is done leads to the following crash: ArgumentError: Error #2004: One of the parameters is invalid.
    at flash.display::Graphics/drawRect()
    at spark.accessibility::PanelAccImpl/eventHandler()[E:\dev\4.0.0\frameworks\projects\spark\s rc\spark\accessibility\PanelAccImpl.as:361]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]
    at mx.core::UIComponent/dispatchResizeEvent()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9641]
    at mx.core::UIComponent/commitProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \core\UIComponent.as:7866]
    at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.0.0\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:414]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:730]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Here is my code...anything wrong here.
    private function recreateWindow(e:MouseEvent)//thrown once the user moves his mouse over the minimized panel
         myResizeEffect.heightFrom = 40;
         myResizeEffect.heightFrom = 40;
         myResizeEffect.heightFrom = lastHeight;
         myResizeEffect.heightFrom = lastWidth;
         myResizeEffect.play();
         myResizeEffect.addEventListener(EffectEvent.EFFECT_END,resetMinimizeValues);
    private function resetMinimizeValues(event:EffectEvent):void
         myResizeEffect.removeEventListener(EffectEvent.EFFECT_END,resetMinimizeValues);
         //adding the old listeners before the panel was minimized
         this.width = NaN;//crash
         this.height = NaN;//crash
    Any suggestions?
    ...and how can I remove the "Question answered"-tag...?

  • Problem with Characteristic of type NUMC

    Hi,
    I have a characteristic field with data type NUMC and length 6.
    When I load data for that field as "1" it gets updated as 10000.
    What might be the reason for the same?
    How to solve it?

    I'm thinking there is a some conversion exit issue.
    Try to have the Conversion check box checked in Transfer Rules, if that doesn't work Need to write a trasnfer routine in which you need to exclude the leading/trading zeros.
    Hope this helps!
    Thanks,
    CP

Maybe you are looking for

  • How do I transfer data from one pg to the next pg?

    I have a registration page that I would like to go to a welcome page when registration is complete. The welcome page will say "Welcome (name) your new username and password are (user & pwd)". I have tried unsuccessfully using cookies to populate the

  • Vendor credit memo issue

    Hi everyone, we overpaid vendor PO related invoice, vendor issue us a refund check to us. what we should do in SAP? I use MIRO issue a credit memo ,and post an incoming payment using F-52, but not sure it's the right way. I guess my question is : If

  • After a quiz can you show the questions and answers for the user to review from passing the quiz

    After taking a quiz, is there a way to show the questions and answers for the user to review from passing the quiz. And the ones who has failed the quiz would be directed to the first slide again to take the quiz over. Thanks

  • For all entries query

    Hi, can we do a for all entries with a table type parameter. select * from <tablename> for all entries in <internal table> (importing parameter in an FM a table type parameter)....where <cond>

  • Making a playlist...

    Is there a way to make a playlist from the songs currently stored on my ipod? I loaded the songs manually from my library without using any playlists (I dragged each song directly to ipod). Now, I regret doing it that way because I like the song sele