Width of phtmlb:ganttChart

I just inserted a phtmlb:ganttChart into my WebAS application. Cool stuff.
Now, I wonder how to set the width of the chart.
In my case, the chart is inserted into a table, which has width="100%". If the time frame that is shown in the chart is too big to fit on my screen, then everything that does not fit on the screen is cut off and no scrollbars are shown. The same happens is the height of the chart gets too big for my screen (too many rows). Then, the rows at the bottom are cut off as well.

Hi Singh,
here is the code i used. hope it's helpful.
  <table width="100%" cellpadding="1" cellspacing="0" border="0">
    <tr>
      <td>
        <xhtmlb:overflowContainer id     = "ovfGanttMilestones"
                                  mode   = "SCROLL_WITH_REPOSITION"
                                  width  = "99%"
                                  height = "400px" >
        <phtmlb:ganttChart  id               = "ganttMilestonesGraphic"
                            background       = "GRID"
                            displayWeekends  = "HIGH_LIGHTED"
                            rangeStartDate   = "<%= controller->mv_start_date_gantt%>"
                            rangeEndDate     = "<%= controller->mv_end_date_gantt%>"
                            rangeRows        = "<%= LINES( lt_milestones ) + 1%>"
                            rangeType        = "<%= controller->mv_range_type%>"
                            onRangeDown      = "ganttRangeDown"
                            onRangeUp        = "ganttRangeUp"
                            validate         = "true" >
<%-- make header columns  --%>
        <% IF lt_milestones IS NOT INITIAL. %>
        <phtmlb:ganttChartHierarchy row   = "1"  collapsed = "FALSE" />
        <% ENDIF. %>
        <phtmlb:ganttChartTextColumn title = "Nr" width="4"/>
          <phtmlb:ganttChartText   row              = "1"
                                   text             = " "
                                   bold             = "true"
                                   indentationLevel = "0"   />
        <% LOOP AT lt_milestones ASSIGNING <fs>. %>
            <phtmlb:ganttChartText row              = "<%= sy-tabix + 1 %>"
                                   text             = "<%=<fs>-mlstn%>"
                                   indentationLevel = "1"   />
        <% ENDLOOP.%>
        <%-- text column 2--%>
        <phtmlb:ganttChartTextColumn title = "Start" width="11"/>
          <phtmlb:ganttChartText   row              = "1"
                                   text             = "Milestones"
                                   bold             = "true"
                                   />
        <% LOOP AT lt_milestones ASSIGNING <fs>. %>
            <phtmlb:ganttChartText row              = "<%= sy-tabix + 1 %>"
                                   text             = "<%= <fs>-mlstxt%>"
                                   />
        <% ENDLOOP.%>
        <%-- text column 3--%>
        <phtmlb:ganttChartTextColumn title = "End" width="11"/>
          <phtmlb:ganttChartText   row              = "1"
                                   text             = " "
                                   bold             = "true"
                                   />
        <% LOOP AT lt_milestones ASSIGNING <fs>. %>
            <phtmlb:ganttChartText row              = "<%= sy-tabix + 1 %>"
                                   text             = "<%=<fs>-mlstxt_end%>"
                                   />
        <% ENDLOOP.%>
<%-- now show ganttChart-Elements for milestones --%>
        <% LOOP AT lt_special_milestones ASSIGNING <fs>. %>
          <% IF <fs>-mlst_datum_end IS INITIAL. %>
              <phtmlb:ganttChartActivity row       = "<%= sy-tabix + 1 %>"
                                         startDate = "<%= <fs>-mlst_datum %>"
                                         endDate   = "<%= <fs>-mlst_datum %>"
                                         text      = "<%= <fs>-mlstxt %>"
                                         type      = "MILESTONE"
                                         color     = "GROUP1" />
          <% ELSE.%>
              <phtmlb:ganttChartActivity row       = "<%= sy-tabix + 1 %>"
                                         startDate = "<%= <fs>-mlst_datum %>"
                                         endDate   = "<%= <fs>-mlst_datum_end %>"
                                         text      = "<%= <fs>-mlstxt %>"
                                         type      = "DEFAULT"
                                         color     = "GROUP1" />
          <% ENDIF. %>
        <% ENDLOOP.%>
        </phtmlb:ganttChart>
        </xhtmlb:overflowContainer>
      </td>
    </tr>
    <tr>

Similar Messages

  • phtmlb:ganttchart. and "click to activate"

    ok, i get the reason. the security context of the IE blocks objects from being enabled automatic. i know of several ways to use javascript to load the controls from an external page that is then included in the main page.
    i use this to render things like OWC controls and the like without having to worry about the "click to activate".
    is there a way to get this working for the <phtmlb:ganttchart>. its beyond application breaking that you have to activate the control, and every click in the control reloads the page hence you have to reactivate the control over and over. very frustrating for the users if your making an interactive calender control.
    is there a way of fixing this that you found?

    oh well. decided i did want the ganttchart rendered with the svg graphics so did a reimplementation of the phtmlb:ganntchart solution, correcting the issues with the click to activate and few other nice things i wanted to include.
    if anyone wants to se how :
    origianl :
    CONCATENATE '<embed src="' dataurl '" height="'
                  chartheight
                  'px" width="'
                  chartwidth
                  'px" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/">'
                  '</embed>'
             INTO html.
    me->print_string( html ).
    Interaction parameters
    iparameters = 'Test'.
      concatenate '<input type="hidden" name="'
                  iparameters_name
                  '" value="'
                  iparameters
                  '">'
             into html.
      me->print_string( html ).
    modified :
    CONCATENATE '<embed src="' dataurl '" height="'
                  chartheight
                  'px" width="'
                  chartwidth
                  'px" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/">'
                  '</embed>'
             INTO html.
    me->print_string( html ).
    Interaction parameters
    iparameters = 'Test'.
      concatenate '<input type="hidden" name="'
                  iparameters_name
                  '" value="'
                  iparameters
                  '">'
             into html.
      me->print_string( html ).
      concatenate '<input type="hidden" name="url" value="' dataurl '">' into html.
      me->print_string( html ).
    CONCATENATE '<DIV><script src="gantt.js?url=' dataurl '&width=' chartwidth ' &height=' chartheight '">' '</script></DIV>' into html.
      me->print_string( html ).
    basically i removed the rendering of the object in the page, and passed the parameters to a js page that will do the rendering for me,
    gantt.js simply contains this in essense.
    document.write('<embed src="<%=dataurl %>" height="<%=chartheight%>px" width="<%=chartwidth%>px" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/">');
    document.write('</embed>');
    so render the object in the external file, include it in the reimpemented phtmlb extension and voila you got a ganttchart that works without the click to activate problem.

  • Phtmlb:ganttChart without svg

    Hi all,
    Is there any way to implement a click-enable Gantt Char,
    without forcing the users to install the sgv viewer?
    Maybe another tag, that generates the same kind of object?
    Thanks and Best Regards,
    Paulo Ruivo

    Hi all,
    Is there any way to implement a click-enable Gantt Char,
    without forcing the users to install the sgv viewer?
    Maybe another tag, that generates the same kind of object?
    Thanks and Best Regards,
    Paulo Ruivo

  • Retrieve ICM url

    hi, is there a way to retrieve the url of an ICM cached object, if you 'lost it'.
    background. activex controls are blocked in IE these days preventing then to run without user 'click to activate and use this control'. that ruins most of the interaction you can get from controls specially if the page has to be reloaded as the control will then have to be reactivated each time.
    this is specific for the phtmlb:ganttChart rendering that this happens.
    however there might be an easy fix. during the rendering of the control it puts the svg graphic file in the ICM cache, then renders it on the current page like this :
    <embed src="/sap/bc/bsp/sap/sbspext_phtmlb/238084D3CD28DA4687A0FD58332F4374.svg" height="
          298
          px" width="
          657
          px" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/"></embed>
    what i would do, would be to grab that svg file, put it into a js script and then embed that on my page instead. that would eliminate the click to active issue (known workaroudn that works on any type of active x control).
    so ... how do i get a hold of the url that is in the ICM cache. i can se its there with the monitor, is there any way to retireve it, something that binds it to my current IE session or something.
    anyone got any suggestions?

    recoded the phtmlb extension to fit my needs. no need to read out the ICM path anymore.
    there is another post showing how that was done.
    Message was edited by: Christian Hasselbalch

  • htmlb:fileupload goes into infinite loop

    Hello all,
    We use the tag <htmlb:fileupload> in our bsp page. Now if the user enters a file name directly, ie:without using the browse button the user simply enters a filename, say 'Resume.doc' in the input field and hits the save button on the page, then the system is going into an infinite loop and the system hangs, the users cannot proceed further and they need to restart the browser all over again(it is not necessary that the file must exist in the system, the user just types in a file name and performs the save action). This is a cause of concern for some of our customers, they expect that we should provide a meaningful message to the user and the processing should end. Is this a known issue in BSPs ?? Can anyone suggest me how to get rid of this problem ?
    Thanks and Best Regards,
    Viqar Ali.

    Hello All,
    I use the following code in my bsp:
    <phtmlb:matrix width="100%" >
      <phtmlb:matrixCell row = "1"
                         col = "1" />
        <phtmlb:formLayout design           = "HEADING_ONLY_SOLID"
                           customizationKey = "<%= controller->context %>" >
        <%-- Upload --%>
        <phtmlb:formLayoutItem label    = "<%= controller->file_label %>"
                               idOfItem = "upload" >
          <htmlb:fileUpload id   = "upload"
                            size = "30" />
        </phtmlb:formLayoutItem>
    Everything works fine if the user selects a file using the browse button to select a file. Instead if the user enters a file name directly, then the system runs into an infinite loop. I have put a breakpoint in DO_HANDLE_DATA & DO_REQUEST of the controller class. However the control doesnt come till this point also and i cannot even debug anything. The breakpoints are hit if the user selects the file using the browse button. If anyone has a similar scenario working correctly in their application pls update me with the code.
    Thanks and Best Regards,
    Viqar Ali.

  • E-Recruiting - Flexibilization of Personnal settings App

    Hi Sap Gurus,
    I have tried to hide the "Decimal Display" field of Personnal Settings BSP application by adding the entry of it in view VRCFPHTMLB_FLI :
    SAP/HRRCF_PERS_SETT/DEFAULTS.BSP     DECIMAL     Decimal Display
    And then make invisible the field in view VRCFPHTMLB_FLI_C. But it seems it doesn't work really good... The decimal field is still there, I have even tried to regenerate the URL but there is no result.
    Is it possible to hide a field in the Pers. Setting BSP ? How can I do that without a repair ?
    Thank you for all help
    Hadrien

    Hello Hadrien,
    you can check the following BSP View as example.
    BSP Application: HRRCF_PERS_DATA
    View: persdata_m.bsp
    you find the following bsp code there:
    <hrrcf:mainGroup title="<%= controller->screen_header %>" >
      <phtmlb:matrix width="100%" >
        <phtmlb:matrixCell row = "1"
                           col = "1" />
        <htmlb:textView text     = "<%= controller->screen_docu %>"
                        wrapping = "true" />
        <phtmlb:matrixCell row = "2"
                           col = "1" />
        <br>
        <phtmlb:formLayout design           = "HEADING_ONLY_SOLID"
                           customizationKey = "<%= controller->context* %>" >
          <%-- Header --%>
          <phtmlb:formLayoutItem idOfItem = "formOfAddress"
                                 label    = "<%= otr(paoc_rcf_ui/doc_form_of_address) %>" >
            <%
    Best regards
    Roman

  • Using phtmlb in Portal Iviews

    Hi all,
    can you tell me if it's possible to use phtmlb tags in the jsp iviews?
    I try to use it but the taglib isn't found.
    I want to use the ganttchart tag from this taglib.
    Thanks and Regards,
    Paulo Ruivo

    phtmlb tags are for BSP pages and you cannot use them in jsp pages.
    Regards
    Raja

  • phtmlb:comboBox example?

    Hello,
    Has anyone used this tag yet? I have been able to fill it full of values and show it on the screen but I can only select one value at a time and even then it really doesn't save the value in the table specified in the tables attribute. Anybody have an examples to share? Any documentation too? I downloaded the PHTMLB documentation but comboBox isn't in there. Guess this tag came out in a SP pack greater than the PHTMLB documentation.
    Thanks alot,
    Rich

    Hi Richard,
    I am on SP Level 35. I am pasting the code of formLayoutSample.htm in BSP Application SBSPEXT_PHTMLB.
    <%@page language="abap" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="phtmlb" prefix="phtmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page>
        <htmlb:form>
          <htmlb:tray id                = "tray"
                      width             = "100%"
                      hasMargin         = "false"
                      title             = "<%= page->get_page_name( ) %>"
                      hasContentPadding = "true" >
            <phtmlb:formLayout labelAlignment         = "<%= labelAlignment %>"
                               design                 = "<%= design %>"
                               verticalLineSeparation = "<%= verticalLineSeparation %>"
                               fieldToLabelFactor     = "<%= fieldToLabelFactor %>"
                               customizationKey       = "<%= customizationKey %>" >
              <phtmlb:formLayoutColumnHeader text = "Personal Data"
                                             pos  = "colspan=2" />
              <phtmlb:formLayoutInputField id       = "firstName"
                                           label    = "First Name"
                                           value    = "Mary"
                                           required = "true" />
              <phtmlb:formLayoutInputField id       = "lastName"
                                           pos      = "asNeighbour,tiedTo=firstName"
                                           label    = "Last Name"
                                           required = "true"
                                           value    = "Schaurhofer" />
              <phtmlb:formLayoutInputField id    = "email"
                                           label = "E-Mail"
                                           value = "[email protected]" />
            <b>  <phtmlb:formLayoutDropDownListBox id                = "gender"
                                                label             = "Gender"
                                                table             = "<%= table %>"
                                                nameOfKeyColumn   = "NAME"
                                                nameOfValueColumn = "VALUE" /></b>
              <phtmlb:formLayoutCheckBox id    = "married"
                                         label = "Married" />
              <phtmlb:formLayoutItem idOfItem = "address"
                                     label    = "Adress"
                                     pos      = "row=+1,col=2,rowspan=3"
                                     id       = "fli_address" >
                <htmlb:textEdit id       = "address"
                                text     = "Address"
                                width    = "100%"
                                disabled = "<%= fli_address->is_readonly %>" />
              </phtmlb:formLayoutItem>
              <phtmlb:formLayoutTextEdit id    = "comments"
                                         label = "Comments"
                                         pos   = "row=+1,col=1,colspan=2,rowspan=3" />
              <phtmlb:formLayoutColumnHeader id   = "A"
                                             text = "Column A"
                                             pos  = "col=1" />
              <phtmlb:formLayoutInputField id    = "A1"
                                           label = "A1" />
              <phtmlb:formLayoutInputField id    = "A2"
                                           label = "A2" />
              <phtmlb:formLayoutColumnHeader id   = "B"
                                             text = "Column B"
                                             pos  = "row=+1,col=+1" />
              <phtmlb:formLayoutInputField id    = "B1"
                                           label = "B1" />
              <phtmlb:formLayoutInputField id    = "B2"
                                           label = "B2" />
              <phtmlb:formLayoutInputField id    = "B3"
                                           label = "B3" />
              <bsp:bee xml="<%= xmlBee %>" />
            </phtmlb:formLayout>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Message was edited by: Subramanian Venkateswaran

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Spry menu bar woes (add submenu levels and edit width)

    So i need some spry menu bar help. Apparently as a graphic designer i'm also expected to webdesign, and while i can solve most problems with a good googling, i seem to be at  my wit's end fo this one.  So the site i'm doing has a header ith a horizontal spry pop-up menubar (in Dreamweaver CS4). But some problems arise:  when i manually add another submenu level, they don't show up in chrome or FF, they do werk perfectly in IE6. I just add the following code to the codepage:
    <li><a href="#" class="MenuBarItemSubmenu">audio equipment</a>             <ul>               <li><a href="#">Digital Matrix Systems</a></li>               <ul>               <li><a href="#">R2 Digital Audio Matrix</a></li>               </ul>               <li><a href="#">pre-amplifiers &amp; mixers</a></li>               <ul>               <li><a href="#">PMX124</a></li>               </ul>
    the PMX never pops open in FF an chrome.. Should i be adding anything else to another part of the code?  i'd like my submenu text to have a slight indent? How ever, when i add the indent to ul.menubarhorizontal ul , it elongates the submeny boxes in IE6, while looking normal (width) in chrome and FF. WHat part of the CSS style should i change to just have the text scoot over a bit without it really affecting the box layout? ALso, if anyone could tell me how to add a wee bit of spacing above the text (and beneath), i'd be eternally gratefull.  Also, how do i change the with of the submenus? seing as my main buttons are images, but the names i ned to put in my submenus are turning out to be pretty long...
    HTML code for the menu:
    <tr>     <td><ul id="MenuBar1" class="MenuBarHorizontal">       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/knoppenrollover_01.jpg',1)"><img src="images/knoppenbalk_01.jpg" name="Products" width="169" height="41" border="0" id="Products" /></a>         <ul>           <li><a href="#" class="MenuBarItemSubmenu">audio equipment</a>             <ul>               <li><a href="#">Digital Matrix Systems</a></li>               <ul>               <li><a href="#">R2 Digital Audio Matrix</a></li>               </ul>               <li><a href="#">pre-amplifiers &amp; mixers</a></li>               <ul>               <li><a href="#">PMX124</a></li>               </ul>               <li><a href="#">music Sources</a></li>               <li><a href="#">amplifiers</a></li>               <li><a href="#">paging</a></li>               <li><a href="#">speakers</a></li>               <li><a href="#">microphones</a></li>             </ul>           </li>           <li><a href="#">racks and stands</a></li>           <li><a href="#">cables</a></li>         </ul>       </li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Company','','images/knoppenrollover_02.jpg',1)"><img src="images/knoppenbalk_02.jpg" name="Company" width="165" height="41" border="0" id="Company" /></a>         <ul>           <li><a href="#">Who are we?</a></li>           <li><a href="#">history</a></li>   <li><a href="#">contact us</a></li>   <li><a href="#">philosophy</a></li>   <li><a href="#">careers</a></li>         </ul>       </li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('news','','images/knoppenrollover_03.jpg',1)"><img src="images/knoppenbalk_03.jpg" name="news" width="166" height="41" border="0" id="news" /></a></li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('projects','','images/knoppenrollover_04.jpg',1)"><img src="images/knoppenbalk_04.jpg" name="projects" width="166" height="41" border="0" id="projects" /></a></li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Downloads','','images/knoppenrollover_05.jpg',1)"><img src="images/knoppenbalk_05.jpg" name="Downloads" width="165" height="41" border="0" id="Downloads" /></a>         <ul>           <li><a href="#">catalogs</a>            </li>           <li><a href="#">manuals</a></li>           <li><a href="#">software</a></li>           <li><a href="#">documents</a></li>           <li><a href="#">pricelists</a></li> </ul>       </li>       <li><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','images/knoppenrollover_06.jpg',1)"><img src="images/knoppenbalk_06.jpg" name="Contact" width="169" height="41" border="0" id="Contact" /></a></li>     </ul></td>
    sprymenuhorizontal.css:
    @charset "UTF-8";  /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */  /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */  /*******************************************************************************   LAYOUT INFORMATION: describes box model, positioning, z-order   *******************************************************************************/  /* The outermost container of the Menu Bar, an auto width box with no margin or padding */ ul.MenuBarHorizontal {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 14px;      cursor: default;      width: 1010px;      font-family: Arial, Helvetica, sans-serif; } /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: [url]http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html[/url] */ ul.MenuBarActive {      z-index: 1000; } /* Menu item containers, position children relative to this container and are a fixed width */ ul.MenuBarHorizontal li {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 100%;      position: relative;      text-align: left;      cursor: pointer;      float: left; } /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ ul.MenuBarHorizontal ul {      list-style-type: none;      font-size: 100%;      z-index: 1020;      cursor: default;      width: 166px;      position: absolute;      left: -1000em;      background-color: #6C6C6C;      height: 0px;      margin-top: 0px;      margin-right: 0em;      margin-bottom: 10px;      margin-left: 0em;      text-align: right;      text-indent: 0em;      padding-top: 0px;      padding-right: 0em;      padding-bottom: 0px;      padding-left: 0px;      border-top-width: 1px;      border-right-width: 1px;      border-bottom-width: 1px;      border-left-width: 1px;      border-top-style: solid;      border-right-style: solid;      border-bottom-style: solid;      border-left-style: solid;      border-top-color: #666;      border-right-color: #666;      border-bottom-color: #666;      border-left-color: #666; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {      left: auto;      height: 0px; } /* Menu item containers are same fixed width as parent */ ul.MenuBarHorizontal ul li {      width: 166px; } /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ ul.MenuBarHorizontal ul ul {      position: absolute;      height: 41px;      margin-top: 0%;      margin-right: 0%;      margin-bottom: 0px;      margin-left: 162px;      float: right; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible {      left: auto;      top: 0; }  /*******************************************************************************   DESIGN INFORMATION: describes color scheme, borders, fonts   *******************************************************************************/  /* Submenu containers have borders on all sides */ ul.MenuBarHorizontal ul {      border: 1px solid #666;      background-color: #6C6C6C;      height: 0px;      padding-left: 0em; } /* Menu items are a light gray block with padding and no text decoration */ ul.MenuBarHorizontal a {      display: block;      cursor: pointer;      background-color: #6C6C6C;      padding: 0em;      color: #FC0;      text-decoration: none;      font-size: 14px;      margin-left: 0em; } /* Menu items that have mouse over or focus have a blue background and white text */ ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus {      background-color: #FC0;      color: #FFF; } /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */ ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible {      background-color: #FC0;      color: #FFF; }  /*******************************************************************************   SUBMENU INDICATION: styles if there is a submenu under a given menu item   *******************************************************************************/  /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal a.MenuBarItemSubmenu {      background-image: url(SpryMenuBarDown.gif);      background-repeat: no-repeat;      background-position: 98% 50%; } /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenu {      background-image: url(SpryMenuBarRight.gif);      background-repeat: no-repeat;      background-position: 98% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal a.MenuBarItemSubmenuHover {      background-image: url(SpryMenuBarDownHover.gif);      background-repeat: no-repeat;      background-position: 98% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover {      background-image: url(SpryMenuBarRightHover.gif);      background-repeat: no-repeat;      background-position: 98% 50%; }  /*******************************************************************************   BROWSER HACKS: the hacks below should not be changed unless you are an expert   *******************************************************************************/  /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */ ul.MenuBarHorizontal iframe {      position: absolute;      z-index: 1010;      filter:alpha(opacity:0.1); } /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */ @media screen, projection {      ul.MenuBarHorizontal li.MenuBarItemIE      {           display: inline;           f\loat: left;           background: #FFF;      } }[/SPOILER]  any help would be greatly appreciated, as i've been fidgiting with this thing for 2 days now, to no satisfying effect...

    since the layout of the pasted text got all weird, here i'm trying it again.
    sprymenubarhorizontal.css:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    cursor: default;
    width: 1010px;
    font-family: Arial, Helvetica, sans-serif;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 166px;
    position: absolute;
    left: -1000em;
    background-color: #6C6C6C;
    height: 0px;
    margin-top: 0px;
    margin-right: 0em;
    margin-bottom: 10px;
    margin-left: 0em;
    text-align: right;
    text-indent: 0em;
    padding-top: 0px;
    padding-right: 0em;
    padding-bottom: 0px;
    padding-left: 0px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #666;
    border-right-color: #666;
    border-bottom-color: #666;
    border-left-color: #666;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    height: 0px;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 166px;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    height: 41px;
    margin-top: 0%;
    margin-right: 0%;
    margin-bottom: 0px;
    margin-left: 162px;
    float: right;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #666;
    background-color: #6C6C6C;
    height: 0px;
    padding-left: 0em;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #6C6C6C;
    padding: 0em;
    color: #FC0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 0em;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #FC0;
    color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #FC0;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

  • Field width in ALV report

    Hi,
    How to increase the field width of a field in ALV report.
    I mean, in a ALV report, the field description of a field is not showing correctly. IF i try to extend the field width by the mouse/coursor, it displays the correct description.
    IS there any way where for displaying the  field description correctly?
    Thanks,
    Kumar

    Hi,
    Go through the sample code,
    *& Report ZDEMO_ALVLIST *
    *& Example of a simple ALV List Report *
    *& The basic requirement for this demo is to display a number of *
    *& fields from the EKKO table. *
    REPORT zdemo_alvlist .
    TABLES: ekko.
    type-pools: slis. "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    statu TYPE ekpo-statu,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    menge TYPE ekpo-menge,
    meins TYPE ekpo-meins,
    netpr TYPE ekpo-netpr,
    peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
    gd_tab_group type slis_t_sp_group_alv,
    gd_layout type slis_layout_alv,
    gd_repid like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *& Form BUILD_FIELDCATALOG
    Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
    I.e. Field type may be required in-order for
    the 'TOTAL' function to work.
    fieldcatalog-fieldname = 'EBELN'.
    fieldcatalog-seltext_m = 'Purchase Order'.
    fieldcatalog-col_pos = 0.
    fieldcatalog-outputlen = 10.
    fieldcatalog-emphasize = 'X'.
    fieldcatalog-key = 'X'.
    fieldcatalog-do_sum = 'X'.
    fieldcatalog-no_zero = 'X'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'EBELP'.
    fieldcatalog-seltext_m = 'PO Item'.
    fieldcatalog-col_pos = 1.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'STATU'.
    fieldcatalog-seltext_m = 'Status'.
    fieldcatalog-col_pos = 2.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'AEDAT'.
    fieldcatalog-seltext_m = 'Item change date'.
    fieldcatalog-col_pos = 3.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m = 'Material Number'.
    fieldcatalog-col_pos = 4.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MENGE'.
    fieldcatalog-seltext_m = 'PO quantity'.
    fieldcatalog-col_pos = 5.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-seltext_m = 'Order Unit'.
    fieldcatalog-col_pos = 6.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'NETPR'.
    fieldcatalog-seltext_m = 'Net Price'.
    fieldcatalog-col_pos = 7.
    fieldcatalog-outputlen = 15.
    fieldcatalog-datatype = 'CURR'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'PEINH'.
    fieldcatalog-seltext_m = 'Price Unit'.
    fieldcatalog-col_pos = 8.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    endform. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    Build layout for ALV grid report
    form build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
    gd_layout-totals_only = 'X'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    "click(press f2)
    gd_layout-zebra = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text = 'helllllo'.
    endform. " BUILD_LAYOUT
    *& Form DISPLAY_ALV_REPORT
    Display report using ALV grid
    form display_alv_report.
    gd_repid = sy-repid.
    call function 'REUSE_ALV_LIST_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 = outtext
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_special_groups = gd_tabgroup
    IT_EVENTS = GT_XEVENTS
    i_save = 'X'
    is_variant = z_template
    tables
    t_outtab = it_ekko
    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_ALV_REPORT
    *& Form DATA_RETRIEVAL
    Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
    from ekpo
    into table it_ekko.
    endform. " DATA_RETRIEVAL
    Form TOP-OF-PAGE *
    ALV Report Header *
    Form top-of-page.
    *ALV Header declarations
    data: t_header type slis_t_listheader,
    wa_header type slis_listheader,
    t_line like wa_header-info,
    ld_lines type i,
    ld_linesc(10) type c.
    Title
    wa_header-typ = 'H'.
    wa_header-info = 'EKKO Table Report'.
    append wa_header to t_header.
    clear wa_header.
    Date
    wa_header-typ = 'S'.
    wa_header-key = 'Date: '.
    CONCATENATE sy-datum+6(2) '.'
    sy-datum+4(2) '.'
    sy-datum(4) INTO wa_header-info. "todays date
    append wa_header to t_header.
    clear: wa_header.
    Total No. of Records Selected
    describe table it_ekko lines ld_lines.
    ld_linesc = ld_lines.
    concatenate 'Total No. of Records Selected: ' ld_linesc
    into t_line separated by space.
    wa_header-typ = 'A'.
    wa_header-info = t_line.
    append wa_header to t_header.
    clear: wa_header, t_line.
    call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
    it_list_commentary = t_header.
    i_logo = 'Z_LOGO'.
    endform.
    Regards,
    Raj.

  • Print the report on page has width larger than height and not landscape mode

    Hi,
    I'm trying to print report on page (Width: 18cm, Height: 13cm) which the width larger than the height.
    The problem is windows keeps changing the page oreintation to landscape and when I change it back to portrait its changing the width to 13cm and height to 18cm.
    I'm using dot matrix printer to print the report, if i put Landscape , printer is printing the text in horizontal.
    Already i have tried to setup the custom for on printer, and used custom page size but it is changing to landscape.
    I need to print the report with out preview, direct print top printer, NO PDF....
    Thank you .....

    Hi Anil,
    After testing the issue in my environment, I can reproduce it. When I set (Width: 18cm, Height: 13cm) as the Report Page size, it would automatically convert Orientation from Portrait to Landscape. Because the Orientation displayed is dependent on the page
    width and page height of the report.
    But in my scenario, the Orientation option just change the Width and Height sizes, it couldn’t affect the text rotation. I guess this issue can be caused by the printer and printer driver, please try to update them. Reference:
    http://stackoverflow.com/questions/15244336/printing-in-landscape-or-portrait-automatically-rotates-text-ssrs?lq=1
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • In Sales Order changing the column width to see all item desciption?

    When in the sales order screen .
    Expand the column width of say the item description.
    How do I save the column width for all the sales documents  for the field item description in sales order ?

    Hi,
    The column width of the Document will be defaulted to the same size at which the user has saved the last document.
    So, if a user has saved the Sales Order with a big column width for the 'Item Description' then after saving and re-entering into the Sales Order, the user can see the same column width for all the Sales Order's.
    I hope the above helps.
    Cheers~
    Jitin Chawla

  • Setting different pages widths in different sections - Pages 5.2

    In Pages 5.2, how does one set different page widths (margins) in different sections?

    You can't. Margins apply to the entire document.
    What you can do is set the margins to their max width and then use left and right indents for the sections you want narrower.
    Peter

  • Dynamic PHTMLB PopupMenu

    Anyone have any idea why I can't get my popupmenu to work?  I have two sets of data, one we'll call code groups and the other group items.  I simply want the group items to be a submenu of their group.  I can get exactly one group item to slide out, and it looks strange in a large font.
    Anyone see something I don't? 
    method ZFILL_OTEIL_POPUP .
    data: wa_popup like line of oteilgroup,
          lv_group type zqpgt_tab,
          lv_item  type zqpct_tab,
          lv_text type string,
          separator(3) value ' - '.
    field-symbols: <group> type zqpgt,
                   <item>  type zqpct.
    lv_group = me->zget_group_codes( p_katalogart = 'B' ).
    lv_item = me->zget_item_codes( p_katalogart = 'B' ).
    data: id type string,
          index type string.
    loop at lv_group assigning <group>.
      clear wa_popup.
      clear id.
        refresh oteilitem.
      move sy-tabix to index.
      concatenate 'oteilSubPopup' index into id.
      concatenate <group>-codegruppe <group>-kurztext into lv_text
                  separated by separator.
      wa_popup-menuitemid = 'oteilPopup'.
      wa_popup-submenuid  = id.
      wa_popup-text = lv_text.
    wa_popup-cancheck = 'X'.
      wa_popup-enabled  = 'X'.
      append wa_popup to oteilgroup.
      loop at lv_item assigning <item>
           where codegruppe = <group>-codegruppe.
        clear wa_popup.
        concatenate <item>-code <item>-kurztext into lv_text
                    separated by separator.
        wa_popup-menuitemid = id.
        wa_popup-text = lv_text.
       wa_popup-cancheck = 'X'.
        wa_popup-enabled  = 'X'.
        append wa_popup to oteilitem.
      endloop.
        append oteilitem to oteilitems. "deeply structured itab
    endloop.
    endmethod.
    LAYOUT
                    <td><htmlb:label for="object" text="Object Code"/></td>
                    <td><htmlb:inputField id="damage" value="//model/notif_fields.fecod" disabled="true"/>
                        <phtmlb:popupTrigger id="oteilTrigger"
                                             popupMenuId="oteilPopup"
                                             isInteractive="true" >
                        <htmlb:image src="s_b_hint.gif" />
                        </phtmlb:popupTrigger>
                        <phtmlb:popupMenu id="oteilPopup"
                                          firstVisibleItemIndex="1"
                                          maxVisibleItems="25"
                                          items="<%=oteilgroup%>">
                        </phtmlb:popupMenu>
    <% data: wa_item type PHTMLB_POPUPMENUITEMS,
             id type string,
             index type string. %>
    <% loop at oteilitems into wa_item.
           move sy-tabix to index.
           concatenate 'oteilSubPopup' index into id. %>
           <phtmlb:popupMenu id="<%= id %>"
                             onSelect="myOteil"
                             firstVisibleItemIndex="1"
                             maxVisibleItems="25"
                             items="<%= wa_item %>">
           </phtmlb:popupMenu>
           <% refresh wa_item. %>
    <% endloop. %>

    Hi Thomas,
             Thanks for the reply.
             As you have said there are no background or MouseOver color for popupMenu. I am using a workaround for this by putting the popMenuItems in an html table and then changing the above said attributes for the individual cells. This works fine in normal menu but no effect when used with popupMenu. If you want I can send you the code but that will be possible tomorrow.
    Regards
    PRAFUL

Maybe you are looking for

  • How do I re-install the iTunes radio feature on my iPod Touch 5 running iOS7?

    Soon after installing iOS7 on my iPod 5, there was a new radio feature in the Music app. That feature has now disappeared. At the bottom of the Music app where the icons show for Playlists, Artists, Songs, and More..., Radio no longer shows. Does any

  • How Can I get rid of Yahoo home page? Changing home page doesn't work.

    A week or two ago, Yahoo started coming up as my home page. No matter how many times I change it back to Bing, every time I bring up Firefox, there is Yahoo as the home page. Changing it back to Bing and clicking ok is not working. I'm getting a litt

  • Loading Screen when going in to itunes store

    Ive had trouble getting into the itunes store for the past 3 to 4 weeks. When I click the itunes tab it just says loading please wait. (i waited 4 hours at one time) I thought it was a problem because I did not have an apple ID so I clicked that butt

  • Mkinitcpio prays there's no "splashy" hook (but splashy IS installed)

    I just followed the wiki page for installing splashy, but there's something not working because it tells me this: [root@LTS-Arch ltsmash]# mkinitcpio -p kernel26 ==> Building image "default" ==> Running command: /sbin/mkinitcpio -k 2.6.23-ARCH -c /et

  • Photoshop CS5 crashing when making .pdfs

    It's been happening right after I've scanned something. Reboots aren't working well, either. On Windows 7... Here's the message I get: Problem Event Name: APPCRASH Application Name: Photoshop.exe Application Version: 12.0.3.0 Application Timestamp: 4