Total display in script

I am displaying line items in the script.
I have total 20 line items and in each page i am displaying 5 line items with page wise totals . I am displaying 20 line items in 4 pages each page below i am displaying 5 line items amount totals , in the last page i want to display 4 pages totals . I have done calculations for getting totals but when displaying i am getting problem.
   First page
line item 1     10,000
line item 2     20,000
line item 3     30,000
line item 4     15,000
line item 5     25,000
first page total called as ubertag : 90,000
Second page
     top first page total as ubertag : 90,000
    line item 1     12,000
    line item 2     18,000
    line item 3     25,000
    line item 4     15,000
    ine item 5     25,000
second page total called as ubertag: 95,000
3rd page
  top of second page  ubertag 95,000
    line item 1     11,000
    line item 2     19,000
    line item 3     35,000
    line item 4     10,000
    line item 5     25,000
3rd page total called as ubertag : 1,05,000
4th page    
  top of page ubertag : 1,05,000
    line item 1     5,000
    line item 2     8,000
    line item 3     4,000
    line item 4     1,000
    ine item 5     2,000
all pages total called as gesamtsaldo : 3,10,000
I have 15 lines text at the last of the page i want to display it with out splitting.
can u please suggest me how can i display above format. Now i am getting page wise totals and final totals but displaying at last i want to call it as gesamtsaldo ( 4 pages total) 
1. how i display page wise totals
2. how i display 4 pages at last page
i am using following statement for every page total.
IF NEXTPAGE > 0
   UBERTAG : &WRBTR&
ENDIF.
please guide me.

Hi Srisai,
  Try using protect and end protect to get the sum and total on the same page. Try using bottom and end bottom for your totals on the last page.
For your final total validate it like,
If &nextpage& = 0.
Print your final total.
endif.
Regards,
Amuktha.

Similar Messages

  • This is regarding totals and sub totals in sap-scripts

    Hi to all...............
    1...How to print totals and subtotals in sap-scripts? where we have to code the logic.what sort of logic is needed to print the same?
    regards,
    swaminath.

    Hi
    HI,
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
    outt_cond structure itcsy. data : value type kbert.
    statics value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    To know more, have a look at this thread ..
    Re: SAP Script: Display Total calculated  on page 2 in page 1
    <b>Reward if usefull</b>

  • Time stream from resource WC not valid for total display period (PP/DS)

    Hi Apo Experts,
    As I enter the product view in the PERIOD TAB, this error message pops up "Time stream from resource WC not valid for total display period".
    Diagnosis was "The time stream for resource WSMT200_9000_001 is not valid for the general display period. This can cause the display of the time buckets profile for this resource in the product planning table to be inaccurate."
    Please, can someone help me understood what was this error mean and the cause? And maybe an idea on how to correct this.
    Greatly appreciate your answer!
    Thanks in advance,
    Raymond

    Hi Raymond,
    the capacity of a resource in the live cache is generated in the past and in the future according to the settings Planning Parameters (/SAPAPO/RES01) on tab general data. Here the days- and days+ are important.
    e.g. the resource has got the following parameters: days- 30 and days+ 180.
    Today we have the 1th of January 2008.
    After starting the product plan table you can choose the planning horizon from/to.
    If the time fence is more than 180 days in the future you will get your message above because planning parameters do not "allow" more than 180 days in the future.
    Instead of this the message do not appear if you choose a smaller value.
    For more information please see SAP Note 449452.
    Hope this helps.
    Greetings
    Timo

  • Time stream from resource  not valid for total display period

    Dear Friends,
    In APO after PPDS Run, and executing  Product View, in period tab of product view I am getting an error with following meassge.
    Time stream from resource WP5_0110_001 not valid for total display period
    Message no. /SAPAPO/RRP_PT055
    Diagnosis
    The time stream for resource WP5_0110_001 is not valid for the general display period. This can cause the display of the time buckets profile for this resource in the product planning table to be inaccurate.
    Can anybody come across such type of error, if yes please let me know the possible solutions to overcome this problem.
    Thanks and Regards
    Nilesh

    Kinldy refer to  SAP Note No. 449452 for the exmplanation and solution to the issue.
    Rgs - Vikas

  • Calculate sub totals in SAP Script

    Hi Friends, In Sapscript,  I want to print as follows. Please help.
    Empno       Name       Dept.        Salary
    A1             AAAA       DP01       1000.00
    A2             BBBB       DP01       1500.00
                                          2500.00
    A3         CCCC    DP02    2000.00
    A4         DDDD    DP02    2200.00
                                           4200.00

    Hi
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                        outt_cond structure itcsy. data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    PLZ REWARD POINTS

  • Why does Thunderbird keep displaying Unresponsive Script resource://gre/modules/XPCOMUtils.jsm:323?

    Thunderbird keeps hanging and displaying "a script on the page may be busy..." with the above message. I thought that the latest update would fix the problem but it seems to have made it worse. My system is W7 64BitUltimate with SP1. It has 8GB of RAM.
    What could be the problem?
    Application Basics
    Name: Thunderbird
    Version: 24.5.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

    Script errors are sometimes caused by anti-virus programs keeping the system "busy" by scanning mail folders. Do you have a product such as McAfee operating on the mail folders?

  • How to print the Totals in SAP Scripts..?

    Hi,
    I have an SAP Script layout. Currently I am displaying the Line items in the layout. The new requirement has come up to display the TOTAL of the amount value in the layout at the end of the line items. Can someone tell me how to display the Sum of the Amount value at the end of the Line items in an SAP Script.
    The Print program for this layout is standard program. Can this be handled within the layout..? Someone please provide me some sample code if available.
    Thanks in advance.
    Best regards,
    Paddu.

    Hi,
    Thank you for your reply.
    My Standard print program doesn't provide the total value.  Could you please tell me where exactly we need to write the logic in the Layout. I mean, do we need to write under separate element..? and in the External subroutine, how would be the logic. It would be greatful if you provide some sample code.
    Thanks & Regards,
    Paddu.

  • Problem Display JQuery Script

    Hi Gang,
    Been wrestling with a JQuery script, getting it to display on this page for the main images:
    http://72.29.76.51/~organica/index.html
    Any insight to what I'm doing wrong is appreciated.
    Here's the page code:
    <!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"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Organica Natural Foods | Northvale, New Jersey</title>
    <!-- InstanceEndEditable -->
    <link href="main.css" rel="stylesheet" type="text/css" />
    <link href="Spry-UI-1.7/css/Menu/basic/SpryMenuBasic.css" rel="stylesheet" type="text/css" />
    <link href="s3slider.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="js/s3Slider.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#slider').s3Slider({
                timeOut: 3000
    </script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryMenu.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarKeyNavigationPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarIEWorkaroundsPlugin.js" type="text/javascript"></script>
    <style type="text/css">
    /* BeginOAWidget_Instance_2141544: #MenuBar */
    /* Settable values for skinning a Basic menu via presets. If presets are not sufficient, most skinning should be done in
        these rules, with the exception of the images used for down or right pointing arrows, which are in the file SpryMenuBasic.css
         These assume the following widget classes for menu layout (set in a preset)
        .MenuBar - Applies to all menubars - default is horizontal bar, all submenus are vertical - 2nd level subs and beyond are pull-right.
        .MenuBarVertical - vertical main bar; all submenus are pull-right.
        You can also pass in extra classnames to set your desired top level menu bar layout. Normally, these are set by using a preset.
        They only apply to horizontal menu bars:
            MenuBarLeftShrink - The menu bar will be horizontally 'shrinkwrapped' to be just large enough to hold its items, and left aligned
            MenuBarRightShrink - Just like MenuBarLeftShrink, but right aligned
            MenuBarFixedLeft - Fixed at a specified width set in the rule '.MenuBarFixedLeft', and left aligned. 
            MenuBarFixedCentered -  - Fixed at a specified width set in the rule '.MenuBarFixedCentered',
                            and centered in its parent container.
            MenuBarFullwidth - Grows to fill its parent container width.
        In general, all rules specified in this file are prefixed by #MenuBar so they only apply to instances of the widget inserted along
        with the rules. This permits use of multiple MenuBarBasic widgets on the same page with different layouts. Because of IE6 limitations,
        there are a few rules where this was not possible. Those rules are so noted in comments.
    #MenuBar  {
        background-color:#003300;
        font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; /* Specify fonts on on MenuBar and subMenu MenuItemContainer, so MenuItemContainer,
                                                    MenuItem, and MenuItemLabel
                                                    at a given level all use same definition for ems.
                                                    Note that this means the size is also inherited to child submenus,
                                                    so use caution in using relative sizes other than
                                                    100% on submenu fonts. */
        font-weight: bold;
        font-size: 12px;
        font-style: normal;
        padding:0;
    /* Caution: because ID+class selectors do not work properly in IE6, but we want to restrict these rules to just this
    widget instance, we have used string-concatenated classnames for our selectors for the layout type of the menubar
    in this section. These have very low specificity, so be careful not to accidentally override them. */
    .MenuBar br { /* using just a class so it has same specificity as the ".MenuBarFixedCentered br" rule bleow */
        display:none;
    .MenuBarLeftShrink {
        float: left; /* shrink to content, as well as float the MenuBar */
        width: auto;
    .MenuBarRightShrink {
        float: right; /* shrink to content, as well as float the MenuBar */
        width: auto;
    .MenuBarFixedLeft {
        float: left;
        width: 100%;
    .MenuBarFixedCentered {
        float: none;
        width: 100%;
        margin-left:auto;
        margin-right:auto;
    .MenuBarFixedCentered br {
        clear:both;
        display:block;
    .MenuBarFixedCentered .SubMenu br {
        display:none;
    .MenuBarFullwidth {
        float: left;
        width: 100%;
    /* Top level menubar items - these actually apply to all items, and get overridden for 1st or successive level submenus */
    #MenuBar  .MenuItemContainer {
        padding: 0px 0px 0px 0px;
        margin: 0;
         /* Zero out margin  on the item containers. The MenuItem is the active hover area.
                    For most items, we have to do top or bottom padding or borders only on the MenuItem
                    or a child so we keep the entire submenu tiled with items.
                    Setting this to 0 avoids "dead spots" for hovering. */
    #MenuBar  .MenuItem {
        padding: 0px 8px 0px 8px;
        background-color:transparent;
        border-right: 1px solid #FFF;
        border-left: 1px solid #FFF;
    #MenuBar  .MenuItemFirst {
        border-style: none none none none;
    #MenuBar .MenuItemLast {
        border-style: none solid none none;
    #MenuBar  .MenuItem  .MenuItemLabel{
        text-align:left;
        line-height:1.4em;
        color:#ffffff;
        background-color:transparent;
        padding: 6px 15px 6px 15px;
        width: 10em;
        width:auto;
    .SpryIsIE6 #MenuBar  .MenuItem  .MenuItemLabel{
        width:1em; /* Equivalent to min-width in modern browsers */
    /* First level submenu items */
    #MenuBar .SubMenu  .MenuItem {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        font-size: 12px;
        font-style: normal;
        background-color:transparent;
        padding:0px 8px 0px 0px;
        border-width:1px;
        border-color: #cccccc #cccccc #cccccc #cccccc;
        /* Border styles are overriden by first and last items */
        border-style: solid solid none solid;
    #MenuBar  .SubMenu .MenuItemFirst {
        border-style: solid solid none solid;
    #MenuBar  .SubMenu .MenuItemFirst .MenuItemLabel{
        padding-top: 6px;
    #MenuBar .SubMenu .MenuItemLast {
        border-style: solid solid solid solid;
    #MenuBar .SubMenu .MenuItemLast .MenuItemLabel{
        padding-bottom: 6px;
    #MenuBar .SubMenu .MenuItem .MenuItemLabel{
        text-align:left;
        line-height:1em;   
        background-color:transparent;
        color:#ffffff;
        padding: 6px 12px 6px 5px;
        width: 7em;
    /* Hover states for containers, items and labels */
    #MenuBar .MenuItemHover {
        background-color: transparent;
        border-color: #cccccc #cccccc #cccccc #cccccc;
    #MenuBar .MenuItemWithSubMenu.MenuItemHover .MenuItemLabel{
        background-color: transparent; /* consider exposing this prop separately*/
        color: #999999;
    #MenuBar .MenuItemHover .MenuItemLabel{
        background-color: transparent;
        color: #999999;
    #MenuBar .SubMenu .MenuItemHover {
        background-color: #003300;
        border-color: #cccccc #cccccc #cccccc #cccccc;
    #MenuBar .SubMenu .MenuItemHover .MenuItemLabel{
        background-color: transparent;
        color: #999999;
    /* Submenu properties -- First level of submenus */
    #MenuBar .SubMenuVisible {
        background-color: #003300;
        min-width:0%;  /* This keeps the menu from being skinnier than the parent MenuItemContainer - nice to have but not available on ie6 */
        border-color: #ffffff #ffffff #ffffff #ffffff;
        border-width:0px;
        border-style: none none none none;
    #MenuBar.MenuBar .SubMenuVisible {/* For Horizontal menubar only */
        top: 100%;    /* 100% is at the bottom of parent menuItemContainer */
        left:0px; /* 'left' may need tuning depending upon borders or padding applied to menubar MenuItemContainer or MenuItem,
                        and your personal taste.
                        0px will left align the dropdown with the content area of the MenuItemContainer. Assuming you keep the margins 0
                        on MenuItemContainer and MenuItem on the parent
                        menubar, making this equal the sum of the MenuItemContainer &amp; MenuItem padding-left will align
                        the dropdown with the left of the menu item label.*/
        z-index:10;
    #MenuBar.MenuBarVertical .SubMenuVisible {
        top: 0px;   
        left:100%;
        min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse */
    /* Submenu properties -- Second level submenu and beyond - these are visible descendents of .MenuLevel1 */
    #MenuBar .MenuLevel1 .SubMenuVisible {
        background-color: #003300;
        min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse*/
        top: 0px;    /* If desired, you can move this down a smidge to separate top item''s submenu from menubar -
                    that is really only needed for submenu on first item of MenuLevel1, or you can make it negative to make submenu more
                    vertically 'centered' on its invoking item */
        left:100%; /* If you want to shift the submenu left to partially cover its invoking item, you can add a margin-left with a
                    negative value to this rule. Alternatively, if you use fixed-width items, you can change this left value
                    to use px or ems to get the offset you want. */
    /* IE6 rules - you can delete these if you do not want to support IE6 */
    /* A note about multiple classes in IE6.
    * Some of the rules above use multiple class names on an element for selection, such as "hover" (MenuItemHover) and "has a subMenu" (MenuItemWithSubMenu),
    * giving the selector '.MenuItemWithSubMenu.MenuItemHover'.
    * Unfortunately IE6 does not support using mutiple classnames in a selector for an element. For a selector such as '.foo.bar.baz', IE6 ignores
    * all but the final classname (here, '.baz'), and sets the specificity accordingly, counting just one of those classs as significant. To get around this
    * problem, we use the plugin in SpryMenuBarIEWorkaroundsPlugin.js to generate compound classnames for IE6, such as 'MenuItemWithSubMenuHover'.
    * Since there are a lot of these needed, the plugin does not generate the extra classes for modern browsers, and we use the CSS2 style mutltiple class
    * syntax for that. Since IE6 both applies rules where
    * it should not, and gets the specificity wrong too, we have to order rules carefully, so the rule misapplied in IE6 can be overridden.
    * So, we put the multiple class rule first. IE6 will mistakenly apply this rule.  We follow this with the single-class rule that it would
    * mistakenly override, making sure the  misinterpreted IE6 specificity is the same as the single-class selector, so the latter wins.
    * We then create a copy of the multiple class rule, adding a '.SpryIsIE6' class as context, and making sure the specificity for
    * the selector is high enough to beat the single-class rule in the "both classes match" case. We place the IE6 rule at the end of the
    * css style block to make it easy to delete if you want to drop IE6 support.
    * If you decide you do not need IE6 support, you can get rid of these, as well as the inclusion of the SpryMenuBarIEWorkaroundsPlugin.js script.
    * The 'SpryIsIE6' class is placed on the HTML element by  the script in SpryMenuBarIEWorkaroundsPlugin.js if the browser is Internet Explorer 6. This avoids the necessity of IE conditional comments for these rules.
    .SpryIsIE6 #MenuBar .MenuBarView .MenuItemWithSubMenuHover .MenuItemLabel /* IE6 selector  */{
        background-color: transparent; /* consider exposing this prop separately*/
        color: #999999;
    .SpryIsIE6 #MenuBar .MenuBarView .SubMenu .MenuItemWithSubMenuHover .MenuItemLabel/* IE6 selector  */{
        background-color: transparent; /* consider exposing this prop separately*/
        color: #999999;
    .SpryIsIE6 #MenuBar .SubMenu .SubMenu  /* IE6 selector  */{
        margin-left: -0px; /* Compensates for at least part of an IE6 "double padding" version of the "double margin" bug */
    /* EndOAWidget_Instance_2141544 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141544" binding="#MenuBar" />
    </oa:widgets>
    -->
    </script>
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body bgcolor="#17321A">
    <div id="outerWrapper">
      <div id="header"><img src="media/header.jpg" width="960" height="160" alt="organica title" /></div>
      <div id="navbar">
        <ul id="MenuBar">
          <li> <a href="index.html">Home</a></li>
          <li> <a href="kitchen.html">Kitchen</a>
          <ul>
              <li> <a href="menus.html">Menus</a></li>
              <li> <a href="catering.html">Catering</a></li>
          </ul>
          </li>
          <li> <a href="juicebar.html">Juice Bar</a></li>
          <li> <a href="produce.html">Produce</a></li>
          <li> <a href="supplements.html">Supplements</a></li>
          <li> <a href="grocery.html">Grocery</a>
          <ul>
              <li> <a href="packaged.html">Packaged Goods</a></li>
              <li> <a href="refrigerated.html">Refrigerated</a></li>
              <li> <a href="frozen.html">Frozen Foods</a></li>
              <li> <a href="glutenfree.html">Gluten Free</a></li>
          </ul>
          </li>
          <li> <a href="bodycare.html">Body Care</a></li>
          <li> <a href="events.html">Events</a></li>
          <li> <a href="contact.html">Contact</a>
          <ul>
              <li> <a href="directions.html">Directions</a></li>
              <li> <a href="employment.html">Employment</a></li>
          </ul>
          </li>
          </ul>
        <script type="text/javascript">
    // BeginOAWidget_Instance_2141544: #MenuBar
    var MenuBar = new Spry.Widget.MenuBar2("#MenuBar", {
          widgetID: "MenuBar",
          widgetClass: "MenuBar  MenuBarFullwidth",
          insertMenuBarBreak: true,
          mainMenuShowDelay: 100,
          mainMenuHideDelay: 200,
          subMenuShowDelay: 200,
          subMenuHideDelay: 200
    // EndOAWidget_Instance_2141544
        </script>
      </div><!-- end navbar -->
      <div id="contentWrapper"><!-- InstanceBeginEditable name="sidebar" -->
        <div id="sidebar">
          <h2>Get Your Organica Loyalty Card<br />
            <img src="media/loyalty.jpg" width="200" height="129" alt="loyalty" /></h2>
          <hr width="90%" size="1" />
          <p>
            <style>
    .link,
    .link a,
    .signupframe
        color: #000000;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        .link,
        .link a {
            text-decoration: none;
        .signupframe {
            border: 0px solid #000000;
            background: #ffffff;
    .signupframe .required {
        font-size: 10px;
        </style>
          </p>
          <form method="post" action="https://app.icontact.com/icp/signup.php" name="icpsignup" id="icpsignup8190" accept-charset="UTF-8" onsubmit="return verifyRequired8190();" >
            <input type="hidden" name="redirect" value="http://organicanaturalfoods.com/thanks.html" />
            <input type="hidden" name="errorredirect" value="http://www.icontact.com/www/signup/error.html" />
            <div id="SignUp">
              <h2>Sign-up for our Organica e-News<br />
                Receive coupons, event info, and more! </h2>
              <table width="200" align="center" class="signupframe" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td align="center"><input type="text" name="fields_email" /></td>
                </tr>
                <input type="hidden" name="listid" value="70490" />
                <input type="hidden" name="specialid:70490" value="HHBU" />
                <input type="hidden" name="clientid" value="971128" />
                <input type="hidden" name="formid" value="8190" />
                <input type="hidden" name="reallistid" value="1" />
                <input type="hidden" name="doubleopt" value="0" />
                <tr>
                  <td><div align="center">
                    <input type="submit" name="Submit" value="Submit" />
                  </div></td>
                </tr>
              </table>
            </div>
          </form>
          <script type="text/javascript">
    var icpForm8190 = document.getElementById('icpsignup8190');
    if (document.location.protocol === "https:")
        icpForm8190.action = "https://app.icontact.com/icp/signup.php";
    function verifyRequired8190() {
      if (icpForm8190["fields_email"].value == "") {
        icpForm8190["fields_email"].focus();
        alert("The Email field is required.");
        return false;
    return true;
        </script>
          <p></p>
          <p>
    <iframe src=
    "http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FOrganicaN aturalFood&width=250&colorscheme=light&show_faces=true&border_color&stream=false&header=fa lse&height=258" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:258px;" allowTransparency="true"></iframe>
          </p>
        </div>
      <!-- InstanceEndEditable --><!-- end sidebar --><!-- InstanceBeginEditable name="content" -->
        <div id="content">
          <div id="s3slider">
       <ul id="s3sliderContent">
          <li class="s3sliderImage">
              <img src="media/front_1.jpg" />
              <span>Welcome to Organica!</span>
          </li>
          <li class="s3sliderImage">
              <img src="media/front_2.jpg" />
              <span>Welcome to Organica!</span>
          </li>
          <div class="clear s3sliderImage"></div>
       </ul>
    </div>
        </div>
        <!-- InstanceEndEditable --><!-- end content -->
        <div id="footer">
          <a href="index.html">Home</a> | <a href="about.html">About Us</a> | <a href="links.html">Links</a> | <a href="directions.html">Directions</a> | <a href="employment.html">Employment</a> | <a href="contact.html">Contact Us</a><br />
        All contents ©2011 Organica Natural Foods | Site Design: <a href="http://nowagenewmedia.com" target="_blank">Now Age New Media</a></div><!-- end footer -->
      </div><!-- end contentWrapper -->
    </div>
    </body>
    <!-- InstanceEnd --></html>

    Usually, the reason why a widget does not work is because the support files are not-present/corrupt/out-of-date.
    Try using
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://s3slider-original.googlecode.com/svn/trunk/s3Slider.js"></script>
    it may help. The jQuery version can be changed to a more modern one.
    Gramps

  • Total Problem in scripts

    Hi,
    I'm facing one big issue in scripts.ie: in printing totals.
      for totals i write a subroutine in scripts.
      it's working fine.it's displaying totals well.here my problem is first i see the print preview.at that time total is correct.but when i came back and see the print preview again it displaying wrong.ie if first time the total is 'A'.Then second time it displaying like (A+A).
      other problem is when i see the print preview and displays it and go back and took the print at that time also it displaying (A+A).
    My code is like :
    *&      Form  GET_EXTPR_TOT
        this routine will get the LINE ITEM EXTENDED PRICE TOTALS When
        there is no PROMO CODE.
    form get_extpr_tot tables it_input structure itcsy it_output structure itcsy.
      data: v_vbeln2(10) type n.
      clear it_input.
      clear v_vbeln2.
      read table it_input index 1.
      move it_input-value to v_vbeln2.
      read table it_input index 2.
      move it_input-value to v_extpr_tot.
      v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
      read table it_output index 1.
      write v_extpr_tot1 to it_output-value left-justified.
      modify it_output index 1.
      clear it_output.
    endform.                    "GET_EXTPR_TOT
    Please Send ur valuable answers.
    Thanks,
    Srinivas.

    Hi Srinivas,
    In your script you can define the total variable in one of the header related elements that will be called. for exaple you can define it in the element
    /E HEADER_TARGET_VALUE
    /: DEFINE &V_EXTPR_TOT1& = ' '
    and change your code in ITEM_LINE_PRICE_QUANTITY element as follows
    /E ITEM_LINE_PRICE_QUANTITY
    /* Begin of modification (RICEF/Issue Number:F-SD-04) by sbhavanam
    /: PERFORM GET_EXTPR_TOT IN PROGRAM ZSP_SD_ORDCM.
    /: USING &VBDKA-VBELN&
    /: USING &V_PRICE&
    /: CHANGING &V_EXTPR_TOT1&
    /: ENDPERFORM
    your abap should look like this.
    FORM get_extpr_tot TABLES it_input STRUCTURE itcsy it_output STRUCTURE itcsy.
    DATA: v_vbeln2(10) TYPE n
    * CLEAR it_input.
    CLEAR v_vbeln2.
    CLEAR v_extpr_tot.
    READ TABLE it_input INDEX 1.
    MOVE it_input-value TO v_vbeln2.
    READ TABLE it_input INDEX 2.
    MOVE it_input-value TO v_extpr_tot.
    read table it_input index 3.
    move it_input-value to v_extpr_tot1.
    v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
    * v_extpr_tot_tst = v_extpr_tot_
    READ TABLE it_output INDEX 1.
    WRITE v_extpr_tot1 TO it_output-value LEFT-JUSTIFIED.
    MODIFY it_output INDEX 1.
    CLEAR it_output.
    ENDFORM. "GET_EXTPR_TOT
    that should solve your issues.
    -Kalyan

  • Calculation of total in sap script

    Hi All,
    Please help me out for this requirement.
    I have an amount field reguh-rbetr. I need to show the sum of this field as TOTAL.
    How can we do it? Please let me know. Is there any function in the script itself or do we need to calculate it in the program? Pl gimme example code.
    Regards,
    Priya

    Hi
    see the sample codes of the Subroutines and do accordingly
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    /: PERFORM
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    Example:
    In script form
    /: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    /: USING &EKKO-EKORG&
    /: USING &EKPO-WERKS&
    /: USING &EKKO-EKGRP&
    /: USING &EKKO-BSTYP&
    /: CHANGING &COMPNAME&
    /: CHANGING &SENDADR&
    /: CHANGING &INVCADR&
    /: CHANGING &COMPADR&
    /: CHANGING &COVERLTR&
    /: CHANGING &SHIPADR&
    /: CHANGING &REMINDER&
    /: CHANGING &REJECTION&
    /: CHANGING &POSTADR&
    /: CHANGING &LOGO&
    /: ENDPERFORM
    In program
    FORM Read_texts - To extract the standard texts from the table *
    FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : L_EKORG TYPE EKORG,
    L_WERKS TYPE WERKS_D,
    L_BSTYP TYPE BSTYP,
    L_EKGRP TYPE BKGRP.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
    CHECK SY-SUBRC = 0.
    L_EKORG = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
    CHECK SY-SUBRC = 0.
    L_WERKS = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
    CHECK SY-SUBRC = 0.
    L_EKGRP = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
    CHECK SY-SUBRC = 0.
    L_BSTYP = IN_PAR-VALUE.
    CLEAR Z08M1_ORG_TEXTS.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = L_BSTYP.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = SPACE.
    ENDIF.
    READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SENDADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'INVCADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COMPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REMINDER'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REJECTION'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'POSTADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'LOGO'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Total display in the ALV output

    Hi
    Is  do_sum  in the field catalog has some restriction to display SUM in the report output. In my report around 4000 records are displaying. For some of the fields do_sum  functionality used to display the total in the ouput. But for some fields it showing Total and remaining fields Total is not coming and it gives one messag  in the output "The field cannot be totalled because of field overflow". Message is coming from standard Include LSKBHF__ . Is there any way to display for all the fields other than writting logic for that.
    Regards
    Raj

    Example:
    TYPE-POOLS SLIS.
    DATA: BEGIN OF ITAB OCCURS 0,
           BELNR LIKE BSEG-BELNR,
           GJAHR TYPE I,
           WRBTR TYPE I,
           WAERS LIKE BKPF-WAERS,
           TOTAL TYPE P,
           AUGDT type BSEG-AUGDT,
          END OF ITAB.
    DATA: LAYOUT     TYPE SLIS_LAYOUT_ALV,
          IT_EVENTS  TYPE SLIS_T_EVENT,
          FCAT       TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          REC_FCAT   TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    START-OF-SELECTION.
      FCAT-COL_POS       = 1.
      FCAT-FIELDNAME     = 'BELNR'.
      FCAT-TABNAME       = 'ITAB'.
      FCAT-REF_FIELDNAME = 'BELNR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 2.
      FCAT-FIELDNAME     = 'GJAHR'.
      FCAT-TABNAME       = 'ITAB'.
      FCAT-REF_FIELDNAME = 'GJAHR'.
      FCAT-DATATYPE      = 'INT4'.
      FCAT-INTTYPE       = 'I'.
      FCAT-DO_SUM        = 'X'.
      APPEND FCAT.
      FCAT-COL_POS       = 3.
      FCAT-FIELDNAME     = 'WRBTR'.
      FCAT-TABNAME       = 'ITAB'.
      FCAT-DATATYPE      = 'INT4'.
      FCAT-INTTYPE       = 'I'.
      FCAT-DO_SUM        = 'X'.
      APPEND FCAT.
    FCAT-COL_POS       = 4.
      FCAT-FIELDNAME     = 'TOTAL'.
      FCAT-TABNAME       = 'ITAB'.
    *  FCAT-DATATYPE      = 'INT4'.
      FCAT-INTTYPE       = 'P'.
      FCAT-DO_SUM        = 'X'.
      APPEND FCAT.
    FCAT-COL_POS       = 5.
      FCAT-FIELDNAME     = 'AUGDT'.
      FCAT-TABNAME       = 'ITAB'.
      FCAT-REF_FIELDNAME = 'AUGDT'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
    BREAK DEVELOPER.
      DO 100 TIMES.
        ITAB-WRBTR = SY-INDEX.
        ITAB-GJAHR = SY-INDEX + 1.
       ITAB-TOTAL = ITAB-WRBTR / ITAB-GJAHR.
       itab-AUGDT = sy-datum.
        APPEND ITAB.
      ENDDO.
    *CALLING ALV
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          I_CALLBACK_PROGRAM = 'Z_TOT_ALV'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT   = LAYOUT
          IT_FIELDCAT = FCAT[]
          I_TABNAME   = 'ITAB'
          IT_EVENTS   = IT_EVENTS[]
        TABLES
          T_OUTTAB    = ITAB[].
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.

  • Update name, surname from display name - script needed

    Hello
    I'm moved from Postfix to Office365. My users has only display name field filled. This is a problem when we try to find an user, because only way is to find it when You will put name in search field.
    I decided to build a script that will first check if the user has "Name" is filled if not then we need to take  display name. Divide it (take first word into name and rest into
    surname). Next update users name and surname.
    I try to make such script but my skills are not enought to do it, so I ask You for help. I know that this is a piece of cake for You ;)
    Regards
    SLawek

    Hi,
    Prewritten scripts can be found in the repository here:
    https://gallery.technet.microsoft.com/scriptcenter
    If you don't find what you need and you can't write your own, you can request a script here:
    https://gallery.technet.microsoft.com/scriptcenter/site/requests
    Let us know if you have any specific questions.
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Conky doesn't display bash-script variables (array)

    I've been playing around with Conky and a bash script of mine. Unfortunately Conky displays only static text and not the array-variables in my script.
    In my script:
    ...some code here...
    echo "Static text: ${Variable[1]}"
    In my conkyrc:
    ...some code here...
    ${exec ~/Test/test.sh}
    The result is: "Static text: ". When running the script from the command line everything is fine. I've also tried with exec, execi, execp, texeci to no avail. Any ideas?
    Edit: I had to be more specific.
    Last edited by chilebiker (2009-10-06 03:30:20)

    Try echo -n "Static text: ${Variable[1]}"

  • [SOLVED] Switch x displays with script instead of ctrl-alt fx

    Hi, I am looking for a way to switch x displays on a computer without using the keyboard. Is this possible with a bash script of some sort?
    EDIT: I found chvt but that only works from a tty, running sh chvt X doesn't work from a terminal emulator.
    EDIT2: SOLVED: read this http://superuser.com/questions/69807/wh … ot-under-x
    Last edited by RiceKills (2010-10-30 18:27:56)

    chvt command maybe what you need.

  • Serif italic fonts display as script

    In Firefox 7, web sites which have some text styled as serif italic display as a strange script. A good example is the recipe site URL below but the problem occurs on most Wikipedia pages as well.
    I am including a screen shot of the recipe page in the troubleshooting section so you can see how the recipe page displays for me.
    [http://www.markhannondesign.com/clientJobs/Firefox_Serif-Ital_Display.jpg screen shot]

    You can do a check for corrupted and duplicate fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

Maybe you are looking for

  • E-Business Suite Integration with Oracle Identity Federation for SAML

    Has anyone developed a way to use OIF for e-Business Suite authentication through SAML rather than using the standard Identity Management stack of apps? Today we have Oracle e-Business Suite 115.10.2 using OSSO through OID with WNA for zero sign-on (

  • Using Line Item Dimension

    Hello Guru’s We have finished all initial loads to BW and now we are facing problems during the segmentation in CRM, using queries from BW. SAP consultants indicated to use “Line Item dimension”. Can we do it now? It is possible now to flag “line ite

  • Incoming virtual folder for all email account

    How can I make an incoming folder in mail.app like it is on mac: a virtual folder where all incoming messages from all accounts are displayed? I have several email accounts and it's very uncomfortable to dig into one account, then back to root^ than

  • Youtube not working on Safari 6

    Guys, I have read thread upon thread of solutions but none yet work. Youtube.com videos keep coming up as an error: "an error occurred. please try again later". I have no extensions installed and have done the following: 1) reset Safari entirely 2) u

  • I can't find some of the symbols I need

    Hello, I just purchased a new MacBook computer, and I have a couple of questions. The actual keys are in Spanish since I live in Mexico, but the language for everything else is in Spanish, but since it is, I can't look at the keyboard to find they ke