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

Similar Messages

  • Having problem with applying layer style "stroke" to group

    - Windows 8.1 / 64bit
    - i3-4150 / 4GB / Geforce GTX 750 TI
    - Photoshop CC 2014
    Hi!
    I don't know why, but there is some problem that applying layer style "stroke" to group.
    When i make a group with some layer and apply to group a layer style-stroke with inside option,
    the strokes looks like grid are generated inside.
    Why i said that stroke cross to ㅎrid, because it looks like grid if i make that group bigger.
    (that black square is 'Rectangle 1' layer. Just resizing bigger than before)
    Does anyone have same problem with me?
    Please, I need your help..

    pillfish wrote:
    I am having the same problem. it happens every time in cc and cc 2014. I am back using cs6. Which seems to run better on the whole.
    That's interesting. And this is happening with CC and CC 2014?  Do you have all the updates for the Photoshop CC versions?
    I've just tried to duplicate it without success, (windows 7, GTX570) so I wonder if there is a condition that triggers it?  Unfortunately, with this being such an old thread, the only person still around is R Kelly.
    OK, I just thought to try it on my Cintiq Companion 2, which has Windows 8.1 and Intel 5100, and the bug occurred. I actually got as far as firing up my Win 8.1 laptop before remembering that I had to sign out of CC to put it on my Cintiq, so I only have CS6 on it.
    Anyway....  looks like the bug is still there.  Are you using Win 8.1?

  • 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 DefaultStyledDocument.styleChanged(Style)

    I have a layout with 'text frames' that contain DefaultStyledDocument's.
    I want to do a repaint of a textframe when the underlying paragraph style changes.
    The way I do this is that I listen for changes and when a change in a Paragraph Style (StyleContenxt) occur, I do a DefaultStyledDocument.styleChanged( paragraphstyle.getStyle() );
    After that I do a repaint() of the component.
    All this goes well, and the component is repainted - but not with the new style. It still displays the old style, until I change it or move my mouse over it.
    should .styleChanged() and repaint() be sufficient? Can anyone see what is going wrong here?

    I suppose repaint() is called before all styles are updated. Try to call the repaint() in
    SwingUtilities.invokeLater(
      new Runnable() {
    );Or try to call refresh() of the document.
        public void refresh(int offset, int len) {
            DefaultDocumentEvent changes = new DefaultDocumentEvent(offset, len, DocumentEvent.EventType.CHANGE);
            Element root = getDefaultRootElement();
            Element[] removed = new Element[0];
            Element[] added = new Element[0];
            changes.addEdit(new ElementEdit(root, 0, removed, added));
            changes.end();
            fireChangedUpdate(changes);
        }regards,
    Stas

  • 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)

  • Problem with text-indent style , select tag on IE

    Hi Developers,
    i tried text-indent style class for <select> <option> tag .. The following given code is working on Mozilla fire box browser, but it is not working on IE..
    I am trying to build a tree structure in the list box with multiple levels without ' ' and <OPTGROUP> does not support multiple levels.
    Here is the example with multiple levels.
    <html>
    <head>
    <title>Main </title>
    <style>
    .style {color:green;font-weight:bold}
    .style1 {text-indent:45px;color:red;}
    .style2 {text-indent:90px;color:blue;}
    .style3 {text-indent:135px;color:green;}
    </style>
    </head>
    <body>
    <form name="form1">
    <select name="retail" >
    <option selected disabled value="">Tree Structure</option>
    <option value="Father" class="style">Father</option>
    <option class="style1" value="/retail/chandler/">Son 1</option>
    <option class="style2" value="/retail/chandler/">Grand Son 1</option>
    <option class="style2" value="/retail/chandler/">Grand Son 2</option>
    <option class="style3" value="/retail/chandler/">Great Grand Son 1</option>
    <option class="style3" value="/retail/chandler/">Great Grand Son 2</option>
    <option class="style2" value="/retail/chandler/">Grand Son 3</option>
    <option class="style1" value="/retail/chandler/">Son 2</option>
    </select>
    </form>
    </body>
    </html>
    Please help me out by providing a solution to this issue.

    You have bigger problems than you realize.   On this page - the one after the Splash intro page,
    http://www.transgenic-rabbit-models.com/Home.html
    As seen in Firefox with increased text.  See screenshot.
    Notice how your text boxes are colliding into other text boxes?  This happens when web designers paint themselves into a corner with a rigid layout.  Web pages must be flexible for all screen and text sizes.
    You are using APDivs as a primary layout method which is a bad choice.  And here is why.
    http://apptools.com/examples/pagelayout101.php
    Suggested Tutorials -
    From  Tables to CSS Web Design Part 1 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    From   Tables to CSS Web Design Part 2 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • 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 structures

    Hi,
    this might very well be a C problem, but maybe not, because the program compiles fine and can nicely be executed seperately, it only crashes if used together with JNI. (Anyhow, I am not a C expert.)
    Okay, i am trying to make some third party C-code accessible from Java.
    The problem are lines like:
    for (i=0; i<linkage->num_words; ++i) {
    or
    for (i=0; i<linkage->num_sublinkages; ++i) {
    these lines cause JVM to just crash. The problem is that I seem not to be able to access the components of the structure "linkage". The JVM just goes down. As mentioned, the code compiles, and can be run as an executable without any problems.
    It might very well be that these components are not yet defined (I am checking whether "linkage != NULL" before executing the above lines, however. Is this the correct way to do it?). As mentioned, I am irritated by the fact that the program works fine as an executable but not when called from Java.
    Anyone any ideas?
    Thanks a lot,
    Michael

    What kind of error text JVM displayed after crash? IHere's the output:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0xb143fb54, pid=17935, tid=3086645936
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
    # Problematic frame:
    # C  [libde_mk_qualim_parser_LinkParser.so+0x22b54]  linkage_delete+0x31
    ---------------  T H R E A D  ---------------
    Current thread (0x0919b7f0):  JavaThread "main" [_thread_in_native, id=17935]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x4c8bda89
    Registers:
    EAX=0x4c8bda89, EBX=0x8c930d68, ECX=0x00000006, EDX=0x00ca70b0
    ESP=0xbfeb7174, EBP=0xbfeb719c, ESI=0x8c930d68, EDI=0x0919b7f0
    EIP=0xb143fb54, CR2=0x4c8bda89, EFLAGS=0x00010296
    Top of Stack: (sp=0xbfeb7174)
    0xbfeb7174:   b144f024 00000001 00000006 00ca64c0
    0xbfeb7184:   00000006 00000006 b7fa7ab0 8c930d68
    0xbfeb7194:   8c930d68 0919b7f0 bfeb71bc b142d09d
    0xbfeb71a4:   4c8bda89 00000001 00000006 00ca64c0
    0xbfeb71b4:   8c930d68 0919b7f0 bfeb71dc b142cb59
    0xbfeb71c4:   098f7778 bfeb721c 00000000 0919b7f0
    0xbfeb71d4:   bfeb720c b25823cd bfeb720c b25824eb
    0xbfeb71e4:   0919b8b0 bfeb7220 bfeb721c bfeb71f0
    Instructions: (pc=0xb143fb54)
    0xb143fb44:   00 c7 04 24 24 f0 44 b1 e8 27 97 c0 56 8b 45 08
    0xb143fb54:   83 38 00 7e 5c bb 00 00 00 00 be 00 00 00 00 a1
    Stack: [0xbfcbb000,0xbfebb000),  sp=0xbfeb7174,  free space=2032k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libde_mk_qualim_parser_LinkParser.so+0x22b54]  linkage_delete+0x31
    C  [libde_mk_qualim_parser_LinkParser.so+0x1009d]  LinkAPI_submitNewSentence+0x57
    C  [libde_mk_qualim_parser_LinkParser.so+0xfb59]
    almost sure linkage pointer is uninitialised.Yes, I now think the same! But how can I check this in C?
    And mind that the compiled executable can be run without errors.
    Cheers,
    Michael

  • Problem with structure...

    hey there,
    im new to abap and i have the following problem:
    zps_s_mass is the structure which i need it later to show in an ALV. the program searches the table it_nexceltab for an identical entry in the table it_XXX1. if it finds an itendic entry it mutates the entry in the table it_XXX1 (it_nexceltab-instrneu).
    but then, i want to write the data in a structure with a bonus field "status" in this field i write if the mutation was a success, if it found a identical entry. i need the structure later to show in an ALV.
    the problem is, that it always overwrites my data in the structure, with every loop. but i need all entries...
    thx for any help.
    code:
    LOOP AT it_XXX1 INTO wa_XXX1.
        success = ''.
        zusatz = ''.
        name = wa_XXX1-verna.
        FIND '@' IN wa_XXX1-verna.
        IF sy-subrc = 0.
          REPLACE '@ ' IN wa_XXX1-verna WITH ''.
          zusatz = '@ '.
        ENDIF.
        LOOP AT it_nexceltab INTO wa_nexceltab.
          IF wa_XXX1-verna EQ wa_nexceltab-instralt.
            name = wa_nexceltab-instrneu.
            success = 'X'.
          ENDIF.
        ENDLOOP.
        IF zusatz EQ '@ '.
          CONCATENATE zusatz name INTO name.
          zusatz = ''.
        ENDIF.
        wa_XXX1-verna = name.
        zps_s_mass-persnr = wa_XXX1-vernr.
        zps_s_mass-nameinstr = wa_XXX1-verna.
        zps_s_mass-tabelle = 'XXX1'.
        IF success EQ 'X'.
          zps_s_mass-status = 'Mutation Erfolgreich'.
        ELSE.
          zps_s_mass-status = 'Mutation Fehlgeschlagen'.
        ENDIF.
        MODIFY it_XXX1 FROM wa_XXX1.
      ENDLOOP.
    Edited by: rafe b. on Mar 26, 2008 1:34 PM

    Hi Rafe,
    I guess I know were your conflict is caused by. It's not a structural discrepancy, but a LOOP in the LOOP problem. The inner LOOP is running always till the end, i.e. there is always information captured from the last occurence when wa_XXX1-verna equals wa_nexceltab-instralt. When the if-statement is true, there has to be an EXIT-statement, i.e. the LOOP will be exited.
    Another recommendation: It's faster an securer to use the clear-statement for to initialize a field (not <field> = '').
    I marked the critical loop in bold and added the EXIT-statement.
    LOOP AT it_XXX1 INTO wa_XXX1.
    success = ''.
    zusatz = ''.
    name = wa_XXX1-verna.
    FIND '@' IN wa_XXX1-verna.
    IF sy-subrc = 0.
    REPLACE '@ ' IN wa_XXX1-verna WITH ''.
    zusatz = '@ '.
    ENDIF.
    LOOP AT it_nexceltab INTO wa_nexceltab.
    IF wa_XXX1-verna EQ wa_nexceltab-instralt.
    name = wa_nexceltab-instrneu.
    success = 'X'.
                                 EXIT.
    ENDIF.
    ENDLOOP.
    IF zusatz EQ '@ '.
    CONCATENATE zusatz name INTO name.
    zusatz = ''.
    ENDIF.
    wa_XXX1-verna = name.
    zps_s_mass-persnr = wa_XXX1-vernr.
    zps_s_mass-nameinstr = wa_XXX1-verna.
    zps_s_mass-tabelle = 'XXX1'.
    IF success EQ 'X'.
    zps_s_mass-status = 'Mutation Erfolgreich'.
    ELSE.
    zps_s_mass-status = 'Mutation Fehlgeschlagen'.
    ENDIF.
    MODIFY it_XXX1 FROM wa_XXX1.
    ENDLOOP.
    Have success and fun,
    Heinz
    PS: Ich spreche auch Deutsch; bin aus Muenchen.

  • Problem with media print styles in debug versus nondebug mode

    Hi,
    I am trying to debug why the same page (and code) will print one way on one server and another way on another server. These servers are a dev and test server with the same version of cf 9 installed.
    I am working on a page that has two divs floated left next to each other.
    [div 1] [div 2]
    We had problems printing this setup in IE 8, so I created a CSS file for media type print that removes the float from div2.
    So in my page I have:
    <link rel="stylesheet" type="text/css" href="../common/main.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="../common/mainPrint.css" media="print"/>
    In main.css the class is:
    .documentArea {
          margin: 2.5em 1em 0 1em;
          float:left;
    In mainPrint.css the class is:
    .documentArea {
          margin: 2.5em 1em 0 1em;
    On the Dev server, I am able to view the page correctly in IE and it prints correctly with div 2 below div 1:
    [div 1]
    [div 2]
    When I move the SAME code to the our Test server and view it in the same IE browser, the display of the page is correct but the printed page only displays div 1 and not div 2 at all.
    After some investigations, I discovered that the the print CSS worked when debugging was on and not when it was off. We turned on debugging on the Test server and the CSS worked correctly for printing. I also changed the name of the style to my name (leslie) and it still didn't work. I thought perhaps a default style in CF might be overriding it.
    I am wondering if there are default CSS files in ColdFusion.
    If you have ANY suggestions as to what is happening I would greatly appreciate it!
    Regards,
    Leslie

    Just to clarify ....
    If the ERROR_CODE parameter is made an 'OUT' parameter instead of an 'IN OUT' parameter the correct return value is given for the OracleCommand invocation but the WRONG value is still returned for the EF Model invocation i.e. just changing the parameter from 'IN OUT' to just 'OUT' does not fix the problem.

  • 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 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

  • Problem with structure s033

    Hi, i'm using an old version 3.1h, i'm trying to use structure s033 as source, in TX. LBW0, when i display the settings of the structure i get this message "The information structure cannot be used for SAP BW", any ideas??

    Hi Sergio,
    The structure s033 is intended for use with the LIS reporting system itself and not BW as far
    as I know. So this would explain why you get the error. Maybe the note  64636
    can help you, it explains how to setup the LIS reporting.
    Best Regards,
    Des

Maybe you are looking for

  • Another "my temp is too hot" thread

    I've done a lot of searching (both google and here) and I believe that I'm running too hot, but since this is my first experience with OCing I want to make sure so I'm posting here. Anyway, I made a sig with all the info needed (I think), but I'm run

  • Not Capturing All windows

    This is my first exposure to Captivate, so there's a good chance I'm missing something basic. But I am trying to capture a series of actions that involve windows opening and mouse actions in demo mode, but it continually drops key parts of the proces

  • MenuBar - Submenu Indicator

    I've gone over the Spry sample menubar code carefully and I just don't see how this all works. In the samples, whenever a menu has a submenu there is a black indicator present. On mouse over, the black indicator changes to white. In my code, I get th

  • Word 2010 spell check gets disabled after Windows Updates

    Each time the computer receives updates, the proofing settings seem to revert to disabled. The settings getting reset are  - Check spelling as you type  - Mark grammar errors as you type  - Check grammar with spelling I only notice the issue in Word

  • Reg: how to see the Assets in Tables

    HI all, How to see the assets in internal tables regards JK Rao