TabIndex in Tables..

Hi,
Does anyone knows how to implement tabIndex HTML property into Tables?
Currently I have a requirement to navigate using Tab to certain fields first, (Checkbox, InputField, InputField) - I want to ignore the Checkbox and some TextView fields.
Regards,
Daniel

Hi
WebDynpro table has all the properties inbuild .We did't get tabIndex : HTML property into Tables?
Please explore a little more what exectly you want to achieve ??
Best Regards
Satish Kumar

Similar Messages

  • Open Field in ALV Report

    Hi all,
    i have to develop a ALV report.
    In that report i have to put a open quantity column , so that the user can enter values in that, and that value should get updated in the database.
    So please suggest me how to develop such report with open field.
    Thanks in advance,
    Regards,
    Pawan

    Hi,
    Try executing the below code
    REPORT YMS_EDITBLOCKALV.
    TABLES : rmmg1,MCHB, mkpf.
    DATA: BEGIN OF t_mseg OCCURS 0,
    zeile LIKE mseg-zeile,
    menge LIKE mseg-menge,
    meins LIKE mseg-meins,
    matnr LIKE mseg-matnr,
    werks LIKE mseg-werks,
    charg LIKE mseg-charg,
    bwart LIKE mseg-bwart,
    END OF t_mseg.
    DATA:BEGIN OF t_mchb OCCURS 0.
    INCLUDE STRUCTURE mchb.
    data flag type c.
    matnr LIKE mchb-matnr,
    charg LIKE mchb-charg,
    werks LIKE mchb-werks,
    clabs LIKE mchb-clabs,
    DATA END OF t_mchb.
    TYPE-POOLS slis.
    data: progname like sy-repid,
    fieldcattab TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    data tabindex type i.
    data wa_matnr LIKE mchb-matnr.
    progname = sy-repid.
    SELECTION-SCREEN BEGIN OF BLOCK b_b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS s_docno FOR mkpf-mblnr. " OBLIGATORY.
    PARAMETERS p_docyr LIKE mkpf-mjahr. " OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b_b1.
    START-OF-SELECTION.
    SELECT zeile
    menge
    meins
    matnr
    werks
    charg
    bwart
    FROM mseg
    INTO TABLE t_mseg
    WHERE mblnr IN s_docno AND mjahr = p_docyr.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 1.
    fieldcattab-fieldname = 'ZEILE'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Item'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 2.
    fieldcattab-fieldname = 'MENGE'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Quantity'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 3.
    fieldcattab-fieldname = 'MEINS'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Unit'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 4.
    fieldcattab-fieldname = 'MATNR'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Material'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 5.
    fieldcattab-fieldname = 'WERKS'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Plant'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 6.
    fieldcattab-fieldname = 'CHARG'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Batch No'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 7.
    fieldcattab-fieldname = 'BWART'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Inventory'.
    fieldcattab-hotspot = 'X'.
    APPEND fieldcattab.
    end-of-selection.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = PROGNAME
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USERCOMMAND1'
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = fieldcattab[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT = fieldcattab
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = t_mseg
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM usercommand1 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
    slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    tabindex = rs_selfield-tabindex.
    read table t_mseg INDEX tabindex.
    select * from mchb into table t_mchb where matnr = t_mseg-matnr.
    clear fieldcattab.
    CLEAR fieldcattab[].
    fieldcattab-col_pos = 1.
    fieldcattab-fieldname = 'FLAG'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Check Box'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    fieldcattab-checkbox = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 2.
    fieldcattab-fieldname = 'MATNR'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Material'.
    fieldcattab-emphasize = 'C1'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    fieldcattab-checkbox = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 3.
    fieldcattab-fieldname = 'CHARG'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Batch No'.
    fieldcattab-emphasize = 'C2'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 4.
    fieldcattab-fieldname = 'WERKS'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Plant'.
    fieldcattab-emphasize = 'C30'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 5.
    fieldcattab-fieldname = 'CLABS'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Stock'.
    fieldcattab-emphasize = 'C601'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = PROGNAME
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USERCOMMAND2'
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = FIELDCATTAB[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = t_mchb
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endcase.
    endform.
    FORM usercommand2 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
    slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    IF rs_selfield-sel_tab_field = 'T_MCHB-MATNR'.
    CALL FUNCTION 'ZALV2'
    EXPORTING
    CTU = 'X'
    MODE = 'E'
    UPDATE = 'A'
    GROUP =
    USER =
    KEEP =
    HOLDDATE =
    NODATA = '/'
    MATNR_001 = '200-200'
    KZSEL_01_002 = 'X'
    IMPORTING
    SUBRC =
    TABLES
    MESSTAB =
    SET PARAMETER ID 'RID' FIELD RMMG1-MATNR.
    CALL TRANSACTION 'MM03' and skip first screen.
    ENDIF.
    ENDCASE.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = progname
    i_callback_user_command = 'USERCOMMAND3'
    it_fieldcat = fieldcattab[]
    TABLES
    t_outtab = t_mchb
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    endcase.
    ENDFORM.
    Regards,
    chandru

  • JSF-based Pages do not render in IE

    I have an application with a core sequence of pages that is deployed on two separate Tomcat 5.0.x (testing and production) and the Sun App server bundled with Creator. I am seeing the following behavior with all servers from my Windows XP Client machine:
    All pages show up fine with Firefox 1.0.
    In Internet Explorer 6.0 only two simple pages are displayed. When I navigate or type in the URL to the other pages, the browser window is blank. BUT when I view the html source, it seems to contain all the expected html. In fact if I save the page in IE, and open it Firefox, it displays correctly.
    I do not see any server error messages - it seems it is an IE problem. Does anyone know what in the html-rendered-jsf/jsp that IE does not like? Has anyone seen this before?
    Any help would be much appreciated.

    Basic pages does work - can you show what the HTML
    from "View Source" in IE is?
    Thank you for your reply. Here is the HTML:
    <html xml:lang="en-US" lang="en-US">
    <head>
    <meta http-equiv="Cache-Control" content="no-cache"/><meta http-equiv="Pragma" content="no-cache"/>
    <title>Step 1: Presenter Information</title>
    <link type="text/css" rel="stylesheet" href="resources/stylesheet.css"/>
    <link type="text/css" rel="stylesheet" href="resources/apc.css"/>
    <script type="text/javascript" src="resources/util.js"/>
    </head>
    <body style="-rave-layout: grid">
    <form id="form1" method="post" action="/symposium/faces/PresenterInfo.jsp" enctype="application/x-www-form-urlencoded">
    <label id="form1:componentLabel1" for="form1:firstNameTF" style="left: 120px; top: 240px; position: absolute">
    <span id="form1:componentLabel1Text" class="generic_lbl">First Name*</span></label>
    <label id="form1:componentLabel2" for="form1:middleTF" style="left: 432px; top: 240px; position: absolute">
    <span id="form1:componentLabel2Text" class="generic_lbl">Middle</span></label>
    <label id="form1:componentLabel3" for="form1:lastNameTF" style="left: 120px; top: 288px; position: absolute">
    <span id="form1:componentLabel3Text" class="generic_lbl">Last Name*</span></label>
    <label id="form1:componentLabel4" for="form1:degreesTF" style="left: 432px; top: 288px; position: absolute">
    <span id="form1:componentLabel4Text" class="generic_lbl">Degrees</span></label>
    <label id="form1:componentLabel5" for="form1:emailTF" style="left: 120px; top: 528px; position: absolute">
    <span id="form1:componentLabel5Text" class="generic_lbl">Email*</span></label>
    <label id="form1:componentLabel6" for="form1:departmentTF" style="left: 120px; top: 336px; position: absolute">
    <span id="form1:componentLabel6Text" class="generic_lbl">Department*</span></label>
    <label id="form1:componentLabel7" for="form1:affilliationTF" style="left: 120px; top: 384px; position: absolute">
    <span id="form1:componentLabel7Text" class="generic_lbl">Affilliation*</span></label>
    <span id="form1:outputText1" style="font-family: 'Helvetica'; font-size: 18pt; height: 24px; left: 72px; top: 144px; position: absolute; width: 382px">Step 1: Presenter Information Form</span>
    <input id="form1:firstNameTF" type="text" name="form1:firstNameTF" maxlength="25" style="left: 216px; top: 240px; position: absolute" tabindex="1" />
    <input id="form1:phoneTF" type="text" name="form1:phoneTF" maxlength="25" style="left: 216px; top: 432px; position: absolute" tabindex="8" /><input id="form1:departmentTF" type="text" name="form1:departmentTF" maxlength="20" style="left: 216px; top: 336px; position: absolute" tabindex="5" />
    <input id="form1:emailTF" type="text" name="form1:emailTF" maxlength="30" style="left: 216px; top: 528px; position: absolute" tabindex="10" />
    <input id="form1:lastNameTF" type="text" name="form1:lastNameTF" maxlength="25" style="left: 216px; top: 288px; position: absolute" tabindex="3" title="" />
    <label id="form1:componentLabel8" for="form1:phoneTF" style="left: 120px; top: 432px; position: absolute">
    <span id="form1:componentLabel8Text" class="generic_lbl">Phone</span></label>
    <label id="form1:componentLabel9" for="form1:extensionTF" style="left: 120px; top: 480px; position: absolute">
    <span id="form1:componentLabel9Text" class="generic_lbl">Extension</span></label>
    <input id="form1:extensionTF" type="text" name="form1:extensionTF" maxlength="10" style="left: 216px; top: 480px; position: absolute" tabindex="9" />
    <input id="form1:affilliationTF" type="text" name="form1:affilliationTF" maxlength="35" style="left: 216px; top: 384px; position: absolute" tabindex="7" />
    <table id="form1:statusBtnLst" style="height: 178px; position: absolute; font-family: Arial,Helvetica,sans-serif; width: 168px; left: 497px; top: 336px">
         <tr>
    <td>
    <label><input type="radio" name="form1:statusBtnLst" value="Faculty" tabindex="6"> Faculty</input></label></td>
         </tr>
         <tr>
    <td>
    <label><input type="radio" name="form1:statusBtnLst" value="Fellow" tabindex="6"> Fellow</input></label></td>
         </tr>
         <tr>
    <td>
    <label><input type="radio" name="form1:statusBtnLst" value="Grad Student" tabindex="6"> Grad Student</input></label></td>
         </tr>
         <tr>
    <td>
    <label><input type="radio" name="form1:statusBtnLst" value="Med Student" tabindex="6"> Med Student</input></label></td>
         </tr>
         <tr>
    <td>
    <label><input type="radio" name="form1:statusBtnLst" value="Resident" tabindex="6"> Resident</input></label></td>
         </tr>
         <tr>
    <td>
    <label><input type="radio" name="form1:statusBtnLst" value="Other" tabindex="6"> Other</input></label></td>
         </tr>
    </table>
    <label id="form1:componentLabel10" for="form1:componentLabel10" style="left: 432px; top: 336px; position: absolute">
    <span id="form1:componentLabel10Text" class="generic_lbl">Status*</span></label>
    <input id="form1:middleTF" type="text" name="form1:middleTF" maxlength="25" style="left: 504px; top: 240px; position: absolute" tabindex="2" />
    <input id="form1:degreesTF" type="text" name="form1:degreesTF" maxlength="15" style="left: 504px; top: 288px; position: absolute" tabindex="4" />
    <span id="form1:outputText2" style="font-style: italic; left: 96px; top: 192px; position: absolute">*Indicates Required Field</span>
    <div id="banner"><img width="205" src="resources/pavilions.jpg" height="90"/></div>
    <input id="form1:confirmHF" type="hidden" name="form1:confirmHF" value="no" />
    <table id="form1:gridPanel1" style="height: 53px; position: absolute; padding-bottom: 15px; left: 216px; top: 576px" width="288">
    <tbody>
    <tr>
    <td><input id="form1:cancelBtn" type="submit" name="form1:cancelBtn" value="Start Over" onclick="" tabindex="11" title="Clear All Data and Start Over" /></td>
    <td><input id="form1:nextBtn" type="submit" name="form1:nextBtn" value="Next Step" tabindex="12" title="Go to Next Step" /></td>
    <td><input id="form1:reviewBtn" type="submit" name="form1:reviewBtn" value="Review Data" tabindex="13" title="Return to Review Page" disabled="disabled" /></td>
    </tr>
    </tbody>
    </table>
    <input type="hidden" name="form1" value="form1" />
    </form>
    </body>
    </html>

  • Collapsible panel problem in IE

    Hi ,
    I have a collapsible panel in a site I'm working on.the collapsible panel on display is closed. whe  I open the page in IE8 it looks fine but once I click on the panel to open the content is show as it should and after a sec it drops down to the bottom of the web page.
    is this a problem with the way I implimented the spry collapsible panel or with IE8? on FF, Opera and Safari it opens just fine.

    Source Code:
    <div class="IntBodyDiv1">
        <img src="../IMG/vertical-line.png" width="1" height="407" align="right" />
        <div id="Applications" class="CollapsiblePanel">
          <div class="CollapsiblePanelTab" tabindex="0">
    <table width="200" border="0" cellspacing="5" cellpadding="1">
      <tr>
        <td>Applications</td>
      </tr>
      <tr>
        <td><img src="../IMG/line.png" width="169" height="1" /></td>
      </tr>
    </table>
          </div>
          <div class="CollapsiblePanelContent">
            <table width="201" border="0" cellspacing="5" cellpadding="1">
              <tr>
                <td><span class="SideMenuH2"><a href="#">Private Pools</a></span></td>
              </tr>
              <tr>
                <td><span class="SideMenuH2"><a href="#">Public Pools</a></span></td>
              </tr>
              <tr>
                <td><span class="SideMenuH2"><a href="#">Spas</a></span></td>
              </tr>
              <tr>
                <td><span class="SideMenuH2"><a href="#">Rehabilitation & Thermal pools
                </a></span></td>
              </tr>
            </table>
          </div>
        </div>
        <div id="Productss" class="CollapsiblePanel">
          <div class="CollapsiblePanelTab" id="Products" tabindex="0">
    <table width="200" border="0" cellspacing="5" cellpadding="1">
      <tr>
        <td>Products</td>
      </tr>
      <tr>
        <td><img src="../IMG/line.png" width="169" height="1" /></td>
      </tr>
    </table>
          </div>
          <div class="CollapsiblePanelContent">
            <table width="201" border="0" cellpadding="1" cellspacing="5" class="SideMenuH2">
              <tr>
                <td><a href="#">Prizma</a></td>
              </tr>
              <tr>
                <td><a href="#">HG 302</a></td>
              </tr>
              <tr>
                <td><a href="#">HG 202</a></td>
              </tr>
              <tr>
                <td><a href="#">HG 102</a></td>
              </tr>
              <tr>
                <td><a href="#">HG CYA</a></td>
              </tr>
            </table>
          </div>
        </div>
        <p><br />
      </p>
      </div>
      <div class="IntBodyDiv2">
    sprycollapsiblepanel.css:
    @charset "UTF-8";
    /* SpryCollapsiblePanel.css - version 0.5 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* This is the selector for the main CollapsiblePanel container. For our
    * default style, the CollapsiblePanel is responsible for drawing the borders
    * around the widget.
    * If you want to constrain the width of the CollapsiblePanel widget, set a width on
    * the CollapsiblePanel container. By default, our CollapsiblePanel expands horizontally to fill
    * up available space.
    * The name of the class ("CollapsiblePanel") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style the
    * CollapsiblePanel container.
    .CollapsiblePanel {
    margin: 0px;
    padding: 0px;
    width: 196px;
    /* This is the selector for the CollapsiblePanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open or close the panel.
    * The name of the class ("CollapsiblePanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * CollapsiblePanel panel tab container.
    .CollapsiblePanelTab {
    margin: 0px;
    padding: 2px;
    cursor: pointer;
    -khtml-user-select: none;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #00aeef;
    outline: none;
    /* This is the selector for a CollapsiblePanel's Content area. It's important to note that
    * you should never put any padding on the content area element if you plan to
    * use the CollapsiblePanel's open/close animations. Placing a non-zero padding on the content
    * element can cause the CollapsiblePanel to abruptly grow in height while the panels animate.
    * The name of the class ("CollapsiblePanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style a
    * CollapsiblePanel content container.
    .CollapsiblePanelContent {
    margin: 0px;
    padding: 0px;
    /* An anchor tag can be used inside of a CollapsiblePanelTab so that the
    * keyboard focus ring appears *inside* the tab instead of around the tab.
    * This is an example of how to make the text within the anchor tag look
    * like non-anchor (normal) text.
    .CollapsiblePanelTab a {
    color: black;
    text-decoration: none;
    margin: 0px;
    padding: 0px;
    outline: none;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "CollapsiblePanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the CollapsiblePanel.
    .CollapsiblePanelOpen .CollapsiblePanelTab {
    /* This is an example of how to change the appearance of the panel tab when the
    * CollapsiblePanel is closed. The "CollapsiblePanelClosed" class is programatically added and removed
    * whenever the CollapsiblePanel is closed.
    .CollapsiblePanelClosed .CollapsiblePanelTab {
    margin: 0px;
    padding: 0px;
    /* background-color: #EFEFEF */
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "CollapsiblePanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .CollapsiblePanelTabHover,  .CollapsiblePanelOpen .CollapsiblePanelTabHover {
    margin: 0px;
    padding: 0px;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * CollapsiblePanel has focus. The "CollapsiblePanelFocused" class is programatically added and removed
    * whenever the CollapsiblePanel gains or loses keyboard focus.
    .CollapsiblePanelFocused .CollapsiblePanelTab {
    margin: 0px;
    padding: 0px;

  • DW CS5: CollapsiblePanels are not well in IE

    Hi NG,
    i have some CollapsiblePanel on my side. It is working perfect under FF or Safari.
    But under IE - 6 or 8 or 9 - i can ope  a panel. But than if i open a other one, it flashed me all the time some other panel too. It looks like a freak show!
    Is there any idea?
    To explain the error:
    After i press a button to open a panel or close, it is closing and for some second it flashes the whole panel again. all of them.....
    Here some Code:
    <div id="CollapsiblePanel_1" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                  <table width="185" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="27"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/products_a.gif" name="products" width="185" height="27" border="0" id="products" onClick="cpg.closeAllPanels();cpg_2.close();" onMouseOver="MM_swapImage('products','','includes/languages/<?php echo $ordner; ?>/images/buttons/products_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></td>
                    </tr>
                </table>
                </div>
                <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_DD ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofing_a.gif" alt="" name="prod_roofing" width="185" height="24" border="0" id="prod_roofing"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_roofing','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofing_b.gif','kugel_8','','images/balls/balls_b_09.png',1)" onMouseOut="MM_swapImgRestore()"/></a></td>
                    </tr>
                  </table>
              </div>
              <div class="CollapsiblePanelContent">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_DW ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_service_a.gif" alt="" name="prod_roof_service" width="185" height="24" border="0" id="prod_roof_service" onMouseOver="MM_swapImage('prod_roof_service','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_service_b.gif','kugel_8','','images/balls/balls_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                    </tr>
                  </table>
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_DK ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_konfig_a.gif" alt="" name="prod_roof_konfig" width="185" height="24" border="0" id="prod_roof_konfig" onMouseOver="MM_swapImage('prod_roof_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_konfig_b.gif','kugel_8','','images/balls/balls_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                    </tr>
                  </table>
            </div>
         </div>
         <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_K ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklempnerei_a.gif" alt="" name="prod_klempner" width="185" height="24" border="0" id="prod_klempner"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_klempner','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklempnerei_b.gif','kugel_4','','images/balls/balls_b_10.png',1)" onMouseOut="MM_swapImgRestore()"/></a></td>
                    </tr>
                  </table>
              </div>
              <div class="CollapsiblePanelContent">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_KK ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklemp_konfig_a.gif" alt="" name="prod_klemptner_konfig" width="185" height="24" border="0" id="prod_klemptner_konfig" onMouseOver="MM_swapImage('prod_klemptner_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklemp_konfig_b.gif','kugel_4','','images/balls/balls_b_10.png',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                    </tr>
                  </table>
              </div>
         </div>
    </div>
    <div id="CollapsiblePanel_2" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                      <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_a.gif" name="contact" width="185" height="27" border="0" id="contact" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('contact','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></td>
                        </tr>
                      </table>
                    </div>
                    <div class="CollapsiblePanelContent">
                      <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><a href="<?php echo LINK_SITE_CONTACT_T ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_telefon_a.gif" alt="" name="contacte_fon" width="185" height="24" border="0" id="contacte_fon" onMouseOver="MM_swapImage('contacte_fon','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_telefon_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                        </tr>
                      </table>
                      <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><a href="<?php echo LINK_SITE_CONTACT_F ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_formular_a.gif" alt="" name="contact_form" width="185" height="24" border="0" id="contact_form" onMouseOver="MM_swapImage('contact_form','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_formular_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                        </tr>
                      </table>
                    <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><a href="<?php echo LINK_SITE_CONTACT_A ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_map_a.gif" alt="" name="contact_map" width="185" height="24" border="0" id="contact_map" onMouseOver="MM_swapImage('contact_map','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_map_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                      </tr>
                      </table>
                    </div>
                </div>
    <script type="text/javascript">
    var cpg = new Spry.Widget.CollapsiblePanelGroup("CollapsiblePanelGroup", { contentIsOpen: false });
    var cpg_1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_1", {contentIsOpen:false});
    var cpg_2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_2", {contentIsOpen:false});
      </script>
    Tanks for help
    TELLO
    Message was edited by: TELLO_DE

    It works without animation fine. On FF or Safari also with animation.
    But in IE it is open all the panels for short second when i click on something.... mmmmmm
    // and i was not correctly copy&paste the code. I have the group there too.
    This is now the original code:
    <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <div id="navi_aktuelles"><a href="<?php echo LINK_SITE_AKTUELLES ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/aktuelles_a.gif" name="aktuelles" width="185" height="27" border="0" id="aktuelles" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('aktuelles','','includes/languages/<?php echo $ordner; ?>/images/buttons/aktuelles_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="navi_unternehmen"><a href="<?php echo LINK_SITE_UNTERNEHMEN ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/unternehmen_a.gif" name="unternehmen" width="185" height="27" border="0" id="unternehmen" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('unternehmen','','includes/languages/<?php echo $ordner; ?>/images/buttons/unternehmen_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="navi_konfigurator"><a href="<?php echo LINK_SITE_KONFIGURATOR ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/konfigurator_a.gif" name="konfigurator" width="185" height="27" border="0" id="konfigurator" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('konfigurator','','includes/languages/<?php echo $ordner; ?>/images/buttons/konfigurator_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
    <div id="CollapsiblePanel_1" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                  <div id="navi_produkte"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/produkte_a.gif" name="produkte" width="185" height="27" border="0" id="produkte" onClick="cpg.closeAllPanels();cpg_2.close();" onMouseOver="MM_swapImage('produkte','','includes/languages/<?php echo $ordner; ?>/images/buttons/produkte_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></div>
                </div>
                  <div class="CollapsiblePanelContent">
                  <div id="CollapsiblePanelGroup" class="CollapsiblePanelGroup">
                <div id="navi_abdichtungen"><a href="<?php echo LINK_SITE_PROD_ABDICHTUNGEN ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_abdichtung_a.gif" alt="" name="prod_abdichtung" width="185" height="24" border="0" id="prod_abdichtung" onClick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_abdichtung','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_abdichtung_b.gif','kugel_12','','images/kugeln/kugeln_b_02.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                <div id="navi_asbest"><a href="<?php echo LINK_SITE_PROD_ASBEST ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_asbest_a.gif" alt="" name="prod_asbest" width="185" height="24" border="0" id="prod_asbest"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_asbest','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_asbest_b.gif','kugel_9','','images/kugeln/kugeln_b_08.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <div id="navi_dachdeckerei"><a href="<?php echo LINK_SITE_PROD_DACHDECKEREI ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeckerei_a.gif" alt="" name="prod_dachdeckerei" width="185" height="24" border="0" id="prod_dachdeckerei"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_dachdeckerei','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeckerei_b.gif','kugel_8','','images/kugeln/kugeln_b_09.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
              </div>
              <div class="CollapsiblePanelContent">
                <div id="navi_dachwartung"><a href="<?php echo LINK_SITE_PROD_DACH_WARTUNG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_wartung_a.gif" alt="" name="prod_dach_wartung" width="185" height="24" border="0" id="prod_dach_wartung" onMouseOver="MM_swapImage('prod_dach_wartung','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_wartung_b.gif','kugel_8','','images/kugeln/kugeln_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                <div id="navi_dachkonfig"><a href="<?php echo LINK_SITE_PROD_DACH_KONFIG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_konfig_a.gif" alt="" name="prod_dach_konfig" width="185" height="24" border="0" id="prod_dach_konfig" onMouseOver="MM_swapImage('prod_dach_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_konfig_b.gif','kugel_8','','images/kugeln/kugeln_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
            </div>
         </div>
         <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <div id="navi_prodklempner"><a href="<?php echo LINK_SITE_PROD_KLEMPNER ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklempnerei_a.gif" alt="" name="prod_klempner" width="185" height="24" border="0" id="prod_klempner"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_klempner','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklempnerei_b.gif','kugel_4','','images/kugeln/kugeln_b_10.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
              </div>
              <div class="CollapsiblePanelContent">
               <div id="navi_proklempkonfig"><a href="<?php echo LINK_SITE_PROD_KLEMPNER_KONFIG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklemp_konfig_a.gif" alt="" name="prod_klemptner_konfig" width="185" height="24" border="0" id="prod_klemptner_konfig" onMouseOver="MM_swapImage('prod_klemptner_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklemp_konfig_b.gif','kugel_4','','images/kugeln/kugeln_b_10.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
              </div>
         </div>
         <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
               <div id="navi_progeruestbau"><a href="<?php echo LINK_SITE_PROD_GERUESTBAU ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruestbau_a.gif" alt="" name="prod_geruestbau" width="185" height="24" border="0" id="prod_geruestbau"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_geruestbau','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruestbau_b.gif','kugel_3','','images/kugeln/kugeln_b_07.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
              </div>
              <div class="CollapsiblePanelContent">
               <div id="navi_progeruestkonfig"><a href="<?php echo LINK_SITE_PROD_GERUEST_KONFIG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruest_konfig_a.gif" alt="" name="prod_geruest_konf" width="185" height="24" border="0" id="prod_geruest_konf" onMouseOver="MM_swapImage('prod_geruest_konf','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruest_konfig_b.gif','kugel_3','','images/kugeln/kugeln_b_07.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
              </div>
         </div>
                <div id="navi_prosolar"><a href="<?php echo LINK_SITE_PROD_SOLAR ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_solar_a.gif" alt="" name="prod_solar" width="185" height="24" border="0" id="prod_solar"  onclick="cpg.closeAllPanels();cpg_2.closeAllPanels();" onMouseOver="MM_swapImage('prod_solar','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_solar_b.gif','kugel_12','','images/kugeln/kugeln_b_02.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                <div id="navi_prozimmerei"><a href="<?php echo LINK_SITE_PROD_ZIMMEREI ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_zimmerei_a.gif" alt="" name="prod_zimmerei" width="185" height="24" border="0" id="prod_zimmerei"  onclick="cpg.closeAllPanels();cpg_2.closeAllPanels();" onMouseOver="MM_swapImage('prod_zimmerei','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_zimmerei_b.gif','kugel_9','','images/kugeln/kugeln_b_08.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                    </div>
                   </div>
                  </div>
                  <div id="navi_referenzen"><a href="<?php echo LINK_SITE_REFERENZEN ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/referenzen_a.gif" name="referenzen" width="185" height="27" border="0" id="referenzen" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('referenzen','','includes/languages/<?php echo $ordner; ?>/images/buttons/referenzen_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                 <div id="navi_galerie"><a href="<?php echo LINK_SITE_GALERIE ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/galerie_a.gif" name="galerie" width="185" height="27" border="0" id="galerie" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('galerie','','includes/languages/<?php echo $ordner; ?>/images/buttons/galerie_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="navi_jobs"><a href="<?php echo LINK_SITE_JOBS ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/jobs_a.gif" name="jobs" width="185" height="27" border="0" id="jobs" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('jobs','','includes/languages/<?php echo $ordner; ?>/images/buttons/jobs_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="CollapsiblePanel_2" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                     <div id="navi_kontakt"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_a.gif" name="kontakt" width="185" height="27" border="0" id="kontakt" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('kontakt','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></div>
                    </div>
                    <div class="CollapsiblePanelContent">
                      <div id="navi_konttelefon"><a href="<?php echo LINK_SITE_KONTAKT_TELEFON ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_telefon_a.gif" alt="" name="kontakte_fon" width="185" height="24" border="0" id="kontakte_fon" onMouseOver="MM_swapImage('kontakte_fon','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_telefon_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                     <div id="navi_kontform"><a href="<?php echo LINK_SITE_KONTAKT_FORMULAR ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_formular_a.gif" alt="" name="kontakt_form" width="185" height="24" border="0" id="kontakt_form" onMouseOver="MM_swapImage('kontakt_form','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_formular_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                   <div id="navi_kontanfahrt"><a href="<?php echo LINK_SITE_KONTAKT_ANFAHRT ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_anfahrt_a.gif" alt="" name="kontakt_anfahrt" width="185" height="24" border="0" id="kontakt_anfahrt" onMouseOver="MM_swapImage('kontakt_anfahrt','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_anfahrt_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                    </div>
                </div>
                  <div id="navi_downloads"><a href="<?php echo LINK_SITE_DOWNLOADS ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/downloads_a.gif" name="downloads" width="185" height="27" border="0" id="downloads" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('downloads','','includes/languages/<?php echo $ordner; ?>/images/buttons/downloads_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
            </table>
    <script type="text/javascript">
    var cpg = new Spry.Widget.CollapsiblePanelGroup("CollapsiblePanelGroup", { contentIsOpen: false });
    var cpg_1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_1", {contentIsOpen:false});
    var cpg_2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_2", {contentIsOpen:false});
      </script>
    TELLO

  • ALV and colors

    Hi everyone,
    I want to colorize a specific cell for a certain condition.
    I used the REUSE_ALV_GRID_DISPLAY function to create my ALV.
    Lets say I want to turn red a cell that its value is negative.
    How can I do it ?
    Thanks in advance.
    Regards.

    David,
    here is another sample report..
    report zc9_alvgrid_final_now .
    *PROGRAM ON ALV-GRID.
    *TABLE DECLARATION.
    *tables:zc9_employee, zc9_empspec.
    type-pools: slis. "ALV Declarations
    data: celcol1 type slis_specialcol_alv.
    data: syprindex type i value 1.
    *INTERNAL TABLE DECLARATION.
    data: begin of itab_alv1 OCCURS 0,
    emp_id(5) TYPE C,
    emp_name(20) TYPE C,
    certified(3) TYPE C,
    celcol type slis_t_specialcol_alv,
    selected(1) type c,
    end of itab_alv1.
    data: begin of itab_alv3 OCCURS 0,
    emp_id(5) TYPE C,
    emp_name(20) TYPE C,
    certified(3) TYPE C,
    end of itab_alv3.
    data: mulrowtab1 like line of itab_alv1.
    data: mulrowtab like table of itab_alv1.
    data: wa_emp_name like zc9_employee-emp_name.
    data: mulrowindex type i value 1.
    data: maxlines type i.
    data: wa like line of itab_alv1.
    data: wa_itab like line of itab_alv1.
    data: ok-code like sy-ucomm.
    data: ok-code1 like sy-ucomm.
    data: ind type i.
    data: newvar type disvariant.
    data: tempvar type i value 0.
    data: gd_repid like sy-repid.
    *ALV-GRID DATA DECLARATION.
    data: fieldcatalog type slis_t_fieldcat_alv.
    * FIELD CATALOG.
    data: fieldcatalog1 type slis_fieldcat_alv.
    data: gd_layout type slis_layout_alv.
    * LAYOUT DECLARATION.
    data: id_color type c.
    data: eventtable type slis_t_event.
    data: wa_event type slis_alv_event.
    data: newvariant type disvariant.
    data: i_exclude type slis_t_extab, "ALV Exclusion Table
    wa_exclude type slis_extab. "ALV Exclusion Structure
    *VARIANT DECLARATION.
    data: vartype like disvariant.
    data: var_save(1) type c.
    data: w_exit(1) type c.
    data: wx_variant like disvariant.
    data: variant_para like disvariant-variant.
    data: itab_emp like table of zc9_employee.
    data: itab_emp1 like line of itab_emp.
    data: itab_spec like table of zc9_empspec.
    data: itab_spec1 like line of itab_spec.
    data: ls_sort type slis_sortinfo_alv.
    data: lt_sort type slis_t_sortinfo_alv.
    parameter: LAYOUT like disvariant-variant.
    * INITIALIZATION.
    gd_repid = sy-repid.
    *CALLING SELECTION SCREEN-SUBROUTINES.
    *AT SELECTION SCREEN
    at selection-screen output.
    perform init_variant.
    perform variant_default using LAYOUT.
    at selection-screen on value-request for LAYOUT.
    perform variant_select using LAYOUT.
    at selection-screen.
    perform variant_fill.
    newvar = vartype.
    * LAYOUT DECLARATION.
    gd_layout-zebra = 'X'.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-box_fieldname = 'SELECTED'.
    gd_layout-box_tabname = 'ITAB_ALV1'.
    gd_layout-totals_text = 'Totals'(201).
    gd_layout-coltab_fieldname = 'CELCOL'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    * "click(press f2)
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
    i_program_name = gd_repid
    i_internal_tabname = 'ITAB_ALV3'
    i_inclname = gd_repid
    changing
    ct_fieldcat = fieldcatalog
    *FIELD-CATALOG DECLARATION.
    loop at fieldcatalog into fieldcatalog1.
    case fieldcatalog1-fieldname.
    when 'EMP_ID'.
    fieldcatalog1-seltext_m = 'EMP-ID'.
    fieldcatalog1-col_pos = 0.
    fieldcatalog1-outputlen = 10.
    fieldcatalog1-emphasize = 'C2'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-do_sum = 'X'.
    fieldcatalog1-sp_group = 'A'.
    when 'EMP_NAME'.
    fieldcatalog1-fieldname = 'EMP_NAME'.
    fieldcatalog1-seltext_m = 'EMPLOYEE_NAME'.
    fieldcatalog1-col_pos = 1.
    fieldcatalog1-emphasize = 'C2'.
    fieldcatalog1-hotspot = 'X'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-outputlen = 20.
    fieldcatalog1-sp_group = 'B'.
    when 'CERTIFIED'.
    fieldcatalog1-fieldname = 'CERTIFIED'.
    fieldcatalog1-seltext_m = 'CERTIFIED'.
    fieldcatalog1-col_pos = 2.
    fieldcatalog1-emphasize = 'C2'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-sp_group = 'C'.
    endcase.
    modify fieldcatalog from fieldcatalog1.
    endloop.
    *SORTING FIELD CATALOG FIELD.
    ls_sort-spos = 1.
    ls_sort-fieldname = 'EMP_ID'.
    ls_sort-up = 'X'.
    ls_sort-subtot = 'X'.
    append ls_sort to lt_sort.
    *POPULATING THE INTERNAL TABLE.
    ITAB_ALV1-EMP_ID = '15530'.
    ITAB_ALV1-EMP_NAME = 'THILAKJI'.
    ITAB_ALV1-CERTIFIED = 'YES'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15531'.
    ITAB_ALV1-EMP_NAME = 'MATHEWS'.
    ITAB_ALV1-CERTIFIED = 'NO'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15532'.
    ITAB_ALV1-EMP_NAME = 'JAISI'.
    ITAB_ALV1-CERTIFIED = 'YES'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15533'.
    ITAB_ALV1-EMP_NAME = 'ADAMS'.
    ITAB_ALV1-CERTIFIED = 'YES'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15534'.
    ITAB_ALV1-EMP_NAME = 'PAUL'.
    ITAB_ALV1-CERTIFIED = 'NO'.
    APPEND ITAB_ALV1.
    * FORM TO MAKE THE CELL CONTENTS INVISIBLE.
    PERFORM INVISIBLE_CELL_CONTENTS.
    *EXCLUDE-DECLARATION.
    clear wa_exclude.
    wa_exclude-fcode = '&VEXCEL'.
    append wa_exclude to i_exclude.
    * FUNCTION MODULE CALL-REUSE-ALV-GRID-DISPLAY.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE2' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = 'ALV GRID-EMPLOYEE'
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_sort = lt_sort
    it_excluding = i_exclude
    i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM
    i_save = 'A'
    is_variant = newvar
    tables
    t_outtab = itab_alv1
    exceptions
    program_error = 1
    others = 2.
    * Form TOP-OF-PAGE *
    * ALV Report Header *
    form top-of-page2.
    data: header type slis_t_listheader,
    wa type slis_listheader,
    infield like wa-info,
    nline type i,
    nlinechar(2) type c.
    *TITLE AREA
    wa-typ = 'H'.
    wa-info = 'EMPLOYEE-DETAILS'.
    append wa to header.
    *BELOW AREA.
    wa-typ = 'S'.
    wa-key = 'DATE'.
    concatenate sy-datum+6(2) '.' sy-datum+4(2) '.' sy-datum(4) into wa-info
    append wa to header.
    *NEXT LINE.
    wa-typ = 'S'.
    describe table itab_alv1 lines nline.
    nlinechar = nline.
    wa-key = 'TABLE DETAILS'.
    concatenate 'NO.of.Lines:' nlinechar into wa-info separated by space.
    append wa to header.
    call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
    it_list_commentary = header
    i_logo = 'ALVLOGO'.
    endform.
    * FORM SET_PF_STATUS *
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'NEWSTATUS123'.
    endform.
    * FORM USER_COMMAND *
    * --> R_UCOMM *
    * --> RS_SELFIELD *
    form user_command using r_ucomm like sy-ucomm
    rs_selfield type slis_selfield.
    * Check function code
    case r_ucomm.
    when 'SELM'.
    loop at itab_alv1 where selected = 'X'.
    move-corresponding itab_alv1 to mulrowtab1.
    append mulrowtab1 to mulrowtab.
    endloop.
    message i029(zmc).
    clear mulrowtab1.
    when 'DISP'.
    * Check field clicked on within ALVgrid report
    if rs_selfield-fieldname = 'EMP_ID'.
    * Read data table, using index of row user clicked on
    read table itab_alv1 into wa index rs_selfield-tabindex.
    ind = rs_selfield-tabindex.
    message i025(zmc) with rs_selfield-fieldname .
    elseif rs_selfield-fieldname = 'EMP_NAME'.
    read table itab_alv1 into wa index rs_selfield-tabindex.
    ind = rs_selfield-tabindex.
    message i028(zmc) with rs_selfield-fieldname wa-emp_name .
    endif.
    when 'EXIT'.
    * MESSAGE I026(ZMC).
    leave program.
    when 'CHAN'.
    * READ TABLE itab_alv1 INTO wa INDEX rs_selfield-tabindex.
    read table itab_alv1 into wa index rs_selfield-tabindex.
    call screen 1551.
    tempvar = 1.
    *CALLING THE GRID DISPLAY FUNCTION AGAIN.
    * FUNCTION MODULE CALL-REUSE-ALV-GRID-DISPLAY.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = 'ALV GRID-EMPLOYEE'
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_events = eventtable
    i_save = 'X'
    it_excluding = i_exclude
    i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM
    is_variant = newvar
    tables
    t_outtab = itab_alv1
    exceptions
    program_error = 1
    others = 2.
    r_ucomm = '&F03'.
    when '&F03'.
    * IF TEMPVAR = 1.
    leave program.
    endcase.
    clear r_ucomm.
    endform.
    *& Module USER_COMMAND_1551 INPUT
    * text
    module user_command_1551 input.
    data: syprtabix type i.
    case ok-code.
    when 'QUIT'.
    set screen 0.
    leave screen.
    clear itab_alv1.
    sy-tabix = 0.
    when 'UPDA'.
    loop at itab_alv1 where emp_id = wa-emp_id.
    syprtabix = sy-tabix.
    endloop.
    modify itab_alv1 from wa index syprtabix transporting emp_id emp_name
    certified.
    message i027(zmc).
    leave screen.
    endcase.
    endmodule. " USER_COMMAND_1551 INPUT
    *& Module STATUS_1551 OUTPUT
    * text
    module status_1551 output.
    set pf-status 'ZNEWSTATUS'.
    * SET TITLEBAR 'xxx'.
    endmodule. " STATUS_1551 OUTPUT
    *FORM FOR SELECTING LAYOUT.
    form variant_select using form_varpar.
    call function 'LVC_VARIANT_F4'
    exporting
    is_variant = vartype
    * IT_DEFAULT_FIELDCAT =
    i_save = var_save
    importing
    e_exit = w_exit
    es_variant = wx_variant
    exceptions
    not_found = 1
    program_error = 2
    others = 3
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    if w_exit is initial.
    vartype-variant = wx_variant-variant.
    form_varpar = wx_variant-variant.
    endif.
    endform.
    *& Form init_variant
    form init_variant.
    clear: vartype.
    gd_repid = sy-repid.
    vartype-report = sy-repid.
    vartype-username = sy-uname.
    var_save = 'A'. "All types
    endform.
    *& Form variant_default
    form variant_default using p_variant.
    wx_variant = vartype.
    if not p_variant is initial.
    wx_variant-variant = p_variant.
    endif.
    call function 'LVC_VARIANT_DEFAULT_GET'
    exporting
    i_save = var_save
    changing
    cs_variant = wx_variant
    exceptions
    wrong_input = 1
    not_found = 2
    program_error = 3
    others = 4.
    case sy-subrc.
    when 0.
    p_variant = wx_variant-variant.
    when 2.
    clear: p_variant.
    endcase.
    endform.
    *& Form variant_fill
    form variant_fill.
    clear: vartype.
    if LAYOUT is initial.
    vartype-variant = 'STANDARD'.
    vartype-report = sy-repid.
    else.
    vartype-variant = LAYOUT.
    vartype-report = sy-repid.
    call function 'LVC_VARIANT_EXISTENCE_CHECK'
    exporting
    i_save = var_save
    changing
    cs_variant = vartype
    exceptions
    others = 01.
    if sy-subrc ne 0.
    message i000(zz) with text-g02.
    endif.
    endif.
    endform.
    *& Module STATUS_1234 OUTPUT
    * text
    module status_1234 output.
    * SET PF-STATUS 'xxxxxxxx'.
    * SET TITLEBAR 'xxx'.
    endmodule. " STATUS_1234 OUTPUT
    *& Module USER_COMMAND_1234 INPUT
    * text
    module user_command_1234 input.
    sort mulrowtab.
    describe table mulrowtab lines maxlines.
    case ok-code1.
    when 'OUT1'.
    set screen 0.
    leave screen.
    when 'PUSH'.
    clear mulrowtab1.
    if mulrowindex <= maxlines.
    read table mulrowtab into mulrowtab1 index mulrowindex.
    mulrowindex = mulrowindex + 1.
    else.
    message i030(zmc).
    endif.
    endcase.
    endmodule. " USER_COMMAND_1234 INPUT
    * CEL COLOR TABLE POPULATION.
    FORM INVISIBLE_CELL_CONTENTS.
    loop at itab_alv1 INTO WA.
    IF WA-EMP_ID = ' '.
    EXIT.
    ENDIF.
    clear itab_alv1.
    move-corresponding WA to itab_alv1.
    clear celcol1.
    celcol1-fieldname = 'EMP_ID'.
    celcol1-color-col = syprindex.
    append celcol1 to itab_alv1-celcol.
    celcol1-fieldname = 'EMP_NAME'.
    celcol1-color-col = syprindex + 2.
    append celcol1 to itab_alv1-celcol.
    * CODE FOR MAKING THE GRID CELL CONTENTS INVISIBLE BASED ON THE VALUE OF
    *THE CELL.THE CONDITION CHECKED IS WHETHER
    * CERTIFIED FIELD HAS VALUE 'NO'.
    celcol1-fieldname = 'CERTIFIED'.
    if itab_alv1-certified = 'NO'.
    itab_alv1-emp_name = ' '.
    endif.
    celcol1-color-col = syprindex + 3.
    append celcol1 to itab_alv1-celcol.
    MODIFY ITAB_ALV1.
    syprindex = celcol1-color-col - 1.
    CLEAR ITAB_ALV1.
    endloop.
    ENDFORM.
    Regards,
    Suresh Datti

  • Running Transaction MRIS system don't says amount to be paid

    Hello.
    When I perform transaction MRIS at Test Mode ON, the system don't says the amount to be paid. 
    Basically my client needs to know the amount before paying.  
    I appreciate any help.
    Thank you.
    Hector.

    Second Part:
        'Valor Neto a Pagar CLP'
          call function 'CONVERT_TO_LOCAL_CURRENCY'
            exporting
              client           = sy-mandt
              date             = sy-datum
              foreign_amount   = ti_salida-fakwr
              foreign_currency = ti_salida-waers
              local_currency   = 'CLP'
              rate             = 0
              type_of_rate     = 'M'
              read_tcurr       = 'X'
            importing
              local_amount     = v_fakclp.
          v_fakclp = v_fakclp * 100.
          move v_fakclp to ti_salida-fakclp.
          modify ti_salida index v_tabix.
        else.
          ti_salida-netclp = ti_salida-netwr.
          ti_salida-fakclp = ti_salida-fakwr.
          modify ti_salida index v_tabix.
        endif.
      endloop.
    endform.                    " OBTENER_DATOS
    *&      Form  BUILD_CATALOG
          text
         -->P_ALV_FIELDCAT  text
    form build_catalog using p_fieldcat type slis_t_fieldcat_alv.
      data: ls_fieldcat type slis_fieldcat_alv.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'BUKRS'.
      ls_fieldcat-seltext_s = 'Sociedad'.
      ls_fieldcat-seltext_m = 'Sociedad'.
      ls_fieldcat-seltext_l = 'Sociedad'.
      ls_fieldcat-outputlen = 4.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'EBELN'.
      ls_fieldcat-seltext_s = 'Docto.Compras'.
      ls_fieldcat-seltext_m = 'Docto.Compras'.
      ls_fieldcat-seltext_l = 'Docto.Compras'.
      ls_fieldcat-outputlen = 13.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'EBELP'.
      ls_fieldcat-seltext_s = 'Posición'.
      ls_fieldcat-seltext_m = 'Posición'.
      ls_fieldcat-seltext_l = 'Posición'.
      ls_fieldcat-outputlen = 8.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'LIFNR'.
      ls_fieldcat-seltext_s = 'Proveedor'.
      ls_fieldcat-seltext_m = 'Proveedor'.
      ls_fieldcat-seltext_l = 'Proveedor'.
      ls_fieldcat-outputlen = 10.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'NAME1'.
      ls_fieldcat-seltext_s = 'Razón Social'.
      ls_fieldcat-seltext_m = 'Razón Social'.
      ls_fieldcat-seltext_l = 'Razón Social'.
      ls_fieldcat-outputlen = 30.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'TXZ01'.
      ls_fieldcat-seltext_s = 'Material/Servicio'.
      ls_fieldcat-seltext_m = 'Material/Servicio'.
      ls_fieldcat-seltext_l = 'Material/Servicio'.
      ls_fieldcat-outputlen = 30.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'NETWR'.
      ls_fieldcat-seltext_s = 'Valor Neto Cuota'.
      ls_fieldcat-seltext_m = 'Valor Neto Cuota'.
      ls_fieldcat-seltext_l = 'Valor Neto Cuota'.
      ls_fieldcat-outputlen = 14.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'NETCLP'.
      ls_fieldcat-seltext_s = 'Valor Neto Cuota CLP'.
      ls_fieldcat-seltext_m = 'Valor Neto Cuota CLP'.
      ls_fieldcat-seltext_l = 'Valor Neto Cuota CLP'.
      ls_fieldcat-outputlen = 21.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'WAERS'.
      ls_fieldcat-seltext_s = 'Moneda'.
      ls_fieldcat-seltext_m = 'Moneda'.
      ls_fieldcat-seltext_l = 'Moneda'.
      ls_fieldcat-outputlen = 6.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'MWSKZ'.
      ls_fieldcat-seltext_s = 'Ind.Imptos.'.
      ls_fieldcat-seltext_m = 'Ind.Imptos.'.
      ls_fieldcat-seltext_l = 'Ind.Imptos.'.
      ls_fieldcat-outputlen = 12.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'FAKWR'.
      ls_fieldcat-seltext_s = 'Valor Neto Pagar'.
      ls_fieldcat-seltext_m = 'Valor Neto Pagar'.
      ls_fieldcat-seltext_l = 'Valor Neto Pagar'.
      ls_fieldcat-outputlen = 14.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'FAKCLP'.
      ls_fieldcat-seltext_s = 'Valor Neto Pagar CLP'.
      ls_fieldcat-seltext_m = 'Valor Neto Pagar CLP'.
      ls_fieldcat-seltext_l = 'Valor Neto Pagar CLP'.
      ls_fieldcat-outputlen = 21.
      append ls_fieldcat to p_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname = 'CUOTAS'.
      ls_fieldcat-seltext_s = 'Cant.Cuotas'.
      ls_fieldcat-seltext_m = 'Cant.Cuotas'.
      ls_fieldcat-seltext_l = 'Cant.Cuotas'.
      ls_fieldcat-outputlen = 11.
      append ls_fieldcat to p_fieldcat.
    endform.                    " BUILD_CATALOG
    *&      Form  BUILD_EVENTS
          text
         -->P_ALV_EVENTS  text
    form build_events using rt_events type slis_t_event.
      data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type = 0
        importing
          et_events   = rt_events.
      read table rt_events with key name = slis_ev_top_of_page
                               into ls_event.
      if sy-subrc = 0.
        move 'TOP_OF_PAGE' to ls_event-form.
        append ls_event to rt_events.
      endif.
    endform.                    " BUILD_EVENTS
    form top_of_page.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = t_listheader[]
        exceptions
          others             = 0.
    endform.                    "top_of_page
    *&      Form  BUILD_HEADER
          text
    -->  p1        text
    <--  p2        text
    form build_header .
      data:  fecha_head(10)   type c,
             hora_head(8)     type c.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Reporte'.
      t_listheader-info = 'Reporte Planes de Facturación'.
      append t_listheader.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Fecha'.
      concatenate  sy-datum6(2) '.' sy-datum4(2) '.' sy-datum(4)
                   into fecha_head.
      concatenate  sy-uzeit(2) ':' sy-uzeit2(2) ':' sy-uzeit4(2)
                   into hora_head.
      concatenate  fecha_head '  -  ' hora_head  into  t_listheader-info.
      append t_listheader.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Usuario'.
      t_listheader-info = sy-uname.
      append t_listheader.
      clear t_listheader.
      append t_listheader.
      append t_listheader.
    endform.                    " BUILD_HEADER
    *&      Form  PRINT_RESULTS
          text
    -->  p1        text
    <--  p2        text
    form print_results .
      data: w_events .
      alv_layout-colwidth_optimize = ' '.
      alv_layout-zebra             = 'X'.
      perform alv_grid_display.
    endform.                    " PRINT_RESULTS
    *&      Form  ALV_GRID_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    form alv_grid_display .
      data: w_exit type slis_exit_by_user.
      data: fm_grid(30).
      if sy-batch = space.
        fm_grid = 'REUSE_ALV_GRID_DISPLAY'.
      else.
        fm_grid = 'REUSE_ALV_LIST_DISPLAY'.
      endif.
      call function fm_grid
        exporting
          i_callback_program      = sy-repid
          i_callback_user_command = 'USER_COMMAND'
          is_layout               = alv_layout
          it_fieldcat             = alv_fieldcat
          i_save                  = g_save
          is_variant              = g_variant
          it_events               = alv_events
         i_background_id         = 'ALV_BACKGROUND'
        tables
          t_outtab                = ti_salida
        exceptions
          program_error           = 1
          others                  = 2.
      if sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " ALV_GRID_DISPLAY
    *&      Form  user_command
          text
         -->F_UCOMM    text
         -->I_SELFIELD text
    form user_command using r_ucomm ls_selfield type slis_selfield.
      data w_idx type i.
      w_idx = ls_selfield-tabindex.
      read table ti_salida index w_idx.
      if sy-subrc = 0.
        set parameter id 'BES' field ti_salida-ebeln.
        call transaction 'ME23N' and skip first screen.
      endif.
    endform.                    "user_command

  • Query regarding row in ALV

    Hi all,
            Please clarify this query of mine in alv.
    I am displaying an output in ALV format which has 10 rows.
    I want to add a eleventh row to the above output .
    The eleventh row must contain the sum of the above 10 rows .
    Please guide me how to achieve this.
    Kindly reply as fast as possible.
    Regards,
    Vijay

    Hi,
    see following code :
    REPORT ZALVTEST1 .
    TYPE-POOLS: SLIS.
    Data: v_temp type p decimals 2.
    Data: v_f1_sum type i,
    v_f2_sum type i.
    dATA: BEGIN OF struct_customer,
    CUSTOMER LIKE KNA1-KUNNR,
    FIELD1 TYPE I,
    FIELD2 TYPE I,
    field3 type i,
    END OF struct_customer.
    DATA: I_LAYOUT TYPE SLIS_LAYOUT_ALV,
    I_FIELDTAB TYPE SLIS_T_FIELDCAT_ALV,
    I_HEADING TYPE SLIS_T_LISTHEADER,
    I_EVENTS TYPE SLIS_T_EVENT.
    DATA: RS_SORT TYPE SLIS_T_SORTINFO_ALV.
    DATA: V_CUST TYPE KNA1-KUNNR.
    DATA: BEGIN OF ITAB OCCURS 0,
    CUSTOMER LIKE KNA1-KUNNR,
    FIELD1 TYPE I,
    FIELD2 TYPE I,
    field3 type i,
    END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0,
    CUSTOMER LIKE KNA1-KUNNR,
    FIELD1 TYPE I,
    FIELD2 TYPE I,
    field3 type i,
    END OF ITAB1.
    DATA: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    DATA: FORMNAME_SUBTOTAL_TEXT TYPE SLIS_FORMNAME VALUE 'SUBTOTAL_TEXT'.
    DATA: FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE'.
    DATA: FORMNAME_END_OF_LIST TYPE SLIS_FORMNAME VALUE 'END_OF_LIST'.
    DATA: FORMNAME_AFTER_LINE_OUTPUT TYPE SLIS_FORMNAME VALUE 'LINE_OUTPUT'.
    START-OF-SELECTION.
    PERFORM FILL_ITAB.
    PERFORM FILL_CAT.
    PERFORM SET_SORT.
    PERFORM FILL_EVENT.
    PERFORM DISPLAY_DATA.
    END-OF-SELECTION.
    *& Form FILL_ITAB
    text
    --> p1 text
    <-- p2 text
    FORM FILL_ITAB .
    DATA: L_CTR TYPE I.
    ITAB-CUSTOMER = 1.ITAB-FIELD1 = 1.ITAB-FIELD2 = 2.APPEND ITAB.
    CLEAR ITAB.
    ITAB-CUSTOMER = 2.ITAB-FIELD1 = 3.ITAB-FIELD2 = 4.APPEND ITAB.
    CLEAR ITAB.
    ITAB-CUSTOMER = 3.ITAB-FIELD1 = 2.ITAB-FIELD2 = 5.APPEND ITAB.
    CLEAR ITAB.
    ITAB-CUSTOMER = 4.ITAB-FIELD1 = 1.ITAB-FIELD2 = 10.APPEND ITAB.
    CLEAR ITAB.
    LOOP AT ITAB.
    v_temp = itab-field1 / itab-field2.
    itab-field3 = v_temp * 100.
    modify itab.
    V_f1_sum = v_f1_sum + itab-field1.
    V_f2_sum = v_f2_sum + itab-field2.
    ENDLOOP.
    ENDFORM. " FILL_ITAB
    *& Form FILL_CAT
    text
    --> p1 text
    <-- p2 text
    FORM FILL_CAT .
    DATA: L_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    CLEAR L_FIELDCAT.
    L_FIELDCAT-COL_POS = 1.
    L_FIELDCAT-TABNAME = 'ITAB'.
    L_FIELDCAT-FIELDNAME = 'CUSTOMER'.
    L_FIELDCAT-REF_TABNAME = 'KNA1'.
    L_FIELDCAT-REF_FIELDNAME = 'KUNNR'.
    L_FIELDCAT-KEY = 'X'.
    APPEND L_FIELDCAT TO I_FIELDTAB.
    CLEAR L_FIELDCAT.
    CLEAR L_FIELDCAT.
    L_FIELDCAT-COL_POS = 3.
    L_FIELDCAT-TABNAME = 'ITAB'.
    L_FIELDCAT-FIELDNAME = 'FIELD1'.
    L_FIELDCAT-DO_SUM = 'X'.
    L_FIELDCAT-No_zero = 'X'.
    L_FIELDCAT-seltext_l ='VALUE1'.
    L_FIELDCAT-seltext_M ='VALUE1'.
    L_FIELDCAT-seltext_S ='VALUE1'.
    L_FIELDCAT-KEY = 'X'.
    APPEND L_FIELDCAT TO I_FIELDTAB.
    CLEAR L_FIELDCAT.
    L_FIELDCAT-COL_POS = 4.
    L_FIELDCAT-TABNAME = 'ITAB'.
    L_FIELDCAT-FIELDNAME = 'FIELD2'.
    L_FIELDCAT-DO_SUM = 'X'.
    L_FIELDCAT-No_zero = 'X'.
    L_FIELDCAT-seltext_l ='VALUE2'.
    L_FIELDCAT-seltext_M ='VALUE2'.
    L_FIELDCAT-seltext_S ='VALUE2'.
    L_FIELDCAT-KEY = 'X'.
    APPEND L_FIELDCAT TO I_FIELDTAB.
    CLEAR L_FIELDCAT.
    L_FIELDCAT-COL_POS = 5.
    L_FIELDCAT-TABNAME = 'ITAB'.
    L_FIELDCAT-FIELDNAME = 'FIELD3'.
    L_FIELDCAT-DO_SUM = 'X'.
    L_FIELDCAT-No_zero = 'X'.
    L_FIELDCAT-seltext_l ='VALUE3'.
    L_FIELDCAT-seltext_M ='VALUE3'.
    L_FIELDCAT-seltext_S ='VALUE3'.
    APPEND L_FIELDCAT TO I_FIELDTAB.
    ENDFORM. " FILL_CAT
    *& Form DISPLAY_DATA
    text
    --> p1 text
    <-- p2 text
    FORM DISPLAY_DATA .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = 'ZALVTEST2'
    IS_LAYOUT = I_LAYOUT
    IT_FIELDCAT = I_FIELDTAB
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IT_EVENTS = I_EVENTS[]
    TABLES
    T_OUTTAB = ITAB
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " DISPLAY_DATA
    *& Form SET_SORT
    text
    --> p1 text
    <-- p2 text
    FORM SET_SORT .
    I_LAYOUT-ZEBRA = 'X'.
    DATA: LS_SORT TYPE SLIS_SORTINFO_ALV.
    CLEAR LS_SORT.
    LS_SORT-SPOS = 1.
    LS_SORT-FIELDNAME = 'CUSTOMER'.
    LS_SORT-TABNAME = 'ITAB'.
    LS_SORT-UP = 'X'.
    APPEND LS_SORT TO RS_SORT.
    ENDFORM. " SET_SORT
    *& Form FILL_EVENT
    text
    --> p1 text
    <-- p2 text
    FORM FILL_EVENT .
    DATA: L_I_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
    I_LIST_TYPE = 0
    IMPORTING
    ET_EVENTS = I_EVENTS.
    READ TABLE I_EVENTS WITH KEY NAME = SLIS_EV_AFTER_LINE_OUTPUT
    INTO L_I_EVENT.
    IF SY-SUBRC = 0.
    MOVE FORMNAME_AFTER_LINE_OUTPUT TO L_I_EVENT-FORM.
    MODIFY I_EVENTS FROM L_I_EVENT INDEX SY-TABIX.
    ENDIF.
    ENDFORM. " FILL_EVENT
    *& Form AFTER_LINE_OUTPUT
    text
    FORM LINE_OUTPUT using RS_LINEINFO TYPE SLIS_LINEINFO.
    DATA: L_TABIX LIKE SY-TABIX.
    DATA: L_TABIX1 LIKE SY-TABIX.
    data: str_kunnr like struct_customer.
    check RS_LINEINFO-tabindex ne 0.
    L_TABIX = RS_LINEINFO-tabindex.
    read table itab index l_tabix.
    l_tabix1 = RS_LINEINFO-tabindex + 1.
    struct_customer-customer = itab-customer.
    read table itab into str_kunnr index l_tabix1 transporting customer.
    if sy-subrc <> 0.
    v_temp = ( v_f1_sum / v_f2_sum ) * 100.
    uline at (45).
    skip.
    uline at (45).
    write: / sy-vline , 'Total',
    12 sy-vline , (9) v_f1_sum,
    23 sy-vline , (9) v_f2_sum,
    34 sy-vline , (9) v_temp decimals 0,
    45 sy-vline.
    *uline at (46).
    endif.
    ENDFORM. " AFTER_LINE_OUTPUT
    Reward points if helpful.
    Regards.
    Srikanta Gope

  • Color in alv ( cell)

    hello
    i tried to color only some cells in alv but i want just what i write will be colored and not all the row
    for exmaple:
    if i have in one row the value 500 i want just the 500 will have color and not all the row
    thanks

    Hi,
    here is another sample report..
    report zc9_alvgrid_final_now .
    *PROGRAM ON ALV-GRID.
    *TABLE DECLARATION.
    *tables:zc9_employee, zc9_empspec.
    type-pools: slis. "ALV Declarations
    data: celcol1 type slis_specialcol_alv.
    data: syprindex type i value 1.
    *INTERNAL TABLE DECLARATION.
    data: begin of itab_alv1 OCCURS 0,
    emp_id(5) TYPE C,
    emp_name(20) TYPE C,
    certified(3) TYPE C,
    celcol type slis_t_specialcol_alv,
    selected(1) type c,
    end of itab_alv1.
    data: begin of itab_alv3 OCCURS 0,
    emp_id(5) TYPE C,
    emp_name(20) TYPE C,
    certified(3) TYPE C,
    end of itab_alv3.
    data: mulrowtab1 like line of itab_alv1.
    data: mulrowtab like table of itab_alv1.
    data: wa_emp_name like zc9_employee-emp_name.
    data: mulrowindex type i value 1.
    data: maxlines type i.
    data: wa like line of itab_alv1.
    data: wa_itab like line of itab_alv1.
    data: ok-code like sy-ucomm.
    data: ok-code1 like sy-ucomm.
    data: ind type i.
    data: newvar type disvariant.
    data: tempvar type i value 0.
    data: gd_repid like sy-repid.
    *ALV-GRID DATA DECLARATION.
    data: fieldcatalog type slis_t_fieldcat_alv.
    * FIELD CATALOG.
    data: fieldcatalog1 type slis_fieldcat_alv.
    data: gd_layout type slis_layout_alv.
    * LAYOUT DECLARATION.
    data: id_color type c.
    data: eventtable type slis_t_event.
    data: wa_event type slis_alv_event.
    data: newvariant type disvariant.
    data: i_exclude type slis_t_extab, "ALV Exclusion Table
    wa_exclude type slis_extab. "ALV Exclusion Structure
    *VARIANT DECLARATION.
    data: vartype like disvariant.
    data: var_save(1) type c.
    data: w_exit(1) type c.
    data: wx_variant like disvariant.
    data: variant_para like disvariant-variant.
    data: itab_emp like table of zc9_employee.
    data: itab_emp1 like line of itab_emp.
    data: itab_spec like table of zc9_empspec.
    data: itab_spec1 like line of itab_spec.
    data: ls_sort type slis_sortinfo_alv.
    data: lt_sort type slis_t_sortinfo_alv.
    parameter: LAYOUT like disvariant-variant.
    * INITIALIZATION.
    gd_repid = sy-repid.
    *CALLING SELECTION SCREEN-SUBROUTINES.
    *AT SELECTION SCREEN
    at selection-screen output.
    perform init_variant.
    perform variant_default using LAYOUT.
    at selection-screen on value-request for LAYOUT.
    perform variant_select using LAYOUT.
    at selection-screen.
    perform variant_fill.
    newvar = vartype.
    * LAYOUT DECLARATION.
    gd_layout-zebra = 'X'.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-box_fieldname = 'SELECTED'.
    gd_layout-box_tabname = 'ITAB_ALV1'.
    gd_layout-totals_text = 'Totals'(201).
    gd_layout-coltab_fieldname = 'CELCOL'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    * "click(press f2)
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
    i_program_name = gd_repid
    i_internal_tabname = 'ITAB_ALV3'
    i_inclname = gd_repid
    changing
    ct_fieldcat = fieldcatalog
    *FIELD-CATALOG DECLARATION.
    loop at fieldcatalog into fieldcatalog1.
    case fieldcatalog1-fieldname.
    when 'EMP_ID'.
    fieldcatalog1-seltext_m = 'EMP-ID'.
    fieldcatalog1-col_pos = 0.
    fieldcatalog1-outputlen = 10.
    fieldcatalog1-emphasize = 'C2'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-do_sum = 'X'.
    fieldcatalog1-sp_group = 'A'.
    when 'EMP_NAME'.
    fieldcatalog1-fieldname = 'EMP_NAME'.
    fieldcatalog1-seltext_m = 'EMPLOYEE_NAME'.
    fieldcatalog1-col_pos = 1.
    fieldcatalog1-emphasize = 'C2'.
    fieldcatalog1-hotspot = 'X'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-outputlen = 20.
    fieldcatalog1-sp_group = 'B'.
    when 'CERTIFIED'.
    fieldcatalog1-fieldname = 'CERTIFIED'.
    fieldcatalog1-seltext_m = 'CERTIFIED'.
    fieldcatalog1-col_pos = 2.
    fieldcatalog1-emphasize = 'C2'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-sp_group = 'C'.
    endcase.
    modify fieldcatalog from fieldcatalog1.
    endloop.
    *SORTING FIELD CATALOG FIELD.
    ls_sort-spos = 1.
    ls_sort-fieldname = 'EMP_ID'.
    ls_sort-up = 'X'.
    ls_sort-subtot = 'X'.
    append ls_sort to lt_sort.
    *POPULATING THE INTERNAL TABLE.
    ITAB_ALV1-EMP_ID = '15530'.
    ITAB_ALV1-EMP_NAME = 'THILAKJI'.
    ITAB_ALV1-CERTIFIED = 'YES'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15531'.
    ITAB_ALV1-EMP_NAME = 'MATHEWS'.
    ITAB_ALV1-CERTIFIED = 'NO'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15532'.
    ITAB_ALV1-EMP_NAME = 'JAISI'.
    ITAB_ALV1-CERTIFIED = 'YES'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15533'.
    ITAB_ALV1-EMP_NAME = 'ADAMS'.
    ITAB_ALV1-CERTIFIED = 'YES'.
    APPEND ITAB_ALV1.
    ITAB_ALV1-EMP_ID = '15534'.
    ITAB_ALV1-EMP_NAME = 'PAUL'.
    ITAB_ALV1-CERTIFIED = 'NO'.
    APPEND ITAB_ALV1.
    * FORM TO MAKE THE CELL CONTENTS INVISIBLE.
    PERFORM INVISIBLE_CELL_CONTENTS.
    *EXCLUDE-DECLARATION.
    clear wa_exclude.
    wa_exclude-fcode = '&VEXCEL'.
    append wa_exclude to i_exclude.
    * FUNCTION MODULE CALL-REUSE-ALV-GRID-DISPLAY.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE2' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = 'ALV GRID-EMPLOYEE'
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_sort = lt_sort
    it_excluding = i_exclude
    i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM
    i_save = 'A'
    is_variant = newvar
    tables
    t_outtab = itab_alv1
    exceptions
    program_error = 1
    others = 2.
    * Form TOP-OF-PAGE *
    * ALV Report Header *
    form top-of-page2.
    data: header type slis_t_listheader,
    wa type slis_listheader,
    infield like wa-info,
    nline type i,
    nlinechar(2) type c.
    *TITLE AREA
    wa-typ = 'H'.
    wa-info = 'EMPLOYEE-DETAILS'.
    append wa to header.
    *BELOW AREA.
    wa-typ = 'S'.
    wa-key = 'DATE'.
    concatenate sy-datum+6(2) '.' sy-datum+4(2) '.' sy-datum(4) into wa-info
    append wa to header.
    *NEXT LINE.
    wa-typ = 'S'.
    describe table itab_alv1 lines nline.
    nlinechar = nline.
    wa-key = 'TABLE DETAILS'.
    concatenate 'NO.of.Lines:' nlinechar into wa-info separated by space.
    append wa to header.
    call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
    it_list_commentary = header
    i_logo = 'ALVLOGO'.
    endform.
    * FORM SET_PF_STATUS *
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'NEWSTATUS123'.
    endform.
    * FORM USER_COMMAND *
    * --> R_UCOMM *
    * --> RS_SELFIELD *
    form user_command using r_ucomm like sy-ucomm
    rs_selfield type slis_selfield.
    * Check function code
    case r_ucomm.
    when 'SELM'.
    loop at itab_alv1 where selected = 'X'.
    move-corresponding itab_alv1 to mulrowtab1.
    append mulrowtab1 to mulrowtab.
    endloop.
    message i029(zmc).
    clear mulrowtab1.
    when 'DISP'.
    * Check field clicked on within ALVgrid report
    if rs_selfield-fieldname = 'EMP_ID'.
    * Read data table, using index of row user clicked on
    read table itab_alv1 into wa index rs_selfield-tabindex.
    ind = rs_selfield-tabindex.
    message i025(zmc) with rs_selfield-fieldname .
    elseif rs_selfield-fieldname = 'EMP_NAME'.
    read table itab_alv1 into wa index rs_selfield-tabindex.
    ind = rs_selfield-tabindex.
    message i028(zmc) with rs_selfield-fieldname wa-emp_name .
    endif.
    when 'EXIT'.
    * MESSAGE I026(ZMC).
    leave program.
    when 'CHAN'.
    * READ TABLE itab_alv1 INTO wa INDEX rs_selfield-tabindex.
    read table itab_alv1 into wa index rs_selfield-tabindex.
    call screen 1551.
    tempvar = 1.
    *CALLING THE GRID DISPLAY FUNCTION AGAIN.
    * FUNCTION MODULE CALL-REUSE-ALV-GRID-DISPLAY.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = 'ALV GRID-EMPLOYEE'
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_events = eventtable
    i_save = 'X'
    it_excluding = i_exclude
    i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM
    is_variant = newvar
    tables
    t_outtab = itab_alv1
    exceptions
    program_error = 1
    others = 2.
    r_ucomm = '&F03'.
    when '&F03'.
    * IF TEMPVAR = 1.
    leave program.
    endcase.
    clear r_ucomm.
    endform.
    *& Module USER_COMMAND_1551 INPUT
    * text
    module user_command_1551 input.
    data: syprtabix type i.
    case ok-code.
    when 'QUIT'.
    set screen 0.
    leave screen.
    clear itab_alv1.
    sy-tabix = 0.
    when 'UPDA'.
    loop at itab_alv1 where emp_id = wa-emp_id.
    syprtabix = sy-tabix.
    endloop.
    modify itab_alv1 from wa index syprtabix transporting emp_id emp_name
    certified.
    message i027(zmc).
    leave screen.
    endcase.
    endmodule. " USER_COMMAND_1551 INPUT
    *& Module STATUS_1551 OUTPUT
    * text
    module status_1551 output.
    set pf-status 'ZNEWSTATUS'.
    * SET TITLEBAR 'xxx'.
    endmodule. " STATUS_1551 OUTPUT
    *FORM FOR SELECTING LAYOUT.
    form variant_select using form_varpar.
    call function 'LVC_VARIANT_F4'
    exporting
    is_variant = vartype
    * IT_DEFAULT_FIELDCAT =
    i_save = var_save
    importing
    e_exit = w_exit
    es_variant = wx_variant
    exceptions
    not_found = 1
    program_error = 2
    others = 3
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    if w_exit is initial.
    vartype-variant = wx_variant-variant.
    form_varpar = wx_variant-variant.
    endif.
    endform.
    *& Form init_variant
    form init_variant.
    clear: vartype.
    gd_repid = sy-repid.
    vartype-report = sy-repid.
    vartype-username = sy-uname.
    var_save = 'A'. "All types
    endform.
    *& Form variant_default
    form variant_default using p_variant.
    wx_variant = vartype.
    if not p_variant is initial.
    wx_variant-variant = p_variant.
    endif.
    call function 'LVC_VARIANT_DEFAULT_GET'
    exporting
    i_save = var_save
    changing
    cs_variant = wx_variant
    exceptions
    wrong_input = 1
    not_found = 2
    program_error = 3
    others = 4.
    case sy-subrc.
    when 0.
    p_variant = wx_variant-variant.
    when 2.
    clear: p_variant.
    endcase.
    endform.
    *& Form variant_fill
    form variant_fill.
    clear: vartype.
    if LAYOUT is initial.
    vartype-variant = 'STANDARD'.
    vartype-report = sy-repid.
    else.
    vartype-variant = LAYOUT.
    vartype-report = sy-repid.
    call function 'LVC_VARIANT_EXISTENCE_CHECK'
    exporting
    i_save = var_save
    changing
    cs_variant = vartype
    exceptions
    others = 01.
    if sy-subrc ne 0.
    message i000(zz) with text-g02.
    endif.
    endif.
    endform.
    *& Module STATUS_1234 OUTPUT
    * text
    module status_1234 output.
    * SET PF-STATUS 'xxxxxxxx'.
    * SET TITLEBAR 'xxx'.
    endmodule. " STATUS_1234 OUTPUT
    *& Module USER_COMMAND_1234 INPUT
    * text
    module user_command_1234 input.
    sort mulrowtab.
    describe table mulrowtab lines maxlines.
    case ok-code1.
    when 'OUT1'.
    set screen 0.
    leave screen.
    when 'PUSH'.
    clear mulrowtab1.
    if mulrowindex <= maxlines.
    read table mulrowtab into mulrowtab1 index mulrowindex.
    mulrowindex = mulrowindex + 1.
    else.
    message i030(zmc).
    endif.
    endcase.
    endmodule. " USER_COMMAND_1234 INPUT
    * CEL COLOR TABLE POPULATION.
    FORM INVISIBLE_CELL_CONTENTS.
    loop at itab_alv1 INTO WA.
    IF WA-EMP_ID = ' '.
    EXIT.
    ENDIF.
    clear itab_alv1.
    move-corresponding WA to itab_alv1.
    clear celcol1.
    celcol1-fieldname = 'EMP_ID'.
    celcol1-color-col = syprindex.
    append celcol1 to itab_alv1-celcol.
    celcol1-fieldname = 'EMP_NAME'.
    celcol1-color-col = syprindex + 2.
    append celcol1 to itab_alv1-celcol.
    * CODE FOR MAKING THE GRID CELL CONTENTS INVISIBLE BASED ON THE VALUE OF
    *THE CELL.THE CONDITION CHECKED IS WHETHER
    * CERTIFIED FIELD HAS VALUE 'NO'.
    celcol1-fieldname = 'CERTIFIED'.
    if itab_alv1-certified = 'NO'.
    itab_alv1-emp_name = ' '.
    endif.
    celcol1-color-col = syprindex + 3.
    append celcol1 to itab_alv1-celcol.
    MODIFY ITAB_ALV1.
    syprindex = celcol1-color-col - 1.
    CLEAR ITAB_ALV1.
    endloop.
    ENDFORM.
    Regards,
    Suresh Datti

  • Spry links to tabbed panels causing havoc

    I have successfully used the tutorial from David Powers' Foundation blog to create a link to an accordion panel, but when I try to create links to 2 different tabbed panel pages, it causes 2 problems within DW.
    First the links work to open the correct tabs and the pages display fine on IE7, Firefox and Safari.
    Once I add the 'conditional operator' javascript at the end of the page, it causes the tab contents to display continuously out past the end of the widget container in DW, but not on the actual page, live or preview.
    The bad problem is that if I close the file and re-open, and sometimes on save, I get the hourglass while it hangs, then after about 40-60 seconds, I get this message:
    A script file in c:\..........\Spry\EditUtils.js has been running for a long time. Continue?
    I answer No and the page opens and everything seems to work ok, I can edit and such, other than the tab contents running off the page.
    I have checked the pages and removed all errors except tabindex and table bordercolor (which are allowed even though they show error on validate). And I have confirmed that the necessary spry link code is the same as the accordion panel page that works, except for the different identifiers of panel vs tab.
    Here is a link to the page and the page:
    http://www.wilsonchiropractic.net/Services/Hormone.html?tab=1#TabbedPanels1
    http://www.wilsonchiropractic.net/Services/Hormone.html
    This is the relevant spry link code:
    <script type="text/javascript" src="../SpryAssets/SpryURLUtils.js"></script>
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});
    When I take out the latter operator from the bottom line-
    , {defaultTab: params.tab ? params.tab : 0}
      everything goes back to normal.
    Please Help! Thank You!!
    --Jeff
    Message was edited by: jeff_w01 9-24-09:
    I have since re-created a simple page with the only complex element being the spry navigation bar. All else is essentially a stripped down version of the same page with an accordion panel which works. (all my pages are identical in header, navigation and footer - central frame holds differing content within tab or accordion panels).
    I put a simple 2-tab panel onto a new page and added the above JavaScript for linking to spry tabs or accordions. It still does the same thing within DW; the separate tab panels run out down the page and it hangs with the eventual message: A script file in c:\..........\Spry\EditUtils.js has been running for a long time. Continue?
    I have tried isolating as many variables as I can think of, but not having any luck....

    Hi Jeff,
    I am not able to reproduce this issue on a new page, but it looks like you have found that the following code is the problem:
    {defaultTab: params.tab ? params.tab : 0}
    Can you instead try the default constructor and then set the tab via the showTab() function for this tabbed panel?  This is essentially what happens with the constructor you are having trouble with.
    Hope that helps.
    Thanks,
    Josh Margulis
    Adobe Senior Solutions Engineer

  • Editable ALV - handling Enter key  when pressing enter on keyboard

    Hi folks.
    Now I have searched - and found a lot of threads - in this forum about my little problem.
    I'm using the <b>Function Module: REUSE_ALV_GRID_DISPLAY - NOT THE OO-version</b>!!!!!
    I have a editable list as result of finding some data. My problem is.
    When I change the value in one of the cells, and press the Enter key (not a click with the mouse on the Green button with the checkmark!) nothing happens!
    I have
        i_callback_pf_status_set  = 'SET_PF_STATUS'
        i_callback_user_command   = 'USER_COMMAND'
    And when I put a breakpoint in the USER_COMMAND form nothing happens - <b>ONLY IF I CLIKS WITH MY MOUSE ON THE Green button with the checkmark</b>!!
    Hope U have some idea!
    Best regards
    Carsten :o)

    Hi,
    Following the sample program for EDITABLE BLOCK ALV report.
    REPORT  YMS_EDITBLOCKALV.
    TABLES : rmmg1,MCHB, mkpf.
    DATA: BEGIN OF t_mseg OCCURS 0,
            zeile LIKE mseg-zeile,
            menge LIKE mseg-menge,
            meins LIKE mseg-meins,
            matnr LIKE mseg-matnr,
            werks LIKE mseg-werks,
            charg LIKE mseg-charg,
            bwart LIKE mseg-bwart,
    END OF t_mseg.
    DATA:BEGIN OF t_mchb OCCURS 0.
    INCLUDE STRUCTURE mchb.
    data flag type c.
    matnr LIKE mchb-matnr,
    charg LIKE mchb-charg,
    werks LIKE mchb-werks,
    clabs LIKE mchb-clabs,
    DATA END OF t_mchb.
    TYPE-POOLS slis.
    data: progname like sy-repid,
    fieldcattab TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    data tabindex type i.
    data wa_matnr LIKE mchb-matnr.
    progname = sy-repid.
    SELECTION-SCREEN BEGIN OF BLOCK b_b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS s_docno FOR mkpf-mblnr OBLIGATORY.
    PARAMETERS p_docyr LIKE mkpf-mjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b_b1.
    START-OF-SELECTION.
    SELECT zeile
    menge
    meins
    matnr
    werks
    charg
    bwart
    FROM mseg
    INTO TABLE t_mseg
    WHERE mblnr IN s_docno AND mjahr = p_docyr.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 1.
    fieldcattab-fieldname = 'ZEILE'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Item'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 2.
    fieldcattab-fieldname = 'MENGE'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Quantity'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 3.
    fieldcattab-fieldname = 'MEINS'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Unit'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 4.
    fieldcattab-fieldname = 'MATNR'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Material'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 5.
    fieldcattab-fieldname = 'WERKS'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Plant'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 6.
    fieldcattab-fieldname = 'CHARG'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Batch No'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 7.
    fieldcattab-fieldname = 'BWART'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Inventory'.
    fieldcattab-hotspot = 'X'.
    APPEND fieldcattab.
    end-of-selection.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = PROGNAME
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USERCOMMAND1'
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = fieldcattab[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT = fieldcattab
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = t_mseg
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM usercommand1 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
    slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    tabindex = rs_selfield-tabindex.
    read table t_mseg INDEX tabindex.
    select * from mchb into table t_mchb where matnr = t_mseg-matnr.
    clear fieldcattab.
    CLEAR fieldcattab[].
    fieldcattab-col_pos = 1.
    fieldcattab-fieldname = 'FLAG'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Check Box'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    fieldcattab-checkbox = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 2.
    fieldcattab-fieldname = 'MATNR'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Material'.
    fieldcattab-emphasize = 'C1'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    fieldcattab-checkbox = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 3.
    fieldcattab-fieldname = 'CHARG'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Batch No'.
    fieldcattab-emphasize = 'C2'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 4.
    fieldcattab-fieldname = 'WERKS'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Plant'.
    fieldcattab-emphasize = 'C30'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 5.
    fieldcattab-fieldname = 'CLABS'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Stock'.
    fieldcattab-emphasize = 'C601'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = PROGNAME
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USERCOMMAND2'
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = FIELDCATTAB[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = t_mchb
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endcase.
    endform.
    FORM usercommand2 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
    slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    IF rs_selfield-sel_tab_field = 'T_MCHB-MATNR'.
    CALL FUNCTION 'ZALV2'
    EXPORTING
    CTU = 'X'
    MODE = 'E'
    UPDATE = 'A'
    GROUP =
    USER =
    KEEP =
    HOLDDATE =
    NODATA = '/'
    MATNR_001 = '200-200'
    KZSEL_01_002 = 'X'
    IMPORTING
    SUBRC =
    TABLES
    MESSTAB =
    SET PARAMETER ID 'RID' FIELD RMMG1-MATNR.
    CALL TRANSACTION 'MM03' and skip first screen.
    ENDIF.
    ENDCASE.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = progname
    i_callback_user_command = 'USERCOMMAND3'
    it_fieldcat = fieldcattab[]
    TABLES
    t_outtab = t_mchb
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    endcase.
    ENDFORM.
    Thanks,
    Sankar M

  • Nested sliding panels and xml

    In this picture I try to explain my data set and the result I'm trying to obtain.
    I can't however figure out how to do this without nested regions.
    My code looks like this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CPS</title>
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryNestedXMLDataSet.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var ds_ents = new Spry.Data.XMLDataSet("data2.xml", "ents/ent");
    var ds_servs = new Spry.Data.NestedXMLDataSet(ds_ents, "servs/serv");
    var ds_conts = new Spry.Data.NestedXMLDataSet(ds_ents, "conts/cont");
    var ds_stats = new Spry.Data.NestedXMLDataSet(ds_ents, "stats/stat");
    //-->
    </script>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="CP_ents" class="CollapsiblePanel">
         <div class="CollapsiblePanelTab" tabindex="0">
              <table>
                   <tr>
                        <td spry:when="{ds_CurrentRowID} == {ds_RowID}"
                                 spry:setrow="ds_ents"
                                       spry:select="select"
                                       spry:hover="hover"
                                       spry:selected="">+</td>
                        <td>{ds_ents::id}</td>
                   </tr>
              </table>
         </div>
         <div class="CollapsiblePanelContent" spry:region="ds_ents">
              <table>
                   <tr spry:repeatchildren="ds_servs" spry:choose="">
                        <td> </td>
                        <td><div id="CP_servs" class="CollapsiblePanel">
                                  <div class="CollapsiblePanelTab" tabindex="1">
                                       <table>
                                            <tr>
                                                 <td width="50">+ servs</td>
                                                 <td width="50">id</td>
                                                 <td width="50">att1</td>
                                                 <td width="50">att2</td>
                                            </tr>
                                       </table>
                                  </div>
                                  <div class="CollapsiblePanelContent" spry:region="ds_servs">
                                       <table>
                                            <tr spry:repeatchildren="ds_servs">
                                                 <td width="50"> </td>
                                                 <td width="50">{id}</td>
                                                 <td width="50">{att1}</td>
                                                 <td width="50">{att2}</td>
                                            </tr>
                                       </table>
                                  </div>
                             </div>
                             <div id="CP_conts" class="CollapsiblePanel">
                                  <div class="CollapsiblePanelTab" tabindex="2">
                                       <table>
                                            <tr>
                                                 <td width="50">+ conts</td>
                                                 <td width="50">id</td>
                                                 <td width="50">att1</td>
                                                 <td width="50">att2</td>
                                            </tr>
                                       </table>
                                  </div>
                                  <div class="CollapsiblePanelContent" spry:region="ds_conts">
                                       <table>
                                            <tr spry:repeatchildren="ds_conts">
                                                 <td width="50"> </td>
                                                 <td width="50">{id}</td>
                                                 <td width="50">{att1}</td>
                                                 <td width="50">{att2}</td>
                                            </tr>
                                       </table>
                                  </div>
                             </div>
                             <div id="CP_stats" class="CollapsiblePanel">
                                  <div class="CollapsiblePanelTab" tabindex="3">
                                       <table>
                                            <tr>
                                                 <td width="50">+ stats</td>
                                                 <td width="50">id</td>
                                                 <td width="50">att1</td>
                                                 <td width="50">att2</td>
                                            </tr>
                                       </table>
                                  </div>
                                  <div class="CollapsiblePanelContent" spry:region="ds_stats">
                                       <table>
                                            <tr spry:repeatchildren="ds_stations">
                                                 <td width="50"> </td>
                                                 <td width="50">{id}</td>
                                                 <td width="50">{att1}</td>
                                                 <td width="50">{att2}</td>
                                            </tr>
                                       </table>
                                  </div>
                             </div></td>
                   </tr>
              </table>
         </div>
    </div>
    <script type="text/javascript">
    <!--
    var CP_ents = new Spry.Widget.CollapsiblePanel("CP_ents");
    var CP_servs = new Spry.Widget.CollapsiblePanel("CP_servs");
    var CP_conts = new Spry.Widget.CollapsiblePanel("CP_conts");
    var CP_stats = new Spry.Widget.CollapsiblePanel("CP_stats");
    //-->
    </script>
    </body>
    </html>
    and this is the XML data set:
    <?xml version="1.0" encoding="UTF-8"?>
    <ents>
         <ent>
              <id>0</id>
              <att1>pippo</att1>
              <servs>
                   <serv>
                        <id>A</id>
                        <att1>blah</att1>
                        <att2>bla</att2>
                   </serv>
                   <serv>
                        <id>B</id>
                        <att1>bloh</att1>
                        <att2>blo</att2>
                   </serv>
                   <serv>
                        <id>C</id>
                        <att1>bluh</att1>
                        <att2>blu</att2>
                   </serv>
              </servs>
              <conts>
                   <cont>
                        <id>a</id>
                        <att1>hwrtfgh</att1>
                   </cont>
                   <cont>
                        <id>b</id>
                        <att1>asdf</att1>
                   </cont>
              </conts>
              <stats>
                   <stat>
                        <id>1</id>
                        <att1>FDSA</att1>
                        <att2>OIUY</att2>
                   </stat>
                   <stat>
                        <id>2</id>
                        <att1>Bm76g</att1>
                        <att2>87f5r6</att2>
                   </stat>
                   <stat>
                        <id>3</id>
                        <att1>iugy</att1>
                        <att2>TY765</att2>
                   </stat>
                   <stat>
                        <id>4</id>
                        <att1>YT d</att1>
                        <att2>f865f</att2>
                   </stat>
              </stats>
         </ent>
         <ent>
              <id>1</id>
              <att1>pluto</att1>
              <servs>
                   <serv>
                        <id>A</id>
                        <att1>muuh</att1>
                   </serv>
                   <serv>
                        <id>B</id>
                        <att1>mooh</att1>
                   </serv>
                   <serv>
                        <id>C</id>
                        <att1>meeh</att1>
                   </serv>
              </servs>
              <conts>
                   <cont>
                        <id>a</id>
                        <att1>uff</att1>
                   </cont>
                   <cont>
                        <id>b</id>
                        <att1>aff</att1>
                   </cont>
              </conts>
              <stats>
                   <stat>
                        <id>1</id>
                        <att1>KJHGKJGH</att1>
                        <att2>TRSDYTRD</att2>
                   </stat>
                   <stat>
                        <id>2</id>
                        <att1>TRUTFC</att1>
                        <att2>POJNC</att2>
                   </stat>
                   <stat>
                        <id>3</id>
                        <att1>EWZYT</att1>
                        <att2>OUYTFSA</att2>
                   </stat>
                   <stat>
                        <id>4</id>
                        <att1>XGBUI</att1>
                        <att2>IUGDS</att2>
                   </stat>
              </stats>
         </ent>
    </ents>

    Step by step I'm closing in.
    I'm using the {ds_currentRowId} variable to increment the div panel ID (see code below)
    The only issue is that since I have 1 master dataset and three detail dataset nested, I need to calculate the ID, taking the {ds_CurrentRowID} for each dataset and perform some math, to ensure they nicely grow until all the XML is consumed.
    Anyone would be so nice to point me in the right direction?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CPS</title>
         <script src="SpryAssets/xpath.js" type="text/javascript"></script>
         <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
         <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
         <script src="SpryAssets/SpryNestedXMLDataSet.js" type="text/javascript"></script>
         <script type="text/javascript">
         <!--
              var ds_ents = new Spry.Data.XMLDataSet("data/data2.xml", "ents/ent");
              var ds_srvs = new Spry.Data.NestedXMLDataSet(ds_ents, "servs/serv");
              var ds_cnts = new Spry.Data.NestedXMLDataSet(ds_ents, "conts/cont");
              var ds_stts = new Spry.Data.NestedXMLDataSet(ds_ents, "stats/stat");
         //-->
         </script>
         <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
         <link href="css/style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
      <div class="panel" spry:repeat="ds_ents" spry:region="ds_ents ds_cnts ds_srvs ds_stts">
         <script type="text/javascript">
              <!--
              var CP_ents = new Spry.Widget.CollapsiblePanel{ds_ents::ds_CurrentRowID}
              //-->
         </script>
              <div id="CP_ents{ds_ents::ds_CurrentRowID}" class="CollapsiblePanel">
                   <div class="panel-title" tabindex="{ds_ents::ds_CurrentRowID}">
                        <table class="table-title">
                             <tr>
                                  <td width="150">+</td>
                                  <td width="150">{id}</td>
                                  <td width="150">{att1}</td>
                             </tr>
                        </table>
                   </div>
                   <div spry:even="table-even" spry:odd="table-odd">
                        <table>
                             <tr>
                                  <td> </td>
                                  <td>
                                       <script type="text/javascript">
                                            <!--
                                            var CP_srvs = new Spry.Widget.CollapsiblePanel{ds_srvs::ds_CurrentRowID};
                                            var CP_cnts = new Spry.Widget.CollapsiblePanel{ds_cnts::ds_CurrentRowID};
                                            var CP_stts = new Spry.Widget.CollapsiblePanel{ds_srvs::ds_CurrentRowID};
                                            //-->
                                       </script>
                                       <div id="CP_srvs{ds_srvs::ds_CurrentRowID}" class="CollapsiblePanel">
                                            <div class="subtable-title" tabindex="{ds_srvs::ds_CurrentRowID}">
                                                 <table>
                                                      <tr>
                                                           <td width="150">+ srvs</td>
                                                           <td width="150">id</td>
                                                           <td width="150">att1</td>
                                                      </tr>
                                                 </table>
                                            </div>
                                            <div spry:even="subtable-even" spry:odd="subtable-odd">
                                                 <table>
                                                      <tr spry:repeat="ds_srvs">
                                                           <td width="150"> </td>
                                                           <td width="150">{ds_srvs::id}</td>
                                                           <td width="150">{ds_srvs::att1}</td>
                                                      </tr>
                                                 </table>
                                            </div>
                                       </div>
                                       <div id="CP_cnts{ds_cnts::ds_CurrentRowID}" class="subtable">
                                            <div class="subtable-title" tabindex="{ds_cnts::ds_CurrentRowID}">
                                                 <table>
                                                      <tr>
                                                           <td width="150">+ cnts</td>
                                                           <td width="150">id</td>
                                                           <td width="150">att1</td>
                                                           <td width="150">att2</td>
                                                      </tr>
                                                 </table>
                                            </div>
                                            <div spry:even="subtable-even" spry:odd="subtable-odd">
                                                 <table>
                                                      <tr spry:repeat="ds_cnts">
                                                           <td width="150"> </td>
                                                           <td width="150">{ds_cnts::id}</td>
                                                           <td width="150">{ds_cnts::att1}</td>
                                                           <td width="150">{ds_cnts::att2}</td>
                                                      </tr>
                                                 </table>
                                            </div>
                                       </div>
                                       <div id="CP_stts{ds_stts::ds_CurrentRowID}" class="CollapsiblePanel">
                                            <div class="subtable-title" tabindex="{ds_stts::ds_CurrentRowID}">
                                                 <table>
                                                      <tr>
                                                           <td width="150">+ stats</td>
                                                           <td width="150">id</td>
                                                           <td width="150">att1</td>
                                                           <td width="150">att2</td>
                                                      </tr>
                                                 </table>
                                            </div>
                                            <div spry:even="subtable-even" spry:odd="subtable-odd">
                                                 <table>
                                                      <tr spry:repeat="ds_stts">
                                                           <td width="150"> </td>
                                                           <td width="150">{ds_stts::id}</td>
                                                           <td width="150">{ds_stts::att1}</td>
                                                           <td width="150">{ds_stts::att2}</td>
                                                      </tr>
                                                 </table>
                                            </div>
                                       </div>
                                  </td>
                             </tr>
                        </table>
                   </div>
              </div>
         </div>
    </body>
    </html>

  • ADF master-detail master selection not updating detail tables properly

    Hi All,
    I am using JDev version : 11.1.2.0.0
    I created new Fusion Web Application Module. In that module I created a master-detail data model and added them to a page fragment with a query panel. When I run it as a separate module, It works perfectly and Master selection correctly updates detail tables.
    But when I integrate that module to another Fusion Application(Add application jar file to the Master Application libraries), Master-details master selection not updating detail tables properly. This problem occurred sequentially.
    The problem is that.
    After the page load, first selection of the Master Table works correctly and detail tables update correctly.
    But second selection doesn't work, means detail table doesn't get update according to the Master table.
    And again in the third selection works correctly.
    This happens in a sequential manner. I monitor the behavior using Firebug. Observations are as follows,
    When running correctly, Response of the Post Definition is
    <?xml version="1.0" ?> <partial-response><changes><update id="pt1:t1"><![CDATA[<div tabindex="0" id="pt1:t1" class="xpa xpi" _leafColClientIds="['pt1:t1:c1','pt1:t1:c2','pt1:t1:c3','pt1:t1:c4','pt1:t1:c5','pt1:t1:c6','pt1:t1:c7','pt1:t1:c8','pt1:t1:c9','pt1:t1:c10','pt1:t1:c11','pt1:t1:c12','pt1:t1:c13']"><div id="pt1:t1::ch" style="overflow:hidden;position:relative;width:1365px;" _afrColCount="13" class="xz4"><table class="xz6" summary="This table contains column headers corresponding to the data body table below" id="pt1:t1::ch::t" style="position:relative;table-layout:fixed;width:1365px" cellspacing="0"><tr><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th></tr><tr><th id="pt1:t1:c1" _d_index="0" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c1::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">DateFormat</div></th><th id="pt1:t1:c2" _d_index="1" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c2::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">DefinisionId</div></th><th id="pt1:t1:c3" _d_index="2" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c3::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldId</div></th><th id="pt1:t1:c4" _d_index="3" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c4::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldLabel</div></th><th id="pt1:t1:c5" _d_index="4" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c5::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldLength</div></th><th id="pt1:t1:c6" _d_index="5" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c6::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldOffset</div></th><th id="pt1:t1:c7" _d_index="6" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c7::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldOrder</div></th><th id="pt1:t1:c8" _d_index="7" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c8::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldStatus</div></th><th id="pt1:t1:c9" _d_index="8" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c9::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldType</div></th><th id="pt1:t1:c10" _d_index="9" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c10::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldTypeLen</div></th><th id="pt1:t1:c11" _d_index="10" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c11::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">IgnoreField</div></th><th id="pt1:t1:c12" _d_index="11" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c12::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">IsMandatory</div></th><th id="pt1:t1:c13" _d_index="12" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c13::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">RecordType</div></th></tr></table></div><div id="pt1:t1::db" class="xyx" style="position:relative;width:100%;overflow:hidden" _afrColCount="13"></div><div id="pt1:t1::sm" class="xzt" style="position:absolute;display:none"></div><div id="pt1:t1::ri" class="xyz" style="position:absolute;display:none;overflow:hidden"></div><div id="pt1:t1::dataW" style="display:none"></div></div>]]></update><update id="f1::postscript"><![CDATA[<span id="f1::postscript"><span id="f1::postscript:st"><input type="hidden" name="javax.faces.ViewState" value="!-75cc188st"></span></span>]]></update><update id="d1::iconC"><![CDATA[<span id="d1::iconC" style="display:none"><span id="af_table::disclosed-icon"></span><span id="af_table::undisclosed-icon"></span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!-75cc188st]]></update><eval><![CDATA[AdfPage.PAGE.__handleRichResponseAction('/MillenniumCSD-ViewController-context-root/faces/FileDefinition?_adf.ctrl-state=cmpl0ptfg_7');]]></eval><eval><![CDATA[AdfPage.PAGE.sendStreamingRequest("pt1:t1");]]></eval><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/dnd-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/nav-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/menu-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/table-SHERMAN-1147.js</extension><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/jquery-1.7.1.min.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/dis_contx.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/js/floating_bar_bottom.js');</eval><eval>if(self.window.name != "MillenniumDepository"){   self.location = "mcsd.html";   }</eval><eval><![CDATA[AdfDhtmlLookAndFeel.addSkinProperties({"af|table-tr-column-scroll-animation-duration":"300","af|table-tr-column-reorder-animation-duration":"600","af|table-tr-hover-highlight-row":"true"});AdfPage.PAGE.addComponents(new AdfRichTable('pt1:t1',{'rowSelection':'single','rowBandingInterval':0,'editingMode':'none','afrSelListener':true}),new AdfRichColumn('pt1:t1:c1',{'sortProperty':'DateFormat','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c2',{'sortProperty':'DefinisionId','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c3',{'sortProperty':'FieldId','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c4',{'sortProperty':'FieldLabel','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c5',{'sortProperty':'FieldLength','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c6',{'sortProperty':'FieldOffset','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c7',{'sortProperty':'FieldOrder','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c8',{'sortProperty':'FieldStatus','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c9',{'sortProperty':'FieldType','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c10',{'sortProperty':'FieldTypeLen','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c11',{'sortProperty':'IgnoreField','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c12',{'sortProperty':'IsMandatory','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c13',{'sortProperty':'RecordType','sortable':true,'minimumWidth':12,'rowHeader':false}));AdfPage.PAGE.__recordSessionTimeout(1800000, 120000, "http://127.0.0.1:7101/MillenniumCSD-ViewController-context-root/faces/FileDefinition");AdfPage.PAGE.__initPollingTimeout(600000);AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:t1');AdfPage.PAGE.clearSubtreeMessages('pt1:resId1');]]></eval></changes></partial-response>
    When not running correctly, Response of the Post Definition is
    <?xml version="1.0" ?> <partial-response><changes><update id="f1::postscript"><![CDATA[<span id="f1::postscript"><span id="f1::postscript:st"><input type="hidden" name="javax.faces.ViewState" value="!-75cc188st"></span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!-75cc188st]]></update><eval><![CDATA[AdfPage.PAGE.__handleRichResponseAction('/MillenniumCSD-ViewController-context-root/faces/FileDefinition?_adf.ctrl-state=cmpl0ptfg_7');]]></eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/jquery-1.7.1.min.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/dis_contx.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/js/floating_bar_bottom.js');</eval><eval>if(self.window.name != "MillenniumDepository"){   self.location = "mcsd.html";   }</eval><eval><![CDATA[AdfPage.PAGE.__recordSessionTimeout(1800000, 120000, "http://127.0.0.1:7101/MillenniumCSD-ViewController-context-root/faces/FileDefinition");AdfPage.PAGE.__initPollingTimeout(600000);AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:t1');AdfPage.PAGE.clearSubtreeMessages('pt1:resId1');]]></eval></changes></partial-response>
    I could not figure out what went wrong when integrating to another module.
    Can you please help me to rectify this problem.
    Thanks
    dk

    Hi,
    sound to be an implementation specific issue that is hard to comment on without knowing how to reproduce it. If you have a rerooducible test case based on the Oracle HR schema using JDeveloper 11.1.1.6, zip it up, rename the "zip "extension to "unzip" and sent it to the mail address you find in my OTN profile. If you don't have that test case, explain how this can be reproduced
    Frank

  • How to save data after clicking checkbox  stored in database table

    TYPE-pools: slis.
    tables:mkpf,mseg,mard.
    TYPES: BEGIN OF tp_data,
          mblnr LIKE mseg-mblnr,
         matnr LIKE mseg-matnr,
         werks LIKE mard-werks,
         lgort LIKE mard-lgort,
         lgpbe LIKE mard-lgpbe,
         charg LIKE mseg-charg,
         bwart LIKE mseg-bwart,
         budat LIKE mkpf-budat,
         menge LIKE mseg-menge,
         meins LIKE mseg-meins,
         kostl LIKE mseg-kostl,
         aufnr LIKE mseg-aufnr,
         rsnum LIKE mseg-rsnum,
         checkbox TYPE c,
      __mark,
    END OF tp_data,
    tp_tbl_data TYPE STANDARD TABLE OF tp_data.
    Constants
    Data objects (variable declarations and definitions)
    Report data to be shown.
    DATA: it_data TYPE STANDARD TABLE OF tp_data.
    Heading of the report.
    DATA: t_heading TYPE slis_t_listheader.
    ========================== Selection Screen ==========================
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:smblnr FOR mseg-mblnr MODIF ID m1,
                   smatnr FOR mseg-matnr MODIF ID m2,
                   swerks FOR mard-werks MODIF ID m3,
                   slgort FOR mard-lgort MODIF ID m4,
                   slgpbe FOR mard-lgpbe MODIF ID m5,
                   scharg FOR mseg-charg MODIF ID m6,
                   sbwart FOR mseg-bwart MODIF ID m7,
                   skostl FOR mseg-kostl MODIF ID m8,
                   saufnr FOR mseg-aufnr MODIF ID m9,
                   srsnum FOR mseg-rsnum MODIF ID m10.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:pre RADIOBUTTON GROUP radi USER-COMMAND ucomm DEFAULT 'X',
               pse RADIOBUTTON GROUP radi,
               bps RADIOBUTTON GROUP radi.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETER:layout TYPE i.
    SELECTION-SCREEN END OF BLOCK b3.
    =========================== Event Blocks =============================
    AT selection-SCREEN.
    start-OF-selection.
    PERFORM get_data USING it_data.
    END-OF-selection.
    PERFORM build_alv USING it_data t_heading.
    =========================== Subroutines ==============================
    *&      Form  get_data
          Gets the information to be shown in the report.
    FORM get_data USING t_data TYPE tp_tbl_data.
      SELECT msegmblnr msegmatnr mardwerks mardlgort mardlgpbe msegcharg msegbwart mkpfbudat
        msegmenge  msegmeins msegkostl msegaufnr mseg~rsnum
      INTO CORRESPONDING FIELDS OF TABLE t_data
      FROM mseg
      JOIN mard ON mardmatnr EQ msegmatnr
                   JOIN mkpf ON msegmblnr EQ mkpfmblnr
                   WHERE mseg~matnr IN smatnr.
    ENDFORM.                    " get_data
    *&      Form  build_alv
          Builds and display the ALV Grid.
    FORM build_alv USING t_data TYPE tp_tbl_data
          t_heading  TYPE slis_t_listheader.
    ALV required data objects.
      DATA: w_title   TYPE lvc_title,
            w_comm    TYPE slis_formname,
            w_status  TYPE slis_formname,
            x_layout  TYPE slis_layout_alv,
            t_event    TYPE slis_t_event,
            t_fieldcat TYPE slis_t_fieldcat_alv,
            t_sort     TYPE slis_t_sortinfo_alv.
      REFRESH t_fieldcat.
      REFRESH t_event.
      REFRESH t_sort.
      CLEAR x_layout.
      CLEAR w_title.
    Field Catalog
      PERFORM set_fieldcat2 USING:
            1 'MBLNR' 'MBLNR' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
            2 'MATNR' 'MATNR' 'MSEG' space space space space space space space space space space space space  t_fieldcat ,
            3 'WERKS' 'WERKS' 'MARD' space space space space space space space space space space space space  t_fieldcat,
            4 'LGORT' 'LGORT' 'MARD' space space space space space space space space space space space space t_fieldcat ,
            5 'LGPBE' 'LGPBE' 'MARD' space space space space space space space space space space space space t_fieldcat ,
            6 'CHARG' 'CHARG' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
            7 'BWART' 'BWART' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            8 'BUDAT' 'BUDAT' 'MKPF' space  space space space space space space space space space space space t_fieldcat,
            9 'MENGE' 'MENGE' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            10 'MEINS' 'MEINS' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            11 'KOSTL' 'KOSTL' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            12 'AUFNR' 'AUFNR' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            13 'RSNUM' 'RSNUM' 'MSEG' space  space space space space space space space space space space space t_fieldcat,
            14 '__MARK' 'XFELD' space space space 'Select' 'Select this row' 'Sel' 'Select this row' space space space 'X' 'X' space t_fieldcat.
    Layout
      x_layout-zebra = 'X'.
    Top of page heading
      PERFORM set_top_page_heading USING t_heading t_event.
    Events
      PERFORM set_events USING t_event.
    GUI Status
      w_status = ''.
    User commands
      w_comm   = 'USER_COMMAND'.
    Order
    Example
    PERFORM set_order USING '<field>' 'IT_DATA' 'X' space space t_sort.
    PERFORM set_order USING 'LIFNR' 'IT_DATA' 'X' space 'X' t_sort.
    PERFORM set_order USING 'EBELN' 'IT_DATA' 'X' space 'X' t_sort.
    PERFORM set_order USING 'EBELP' 'IT_DATA' 'X' space space t_sort.
    Displays the ALV grid
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program       = sy-repid
        it_fieldcat              = t_fieldcat
        is_layout                = x_layout
        it_sort                  = t_sort
        i_callback_pf_status_set = w_status
        i_callback_user_command  = w_comm
        i_save                   = 'X'
        it_events                = t_event
        i_grid_title             = w_title
      TABLES
        t_outtab                 = t_data
      EXCEPTIONS
        program_error            = 1
        OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " build_alv.
    *&      Form  set_top_page_heading
          Creates the report headings.
    FORM set_top_page_heading USING t_heading TYPE slis_t_listheader
          t_events  TYPE slis_t_event.
      DATA: x_heading TYPE slis_listheader,
            x_event   TYPE LINE OF slis_t_event.
    Report title
      CLEAR t_heading[].
      CLEAR x_heading.
      x_heading-typ = 'H'.
      x_heading-info = 'Reporte Prueba'(001).
      APPEND x_heading TO t_heading.
    Program name
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Program: '.
      x_heading-info = sy-repid.
      APPEND x_heading TO t_heading.
    User who is running the report
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'User: '.
      x_heading-info = sy-uname.
      APPEND x_heading TO t_heading.
    Date of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Date: '.
      WRITE sy-datum TO x_heading-info.
      APPEND x_heading TO t_heading.
    Time of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Time: '.
      WRITE sy-uzeit TO x_heading-info.
      APPEND x_heading TO t_heading.
    Top of page event
      x_event-name = slis_ev_top_of_page.
      x_event-FORM = 'TOP_OF_PAGE'.
      APPEND x_event TO t_events.
    ENDFORM.
    *&      Form  set_events
          Sets the events for ALV.
          The TOP_OF_PAGE event is alredy being registered in
          the set_top_page_heading subroutine.
    FORM set_events USING t_events TYPE slis_t_event.
      DATA: x_event   TYPE LINE OF slis_t_event.
    Example
    clear x_event.
    x_event-name = .
    x_event-form = .
    append x_event to t_event.
    ENDFORM.
    *&      Form  set_order
          Adds an entry to the order table.
    FORM set_order USING p_fieldname p_tabname p_up p_down p_subtot
          t_sort TYPE slis_t_sortinfo_alv.
      DATA: x_sort TYPE slis_sortinfo_alv.
      CLEAR x_sort.
      x_sort-fieldname = p_fieldname.
      x_sort-tabname   = p_tabname.
      x_sort-UP = p_up.
      x_sort-down = p_down.
      x_sort-subtot = p_subtot.
      APPEND x_sort TO t_sort.
    ENDFORM.                    "set_order
    *&      Form  set_fieldcat2
          Adds an entry to the field catalog.
    FORM set_fieldcat2 USING p_colpos p_fieldname p_ref_fieldname p_ref_tabname
          p_outputlen p_noout
          p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
          p_hotspot p_showasicon p_checkbox p_edit
          p_dosum
          t_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      CLEAR wa_fieldcat.
    General settings
      wa_fieldcat-fieldname = p_fieldname.
      wa_fieldcat-col_pos = p_colpos.
      wa_fieldcat-no_out = p_noout.
      wa_fieldcat-HOTSPOT = p_hotspot.
      wa_fieldcat-CHECKBOX = p_checkbox.
      wa_fieldcat-ICON = p_showasicon.
      wa_fieldcat-do_sum = p_dosum.
    Set reference fieldname, tablenam and rollname.
    If p_ref_tabname is not given, the ref_fieldname given is a data element.
    If p_ref_tabname is given, the ref_fieldname given is a field of a table. In case ref_fieldname is not given, it is copied from the fieldname.
      IF p_ref_tabname IS INITIAL.
        wa_fieldcat-rollname =   p_ref_fieldname.
      ELSE.
        wa_fieldcat-ref_tabname = p_ref_tabname.
        IF p_ref_fieldname EQ space.
          wa_fieldcat-ref_fieldname =   wa_fieldcat-fieldname.
        ELSE.
          wa_fieldcat-ref_fieldname =   p_ref_fieldname.
        ENDIF.
      ENDIF.
    Set output length.
      IF NOT p_outputlen IS INITIAL.
        wa_fieldcat-outputlen = p_outputlen.
      ENDIF.
    Set text headers.
      IF NOT p_seltext_m IS INITIAL.
        wa_fieldcat-seltext_m = p_seltext_m.
      ENDIF.
      IF NOT p_seltext_l IS INITIAL.
        wa_fieldcat-seltext_l = p_seltext_l.
      ENDIF.
      IF NOT p_seltext_s IS INITIAL.
        wa_fieldcat-seltext_s = p_seltext_s.
      ENDIF.
      IF NOT p_reptext_ddic IS INITIAL.
        wa_fieldcat-reptext_ddic = p_reptext_ddic.
      ENDIF.
      IF NOT p_ddictxt IS INITIAL.
        wa_fieldcat-ddictxt = p_ddictxt.
      ENDIF.
    Set as editable or not.
      IF p_edit IS NOT INITIAL.
        wa_fieldcat-INPUT     = 'X'.
        wa_fieldcat-EDIT     = 'X'.
      ENDIF.
      APPEND wa_fieldcat TO t_fieldcat.
    ENDFORM.                   "set_fieldcat2
    =========================== Subroutines called by ALV ================
    *&      Form  top_of_page
          Called on top_of_page ALV event.
          Prints the heading.
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        i_logo             = 'XXXXX'
        it_list_commentary = t_heading.
    ENDFORM.                    " alv_top_of_page
    *&      Form  user_command
          Called on user_command ALV event.
          Executes custom commands.
    FORM user_command USING r_ucomm     LIKE sy-ucomm
          rs_selfield TYPE slis_selfield.
    Example Code
    Executes a command considering the sy-ucomm.
    CASE r_ucomm.
       WHEN '&IC1'.
         Set your "double click action" response here.
         Example code: Create and display a status message.
         DATA: w_msg TYPE string,
               w_row(4) TYPE n.
         w_row = rs_selfield-tabindex.
         CONCATENATE 'You have clicked row' w_row
                     'field' rs_s lfield-fieldname
                     'with value' rs_selfield-value
                     INTO w_msg SEPARATED BY space.
         MESSAGE w_msg TYPE 'S'.
    ENDCASE.
    End of example code.
    LOOP AT T_DATA.
    IF  it_data-__MARK EQ 'X'.
    insert ztable.
    ENDIF.
    ENDLOOP.
    ENDFORM.                    "user_command
    ur sending code loop is error ,plz check that one  after checking send me

    Hi,
    After displaying ALV report output, if you want to update database table based on your selected record, then use the below logic in your User_command subroutine.
    You will get the index of the selected record in rs_selfield-tabindex. using this index read the respective record from the internal table and move corresponding field to the table fields and then update.
    data : wa_data like t_data.
    read table t_data index rs_selfield-tabindex into wa_data.
    if sy-subrc = 0.
       move-corresponding wa_data to ztable.
       insert ztable.
    endif.
    thanks,
    sksingh

  • Access af:table values from JavaScript array (for google maps task)

    Hi!
    I have JSP page with af:table where latitude and longitude for google maps are stored. I am using these tutorial [https://blogs.oracle.com/middleware/entry/integrating_google_maps_with_adf] and I know how to access latitude and longitude from output text (for one point). Now i need to do something similar with loop for all table rows. How can I achieve this?
    I have JavaScript code which uses Google Maps API and can display many points on one map. Also I have longitude and latitude data in af:table (bindings), each table row has one point. My task is to take data from af:table and pass it to JavaScript.
    May be it is better to use managed bean as you said. Firstly I will access binding data from managed bean. Then I have to pass this data to JavaScript method? Can you suggest some example? I have "Using JavaScript in ADF Faces Rich Client Applications"

    My table is there :
    <af:table value="#{bindings.LocView1.collectionModel}" var="row"
                                  rows="#{bindings.LocView1.rangeSize}"
                                  emptyText="#{bindings.LocView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                  fetchSize="#{bindings.LocView1.rangeSize}" rowBandingInterval="0"
                                  filterModel="#{bindings.LocView1Query.queryDescriptor}"
                                  queryListener="#{bindings.LocView1Query.processQuery}" filterVisible="true" varStatus="vs"
                                  selectedRowKeys="#{bindings.LocView1.collectionModel.selectedRow}"
                                  selectionListener="#{bindings.LocView1.collectionModel.makeCurrent}" rowSelection="single"
                                  id="t1">
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffOffCode.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffOffCode.label}" id="c1">
                                <af:outputText value="#{row.SoffOffCode}" clientComponent="true" id="ot1"/>
                            </af:column>
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffCode.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffCode.label}" id="c2">
                                <af:outputText value="#{row.SoffCode}" id="ot2"/>
                            </af:column>
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffLat.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffLat.label}" id="c3">
                                <af:outputText value="#{row.SoffLat}" clientComponent="true" id="ot3"/>
                            </af:column>
                            <af:column clientComponent="true" sortProperty="#{bindings.LocView1.hints.SoffLng.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffLng.label}" id="c4">
                                <af:outputText value="#{row.SoffLng}" clientComponent="true" id="ot4"/>
                            </af:column>
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffZoom.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffZoom.label}" id="c5">
                                <af:outputText value="#{row.SoffZoom}" id="ot5"/>
                            </af:column>
                        </af:table>
    Javascript code:
    alert(document.getElementById("t1"));
    Result:
    [object HTMLDivElement];
    And
    alert(document.getElementById("t1").innerHTML);
    Result:
    <div id="t1::ch" style="overflow: hidden; position: relative; width: 366px;" _afrcolcount="5" class="xzg"><table class="xzi" summary="This table contains column headers corresponding to the data body table below" id="t1::ch::t" style="position:relative;table-layout:fixed;width:525px" cellspacing="0"><tbody><tr><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th></tr><tr><th _d_index="0" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc1" class="x1u"><input id="t1:_afrFltrc1::content" name="t1:_afrFltrc1" class="x25" type="text"></span></th><th _d_index="1" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc2" class="x1u"><input id="t1:_afrFltrc2::content" name="t1:_afrFltrc2" class="x25" type="text"></span></th><th _d_index="2" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc3" class="x1u"><input id="t1:_afrFltrc3::content" name="t1:_afrFltrc3" class="x25" type="text"></span></th><th _d_index="3" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc4" class="x1u"><input id="t1:_afrFltrc4::content" name="t1:_afrFltrc4" class="x25" type="text"></span></th><th _d_index="4" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc5" class="x1u"><input id="t1:_afrFltrc5::content" name="t1:_afrFltrc5" class="x25" type="text"></span></th></tr><tr><th id="t1:c1" _d_index="0" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c1::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffOffCode</div></th><th id="t1:c2" _d_index="1" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c2::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffCode</div></th><th id="t1:c3" _d_index="2" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c3::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffLat</div></th><th id="t1:c4" _d_index="3" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c4::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffLng</div></th><th id="t1:c5" _d_index="4" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c5::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffZoom</div></th></tr></tbody></table></div><div id="t1::db" class="xz9" style="position: relative; width: 366px; overflow: hidden; height: 521px; z-index: 1;" _afrcolcount="5"><table class="xza x102" style="table-layout:fixed;position:relative;width:525px;" _totalwidth="525" _selstate="{'0':true}" _rowcount="179" _startrow="0" cellspacing="0"><tbody><tr _afrrk="0" class="xzy p_AFSelected"><td style="width:100px;" class="xzv" nowrap="nowrap"><span id="t1:0:ot1">26</span></td><td style="width:100px;" class="xzv" nowrap="nowrap">01</td><td style="width:100px;" class="xzv" nowrap="nowrap"><span id="t1:0:ot3">47.90782714384932</span></td><td style="width:100px;" class="xzv" nowrap="nowrap"><span id="t1:0:ot4">106.88643654861448</span></td><td style="width:100px;" class="xzv" nowrap="nowrap">15</td></tr><tr _afrrk="1" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:1:ot1">26</span></td><td class="xzv" nowrap="nowrap">02</td><td class="xzv" nowrap="nowrap"><span id="t1:1:ot3">47.91542113773543</span></td><td class="xzv" nowrap="nowrap"><span id="t1:1:ot4">106.88540658035276</span></td><td class="xzv" nowrap="nowrap">15</td></tr><tr _afrrk="2" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:2:ot1">26</span></td><td class="xzv" nowrap="nowrap">03</td><td class="xzv" nowrap="nowrap"><span id="t1:2:ot3">47.90768330745696</span></td><td class="xzv" nowrap="nowrap"><span id="t1:2:ot4">106.89544877090452</span></td><td class="xzv" nowrap="nowrap">15</td></tr><tr _afrrk="3" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:3:ot1">26</span></td><td class="xzv" nowrap="nowrap">04</td><td class="xzv" nowrap="nowrap"><span id="t1:3:ot3">47.90716549312801</span></td><td class="xzv" nowrap="nowrap"><span id="t1:3:ot4">106.86879834213255</span></td><td class="xzv" nowrap="nowrap">14</td></tr><tr _afrrk="4" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:4:ot1">26</span></td><td class="xzv" nowrap="nowrap">05</td><td class="xzv" nowrap="nowrap"><span id="t1:4:ot3">47.89841940184846</span></td><td class="xzv" nowrap="nowrap"><span id="t1:4:ot4">106.82674130477903</span></td><td class="xzv" nowrap="nowrap">13</td></tr><tr _afrrk="5" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:5:ot1">26</span></td><td class="xzv" nowrap="nowrap">06</td><td class="xzv
    .etc
    Javascript:  alert(document.getElementById("t1:121:ot3").innerHTML); this retrieve in value
    But only 50 rows in this result. I have many rows. How I can get all???

Maybe you are looking for

  • Encountered SQL Developer Error 'Can't Start because MSVCR71.dll is missing

    Hello, Thanks for looking at this entry I have an older version of SQL developer and it suddenly won't run with the following error 'Can't Start because MSVCR71.dll is missing from your computer. Try reinstalling the program.........' And it is indee

  • JDBC Error with SQL Server

    I created another post asking about this but cannot find it. I had a perfiectly good piece of JDBC code working in a freestanding program that could retrieve a result of any size without issue. However, when I ran the same code from a servlet in Tomc

  • Error While Configuring DB adapter in Admin Server

    Hello All, i am unable to configure the DB adapter 's settings in the Console. DBAdapter->Configuration->outbound Connection Pools -> There was an error reading the descriptor files. Errors occured while initializing a new deployment plan. [J2EE Depl

  • Moving sliders in CS6 with the mouse wheel?

    In CS3 after clicking onto the slider "triangle" I can then adjust it with the mouse wheel.  I don't appear to be able to do this in CS6.  Can this be remedied?

  • Web positioning

    Web positioning : We make that your website appears between the first results of google, Yahoo, Msn, etc on the search keywords you need. • Position your website on the first places of the search engines. • Make lots of visits to your website. Search