Auto Update configuration values in PO

Hi all,,
For Configurable material we have characteristics values. In PO, we have nth number of Material item and each item have different characteristics values.
User has to manually maintained characteristics values at each item level. Can't it be Automatic?
User don't want to maintained manually. 
please let me know, is there any process.
Regards,
babar

Hi ALL,
Please find below option which can be adopt..
1. Can system fetch characteristic values form attached excel to configuration tab for each material through some function module.
2. Create separate Z- screen with two radio button for to upload the Excel file and other to maintained material or PO number and execute. Program will update characteristics values in PO.
Please let me know, if any easy option is available.

Similar Messages

  • Auto Update of configuration values in PR from SRM.

    Hi,
    For Configurable material we have characteristics values.
    Material is configurable material with material type as services.
    Same ECC material is replicate in SRM.
    Create Shopping cart in portal SRM EBP for Multiple line item for material. Each material item will have different characteristics value.
    Currently User attaching excel sheet with different characteristic value in Shopping cart.
    Once Shopping cart no is created and Shopping cart no goes for approval.
    Once approved, PR is created automatically.
    Attached document is available in PR.
    Buyer has to maintain manually characteristics value for material in Purchase order (PO) for each material item.
    Is any way to Update Characteristics values in PR automatically when saving?
    Regards,
    Babar

    Hello,
    updated_by and update_datePlease use triggers to populate audit data. That's the best way to do.
    CREATE OR REPLACE TRIGGER "TRG_TABLE_NAME_BRU"
    BEFORE UPDATE ON "TABLE_NAME"
         REFERENCING OLD AS OLD NEW AS NEW
         FOR EACH ROW
    BEGIN   
         IF NOT UPDATING ('UPDATED_BY') OR :NEW.UPDATED_BY IS NULL THEN
              :NEW.UPDATED_BY := NVL(v('APP_USER'),USER);
         END IF;
         IF NOT UPDATING ('UPDATE_DATE') OR :NEW.UPDATE_DATE IS NULL THEN
              :NEW.UPDATE_DATE := SYSDATE;
         END IF;
    END TRG_TABLE_BRU;
    /Regards,
    Hari

  • Auto Update of characteristic values in PO from SRM.

    Hi,
    For Configurable material we have characteristics values.
    Material is configurable material with material type as services.
    Same ECC material is replicate in SRM.
    Create Shopping cart in portal SRM EBP for Multiple line item for material. Each material item will have different characteristics value.
    Currently User attaching excel sheet with different characteristic value in Shopping cart.
    Once Shopping cart no is created and Shopping cart no goes for approval.
    Once approved, PR is created automatically.
    Attached document is available in PR.
    Buyer has to maintain manually characteristics value for material in Purchase order (PO) for each material item.
    Is any way to Update Characteristics values in PR automatically when saving?
    Regards,
    Swapnil

    check if the condition is marked as statstical one in the pricing procedure

  • App auto updates are not saving configuration data for these Apps.

    I use Junos Pulse to connect to my work office on my iphone and my ipad air.    I am having problems when this App does an Auto Update from the App Store, that I loose all of my configuration settings.   I have co-workers that do not have this problem.  I'm at a loss to understand what settings on my devices are causing this to happen.

    now. SEEMS to be working o.k. again. but for how long ?
    do iDevices need a pre-update update in order to be able to install and apply an iOS update ???

  • Air Auto Update Error -- Flash Builder Burrito.

    This is my first attempt at this, so I may be missing something simple.
    I'm not having any luck getting an Air app to automatically update.
    If I manually go to  http://localhost/air1/air1.air and redownload the file I will get a popup that asks if I want to update the app, but when I say ok I get this error.
    "There was an error checking for updates. Error# 16816"
    I haven't found a reason yet,
    Any ideas?
    update.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
      <version>2.0</version>
      <url>http://localhost/air1/air1.air</url>
      <description>1.0 - First version</description>
    </update>
    file -- air1.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           applicationComplete="init()">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import air.update.events.UpdateEvent;
                import air.update.ApplicationUpdaterUI;
                import mx.controls.Alert;
                protected var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI(); // Used for auto-update
                protected function init():void
                    // Check for update
                    this.checkUpdate();
                    Alert.show("checking update");
                // This function is triggered when the application finished loading.
                // Initialize appUpdater and set some properties
                protected function checkUpdate():void
                    // set the URL for the update.xml file
                    appUpdater.updateURL = "http://localhost/air1/update.xml";
                    appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate);
                    appUpdater.addEventListener(ErrorEvent.ERROR, onUpdaterError);
                    // Hide the dialog asking for permission for checking for a new update.
                    // If you want to see it just leave the default value (or set true).
                    appUpdater.isCheckForUpdateVisible = true;
                    appUpdater.initialize();
                // Handler function triggered by the ApplicationUpdater.initialize.
                // The updater was initialized and it is ready to take commands.
                protected function onUpdate(event:UpdateEvent):void
                    // start the process of checking for a new update and to install
                    appUpdater.checkNow();
                // Handler function for error events triggered by the ApplicationUpdater.initialize
                protected function onUpdaterError(event:ErrorEvent):void
                    Alert.show(event.toString());
            ]]>
        </fx:Script>
        <s:Button x="47" y="55" label="Button"/>
        <mx:ColorPicker x="61" y="119"/>
        <s:ComboBox x="77" y="216"/>
        <s:ComboBox x="77" y="185"/>
        <s:ComboBox x="77" y="154"/>
    </s:WindowedApplication>
    file  -- air1-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
                The last segment of the namespace specifies the version
                of the AIR runtime required for this application to run.
        minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
        Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
        <id>air1</id>
        <!-- Used as the filename for the application. Required. -->
        <filename>air1</filename>
        <!-- The name that is displayed in the AIR application installer.
        May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <name>air1</name>
        <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
        Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
        An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
        <versionNumber>2.0.0</versionNumber>
        <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
        <!-- <versionLabel></versionLabel> -->
        <!-- Description, displayed in the AIR application installer.
        May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <!-- <description></description> -->
        <!-- Copyright information. Optional -->
        <!-- <copyright></copyright> -->
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
        <!-- <publisherID></publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
        <initialWindow>
            <!-- The main SWF or HTML file of the application. Required. -->
            <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
            <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
            <!-- The title of the main window. Optional. -->
            <!-- <title></title> -->
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
            <!-- <systemChrome></systemChrome> -->
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
            <!-- <transparent></transparent> -->
            <!-- Whether the window is initially visible. Optional. Default false. -->
            <!-- <visible></visible> -->
            <!-- Whether the user can minimize the window. Optional. Default true. -->
            <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
            <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
            <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
            <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
            <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
            <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
            <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
            <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
            <!-- <maxSize></maxSize> -->
        <autoOrients>false</autoOrients>
        <fullScreen>false</fullScreen>
        <visible>false</visible>
      </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
        <!-- which in turn permits your application to be deployed to all -->
        <!-- devices supported by AIR. If you wish to restrict deployment -->
        <!-- (i.e., to only mobile devices) then add this element and list -->
        <!-- only the profiles which your application does support. -->
        <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <!-- The subpath of the standard default installation location to use. Optional. -->
        <!-- <installFolder></installFolder> -->
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
        <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
        specify the path to a PNG file included in the AIR package. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image36x36></image36x36>
            <image48x48></image48x48>
            <image72x72></image72x72>
            <image128x128></image128x128>
        </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
        of the AIR file (true), or the default AIR application installer handles the update (false).
        Optional. Default false. -->
        <!-- <customUpdateUI></customUpdateUI> -->
        <!-- Whether the application can be launched when the user clicks a link in a web browser.
        Optional. Default false. -->
        <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
        <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
            <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                <!-- <extension></extension> -->
                <!-- The description of the file type. Optional. -->
                <!-- <description></description> -->
                <!-- The MIME content type. -->
                <!-- <contentType></contentType> -->
                <!-- The icon to display for the file type. Optional. -->
                <!-- <icon>
                    <image16x16></image16x16>
                    <image32x32></image32x32>
                    <image48x48></image48x48>
                    <image128x128></image128x128>
                </icon> -->
            <!-- </fileType> -->
        <!-- </fileTypes> -->
        <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
        <!--<android>
            <manifestAdditions>
            <![CDATA[
                <manifest android:installLocation="auto">
                    <uses-permission android:name="android.permission.INTERNET"/>
                    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                    <uses-configuration android:reqFiveWayNav="true"/>
                    <supports-screens android:normalScreens="true"/>
                    <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                    <application android:enabled="true">
                        <activity android:excludeFromRecents="false">
                            <intent-filter>
                                <action android:name="android.intent.action.MAIN"/>
                                <category android:name="android.intent.category.LAUNCHER"/>
                            </intent-filter>
                        </activity>
                    </application>
                </manifest>
            ]]>
            </manifestAdditions>
        </android> -->
        <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
    </application>

    This appears to be a Flex question. Please try posting to the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion for better response.

  • Auto-update: invalid user name / password

    Hello,
    I have changed out the CCO username and password for an IPS configured for auto-update but cannot get the IPS to correctly update its signature any longer.  I have verified that the CCO login is correct and that it can download a signature file directly using a web browser interface. However, every attempt to get the IPS to update automatically results in the following error:
    Auto Update Statistics
       lastDirectoryReadAttempt = 15:05:29 UTC Mon Sep 29 2014
        =   Read directory: https://72.163.4.161//cgi-bin/front.x/ida/locator/locator.pl
        =   Error: invalid user name/password combination
    (Note: I have the URL set to 'www.cisco.com')
    Thanks,

    FYI - just to close my own issue.
    The issue was resolved by using the cli to set the values and perform a one-time update. Once that was successful, all future signature updates have worked fine through the gui.

  • Auto update typedef not working in LabVIEW 2009

    I was creating a type def for a customized button control and trying to figure out what action went with each of the 6 different picture images.  In the process, I found that the only way I could get my VI to auto-update the control was through using a strict typedef.  The auto update from typedef was selected, and the VI would be broken everytime I went to modify it until I saved and closed the control, but the control on the VI would not be auto updated.  I would have to replace the control to activate the change (similar to what I would need to do if the control was configured as a control and not a typedef)  This may be a bug that needs to be looked into, but I don't know where to make a bug report.
    I did find the solution to which picture image went to which action, the help files only explained 4 images.  I'll post what I found here just for reference.  The images are in the following order on the right click menu:
        1 2 3
        4 5 6
    With the following explanations for each:
     1. False Case
     2. True Case
     3. True-to-False Transition Case (time between mouse click and the release of the click)
     4. False-to-True Transition Case
     5. Mouse Hover Case when False
     6. Mouse Hover Case when True
    -Mike

    astromike wrote:
    Then that makes sense.  I'm currenlty only dealing with the appearance, I haven't dug into the Block Diagram on this one yet.  I was trying to get the appearance of the button to act correctly first, but I didn't have a good explanation of which image state did what.  Each time I tried to change it, I thought it would update on the Front Panel with the "auto update" checked.  At one point yesterday I did have the right images on the right states, but didn't see the change because it was only a typedef.  I'll keep it as a strict typedef and am glad to hear that it was with how little I understand these custom controls when used as a visual control.
    We definitely do not want the image traveling inside the Block Diagram.
    Here is my Nugget on Type defs. There may be something in there that can help you. At the tail end I mention default values and ways to handle them.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • What is the Flash Player auto-update behaviour for users without admin credentials on OSX and Windows?

    Hi
    Does Flash Player auto-update have the ability to update systems when a user does not have administrator access on their device?
    What will the results be if we enable Flash Player auto-update on OSX and Windows systems where:
    1.  Users are log in with accounts that DO NOT have administrator access; and
    2.  Internet access is granted via a proxy server, but only when a user with NO administrator credentials is logged in.
    Thanks in advance.

    Maria
    So there's no way to completely turn off user notification AND allow background updates unless you use a locally hosted update server?  That's too bad.
    Reading page 26 of the manual, I see there's an mms.cfg file that you can configure, with an option SilentAutoUpdateEnable, which is described on page 32:
    SilentAutoUpdateEnable
    SilentAutoUpdateEnable = [ 0, 1 ] (0 = false, 1 = true)
    Availability: Flash Player 11.2 for Microsoft Windows, and Flash Player 11.3 for Macintosh
    Enables a Flash Player update to install silently in the background with no user interaction. Installs both the ActiveX and plug-in players when appropriate. This type of update is called a Flash Player background update.
    Standard users cannot disable background updates if they are enabled by an administrator.
    Depending on the type of browser, if the user has a browser open at the time of an update, the browser might not use the updated player immediately. For more information, see "Performing a background update" on page 19.
    The default value is 0 to disable background updates.
    So you're saying that even if we enable this option (but don't configure a local server), users may still be prompted some or all of the time?

  • MyGtkMenu dinamic menu generator (auto-updated)

    I switched from lxpanel to bmpanel2 about a week or 10 days ago. With lxpanel I used the menu it provides, but bmpanel2 doesn't cames with a menu widget. One of the solutions suggested is use myGtkMenu, called from a launcher. I use Openbox with obmenugen, which auto-updates the menu every time I call it (right click on desktop), so, I want the same approach with myGtkMenu. This means that if I install a new application and it puts a .desktop file (which is the most common behavior), when I right-click in the desktop, and the menu is shown, the application is already under the category it belongs.
    The first version of obmenugen I wrote, was in python. obmenugen has evolved a lot since that, but the original python script, still having the main code needed to get the information from .desktop files, so, I tweaked the script and quickly have a usable version which generates a dinamic menu using the information present in .desktop files (/usr/share/applications/*.desktop).
    By now, the script still not adding icons to the menu, so, you end having a menu that looks similar to the Openbox menu. The layout of the menu is quite fixed (I don't know the term in english to describe "rígido"). To configure it, you must tweak the script itself, but it's easy if you don't need so much.
    In the future (I hope soon) I will be writing a modified version of obmenugen, also in the D programming language, with the same flexibility as obmenugen, but generating in myGtkMenu format.
    Edit it as needed (CONFIG, MY_GTK_MENU_BINARY, MENUPOS), and simply run it directly (save the code to a file, give it execution permissions, and call it).
    This is the script:
    #!/usr/bin/env python
    # -*- coding: UTF-8 -*-
    __license__ = """
    Copyright 2010 Pável Varela Rodríguez <[email protected]>
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.
    __author__ = "Pável Varela Rodríguez <[email protected]>"
    __version__ = "0.1"
    ### EDIT THIS TO YOUR NEEDS ###
    CONFIG = {
    "Terminal": "sakura",
    "Editor" : "gedit",
    "FileManager" : "thunar",
    "RunCommand" : "gmrun",
    "ExitCommand" : "oblogout"
    MY_GTK_MENU_BINARY="~/bin/myGtkMenu"
    MY_GTK_MENU_FILE="/tmp/myGtkMenu.txt"
    ICONSIZE=-1 # Set to -1 to ignore icon
    MENUPOS=(1, 30) # Set both to -1 to ignore position
    ### DO NOT EDIT FROM HERE ###
    import os, re
    OB_CFG_HOME = os.path.expanduser("~/.config/openbox")
    DEFAULT_CFG = {
    "Terminal": "xterm",
    "Editor" : "gedit",
    "FileManager" : "thunar",
    "RunCommand" : "gmrun"
    LANG = {}
    LANG["Long"] = os.environ["LANG"].split(".")[0]
    LANG["Short"] = LANG["Long"].split("_")[0]
    DOT_DESKTOP_LOCATIONS = [
    "/usr/share/applications",
    "/usr/share/applications/kde4"
    FILTERS = {
    "dotDesktop": re.compile('.+\.desktop'),
    "Categories": re.compile('Categories=.+'),
    "Name": re.compile('Name(\[(en_US|en)\]|)=.+'),
    "Exec": re.compile('Exec=.+'),
    "Icon": re.compile('Icon=.+'),
    CATEGORIES_PRIORITY = ["01System", "02Settings", "03Development", "04Education",
    "05AudioVideo", "06Audio", "07Video", "08Office",
    "09Graphics", "10Network", "11Utility", "12Viewer",
    "13Game"]
    MENU_TEMPLATE = """
    MENU_TOP
    SEPARATOR
    MENU_ACCESORIES
    MENU_GRAPHICS
    MENU_EDUCATION
    MENU_AUDIOVIDEO
    MENU_OFFICE
    MENU_GAMES
    MENU_NETWORK
    MENU_DEVEL
    MENU_SETTINGS
    MENU_SYSTEM
    SEPARATOR
    #submenu = Openbox Settings
    #\ticon = NULL
    #\tMENU_OPENBOX
    EXIT
    MENU_TOP = """item=Terminal\ncmd="%s"\nicon=NULL\n
    item=Editor\ncmd="%s"\nicon=NULL\n
    item=FileManager\ncmd="%s"\nicon=NULL\n
    item=Run\ncmd="%s"\nicon=NULL\n"""
    MENU_CATEGORY = """submenu = %s\n\ticon = NULL\n%s\n\n"""
    ITEM_ACTION = """\titem=%s\n\tcmd="%s"\n\ticon=%s\n\n"""
    MENU = ""
    LISTS = {
    "accesories": {"categories": ["utility"], "label": "Accesories", "files": []},
    "graphics": {"categories": ["graphics"], "label": "Graphics", "files": []},
    "education": {"categories": ["education"], "label": "Education", "files": []},
    "audiovideo": {"categories": ["audiovideo", "audio", "video"], "label": "Audio & Video", "files": []},
    "office": {"categories": ["office"], "label": "Office", "files": []},
    "games": {"categories": ["game"], "label": "Games", "files": []},
    "network": {"categories": ["network"], "label": "Network", "files": []},
    "devel": {"categories": ["development"], "label": "Development", "files": []},
    "settings": {"categories": ["settings"], "label": "Settings", "files": []},
    "system": {"categories": ["system"], "label": "System Tools", "files": []}
    def getDotDesktopFiles():
    filelist = []
    for directory in DOT_DESKTOP_LOCATIONS:
    utf8_dir = directory.decode('utf8')
    filelist += [os.path.join(utf8_dir, item.decode('utf8'))
    for item in os.listdir(directory)
    if FILTERS["dotDesktop"].match(item)]
    return filelist
    def __cleanValue(value):
    for to_clean in ["%U", "%u", "%F", "%f", "\n"]:
    value = value.replace(to_clean, "")
    value = value.replace("&", "&")
    value = value.strip()
    return value
    def getName(content):
    for line in content:
    if FILTERS["Name"].match(line):
    return __cleanValue(line.split("=")[1])
    return None
    def getCategory(content):
    for line in content:
    if FILTERS["Categories"].match(line):
    categories = [item.replace("\n", "") for item in line.split("=")[1].split(";")]
    for cat in CATEGORIES_PRIORITY:
    if cat[2:] in categories:
    return __cleanValue(cat[2:])
    return None
    def getExecCmd(content):
    for line in content:
    if FILTERS["Exec"].match(line):
    return __cleanValue(line.split("=")[1])
    return None
    def getIcon(content):
    if ICONSIZE > 0:
    for line in content:
    if FILTERS["Icon"].match(line):
    return __cleanValue(line.split("=")[1])
    return "NULL"
    def parseDotDesktopFile(filepath):
    content = open(filepath, "r").readlines()
    name = getName(content)
    category = getCategory(content)
    exec_cmd = getExecCmd(content)
    icon = getIcon(content)
    if None in [name, category, exec_cmd]:
    return None
    else:
    return {"Name": name,
    "Category": category,
    "Exec": exec_cmd,
    "Icon": icon}
    def fillLists():
    files = getDotDesktopFiles()
    for currentFile in getDotDesktopFiles():
    info = parseDotDesktopFile(currentFile)
    if info:
    for category_list in LISTS.keys():
    if info["Category"].lower() in LISTS[category_list]["categories"]:
    LISTS[category_list]["files"].append(info)
    def __genMenuTop():
    for key in CONFIG.keys():
    if CONFIG[key]: DEFAULT_CFG[key] = CONFIG[key]
    return MENU_TOP % (DEFAULT_CFG["Terminal"],
    DEFAULT_CFG["Editor"],
    DEFAULT_CFG["FileManager"],
    DEFAULT_CFG["RunCommand"])
    def __genCategoryMenu(category):
    items = ""
    LISTS[category]["files"].sort()
    for item in LISTS[category]["files"]:
    items += ITEM_ACTION % (item["Name"], item["Exec"], item["Icon"])
    if not items:
    return ""
    menu_label = LISTS[category]["label"]
    return MENU_CATEGORY % (menu_label, items)
    def __genMenuOpenbox():
    items = ""
    AUTOSTARTSH = os.path.join(OB_CFG_HOME, "autostart.sh")
    if not os.path.exists(AUTOSTARTSH):
    f = open(AUTOSTARTSH, "w")
    f.close()
    os.chmod(AUTOSTARTSH, 0744)
    items += ITEM_ACTION[8:] % ("Configure Autostarted Applications", "%s %s" % (DEFAULT_CFG["Editor"], AUTOSTARTSH))
    for item in LISTS["settings"]["files"]:
    if item["Exec"] in ["obconf"]:
    items += ITEM_ACTION[:-1] % (item["Name"], item["Exec"], item["Icon"])
    return items
    def __genMenu():
    fillLists()
    MENU = MENU_TEMPLATE.replace("MENU_TOP", __genMenuTop())
    for category in LISTS.keys():
    MENU = MENU.replace("MENU_%s" % category.upper(), __genCategoryMenu(category))
    #MENU = MENU.replace("MENU_OPENBOX", __genMenuOpenbox())
    MENU = MENU.replace("EXIT", "\nitem=Exit\ncmd=%s\nicon=NULL\n" % CONFIG["ExitCommand"])
    if ICONSIZE > 0:
    MENU = "iconsize = %d\n%s" % (ICONSIZE, MENU)
    if MENUPOS[0] > 0 and MENUPOS[1] > 0:
    MENU = "MenuPosition = %d %d\n%s" % (MENUPOS[0], MENUPOS[1], MENU)
    return MENU
    def __writeMenuFile(content):
    filePath = os.path.join("/tmp", MY_GTK_MENU_FILE)
    menuFile = open(filePath, "w")
    menuFile.write(content)
    menuFile.close()
    if __name__ == "__main__":
    if len(os.sys.argv) > 2:
    print("Bad arguments length!!")
    elif "--help" in os.sys.argv or "-h" in os.sys.argv:
    print "La ayuda"
    elif len(os.sys.argv) == 1:
    menu = __genMenu()
    #print(menu)
    __writeMenuFile(menu)
    os.system("%s %s" % (MY_GTK_MENU_BINARY, MY_GTK_MENU_FILE))
    else:
    print("Argument error: %s" % " ".join(os.sys.argv[1:]))
    The only things you need to edit are those present in the first section of the script. If you know wath you do, can also change the order of the categories, editing MENU_TEMPLATE.
    The most important are settings are:
    - MY_GTK_MENU_BINARY: Which you must set up to the myGtkMenu binary (the full path or simply myGtkMenu if it is in $PATH)
    - CONFIG: Put there the tools you use
    - MENUPOS: If you will use the generated menu the way Openbox show it's own menu (ie. with compiz+emerald standalone), set this to (-1, -1), the menu will appear just under the mouse pointer. I setted it to (1, 30), because I have my bmpanel2 at screen's top, and the launcher is at the begining (the left).
    Sorry about the ugly code, but this was written to do the job, quick and dirty.
    I hope you enjoy it, and wait for next versions, which will be really flexible and fast, as obmenugen.
    See you
    Last edited by NeOnsKuLL (2010-01-05 05:32:48)

    I used this script and it as the icon names generated by it are the ones in the .desktop files, myGtkMenu was not able to show icons. So i inserted a piece of code from cbpanel to get the absolute path into the mygtkmenu file.
    Here is the relevant piece of code:
    #copied from the cbpanel code
    def find_icon(icon):
    foundiconfile=None
    if icon == '':
    return foundiconfile
    if icon[0] == '/':
    return icon
    iconbase=('','Faenza','elementary','gnome','hicolor','locolor')
    iconpath='/usr/share/icons'
    sizelist =('', 'scalable', '256x256', '128x128', '64x64', '48x48', '32x32', '24x24')
    categorylist=('actions', 'apps','devices', 'categories','filesystems', 'places', 'status', 'stock', '')
    extensionlist = ('png', 'svg', 'xpm')
    iconimagelist=[]
    for extension in extensionlist:
    if (icon.find('.'+extension) != -1):
    icon = icon.replace('.'+extension,'')
    for size in sizelist:
    for extension in extensionlist:
    for category in categorylist:
    for iconbasecat in iconbase:
    iconfile = iconpath+"/"+iconbasecat+'/'+size+'/'+category+'/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    for extension in extensionlist:
    iconfile = '/usr/share/pixmaps/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    for extension in extensionlist:
    iconfile = '/usr/share/app-install/icons/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    # Seek if the files in pre-generated list exists.. first match is the best
    # return it
    for iconimage in iconimagelist:
    if os.path.exists(iconimage):
    return iconimage
    return foundiconfile
    #end of copy from cbpanel code
    And the relevant modification in NeOnsKuLL's script:
    def getIcon(content):
    if ICONSIZE > 0:
    for line in content:
    if FILTERS["Icon"].match(line):
    #return __cleanValue(line.split("=")[1])
    return find_icon(__cleanValue(line.split("=")[1]))
    return "NULL"
    This is my first attempt at doing anything with Python, so somebody with  any skills will do much better  than this copy-paste job
    I have no idea why the icons were not displayed in the first place though.
    Hope somebody finds it useful as I found NeOnsKull's script.

  • How to display more than 10 rows in an Auto Updating Report

    I followed Carl Backstorm's example, http://htmldb.oracle.com/pls/otn/f?p=11933:40:525653462286833::NO:RP:: to create a page with an auto update report/region. It's working fine (thanks, Carl) but I can't have the report display all rows (38 rows in total). Everytime I press the "Manual Refresh" button, it shows 10 (the first 10) rows only.
    When the report displays at the first time, it shows all the rows (38 rows). Number of Rows and Maximum Row Count are set to 999999 and "No Pagination Selected" in the report region. But after I press the "Manual Refresh" button or specifiy an update time value (like 1 second) to have it auto update, then it only display the first 10 rows.
    Is there a way to display more than 10 rows in an Auto Updating Report using Carl's example auto update report/page? Anyone can help? Thank you.
    -Michele
    Edited by: 106451 on Jun 30, 2010 10:12 AM

    Yes, I changed it to:
    function table_object(pId){
         this.id = pId;
         this.start_record = 1;          //optional
         this.num_record = 50; //optional
         this.num_record2 = 50;          //optional
    I don't quite understand how these vaiables are used for though. Thanks.

  • 10.5.6 auto update not working and how I fixed it

    I ran into an issue installing 10.5.6 like many others apparently have. I'd run the auto update and it would stall at Configuring Installation with the progress bar moving maybe 1/8th of the way. I'd restart and try again with no success.
    I tried verifing the disk but it found no issues.
    When I tried the combo-updater it told me my hard drive didn't meet the requirements for the update.
    The one thing I was missing was 10.5.5. I was still running 10.5.4. The funny part is that the auto updater didn't recognize it and kept trying to push 10.5.6 and the combo-updater didn't recongize it either.
    In the end I downloaded the 10.5.5 updater from http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1055comboupdate .html. After it installed I was allowed to install 10.5.6
    In my opinion the autoupdater should have caught this.

    Spyer wrote:
    I ran into an issue installing 10.5.6 like many others apparently have. I'd run the auto update and it would stall at Configuring Installation with the progress bar moving maybe 1/8th of the way. I'd restart and try again with no success.
    I tried verifing the disk but it found no issues.
    When I tried the combo-updater it told me my hard drive didn't meet the requirements for the update.
    The one thing I was missing was 10.5.5. I was still running 10.5.4. The funny part is that the auto updater didn't recognize it and kept trying to push 10.5.6 and the combo-updater didn't recongize it either.
    In the end I downloaded the 10.5.5 updater from http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1055comboupdate .html. After it installed I was allowed to install 10.5.6
    In my opinion the autoupdater should have caught this.
    I agree - that sounds like a bug to me.
    You could have downloaded the combo 10.5.6 update which works with any version of Leopard from 10.5.1 up and not have bothered with 10.5.5.
    http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1056comboupdate .html

  • How can I set the insert date to auto update in Pages 5.2.2

    how can I set the insert date to auto update in Pages 5.2.2
    I am attempting to have the date in header auto update in a Pages file.
    I can insert it, but where is the AUTO UPDATE selection
    OS10.9.4
    thank you

    Apple never included the auto-update feature for dates in Pages v5.2.2. You would have to single-click the date, and deliberately update it.
    If you have Pages ’09 v4.3 in /Applications/iWork '09, then it will allow you to configure auto-update of the date field. Right-click on the date, set the format, and click the selection for automatically update on open.

  • Adobe air 2.6 auto update problem..

    hi friends,
    i am writing a multitouch application for like kiosk machine..
    and i want to add auto update functionally,
    i write this codes, but i am getting There was an error downloading the update. Error# 16824 error after downloading update...
    update_2_6.xml :
    <?xml version="1.0" encoding="utf-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
        <versionNumber>0.0.4</versionNumber>
        <url>http://www.abc.com/updates/RixossIBoard_v004.air.zip</url>
        <description>This is an AIR2.6 release of my application</description>
    </update>
    update_config.xml :
    <?xml version="1.0" encoding="utf-8"?>
    <configuration xmlns="http://ns.adobe.com/air/framework/update/configuration/1.0">
        <url>http://www.abc.com/updates/update_2_6.xml</url>
        <delay>0</delay>
         <defaultUI>
           <dialog name="checkForUpdate" visible="false" />
           <dialog name="downloadUpdate" visible="true" />
           <dialog name="downloadProgress" visible="true" />
           <dialog name="installUpdate" visible="true" />
       </defaultUI>    
    </configuration>
    in flash code:
    var updater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
    updater.configurationFile = new File("app:/update_config.xml");
    updater.addEventListener(UpdateEvent.INITIALIZED, updaterInitialized);
    updater.addEventListener(ErrorEvent.ERROR, hatavarupdate);
    //updater.addEventListener(ErrorEvent.ERROR.hatavarupdate);
    updater.initialize();
    function hatavarupdate(evt:ErrorEvent):void
        //trace (evt.type);   
    function updaterInitialized(e:UpdateEvent):void{
        updater.checkNow();
    what is problem?
    it check update ok, download update ok, but after download update i get the There was an error downloading the update. Error# 16824
    Thanks for relation,
    Ercan

    Why don't you post some of the relevant lines for your application?
    Makes hard to guess what the issue is otherwise.
    The first line of your matching app file (<appname>-app.mxml) must have the same matching air sdk version as in...
    <application xmlns="http://ns.adobe.com/air/application/2.6">
    The version number if that same file must match the versionNumber in your update file, as in
    <versionNumber>0.0.4</versionNumber>
    Compile it and distribute it to the url specified in your update xml file
    http://www.abc.com/updates/RixossIBoard_v004.air.zip
    Manually check your app:/update_config.xml - make sure it is what you think it is
    Don

  • Apple iOS 7 app auto updates and supervised devices

    I'm in the process of deploying a small number of iPads to our internal users, we had a question around automatic app updates in iOS 7. It would be nice if these devices were able to pull app updates down and install them automatically, but there are 2 problems with this for us. The first is that an itunes account was used to aquire a few free apps, these apps were then installed via configurator, but we will not be signing in to this account on the device. Default behavior unless a supervised iPad is plugged into itunes or signed in manually is to leave the apple id field blank, will updates install without an apple id on the device? Also, if a user signs in to there perosnal apple id will automatic updates download for an app downloaded with a different apple id? Second, were removing the app store from the device, but allowing apps to be installed. This should in theory allow updates to be installed automatically on the device, however we are unsure if this is the case. Does the app store need to be enabled for the device to check in? or does automatic updating happen regardless?

    I can now confirm the apple technician was incorrect. Auto updates WILL NOT install on a device that does not have an apple id signed into it. I've done as much testing as I could with and without signing in and none of the multiple devices I have will automatically download updates until I sign in to the account the app was purchased under. Ultimately this is new for apple, and in addition to that this scenario is faced by very few customers managing these devices So i understand getting this information incorrect. This post is more or less a warning to anyone managing supervised ipads where applications are being installed and no apple id associated with the device, dont rely on automatic updates to keep your apps up to date; you will either have to sign into the ipad and turn on automatic updating, or manually install each update via configurator when they are released.

  • Stop auto updating

    how can I stop Fire Fox 11 from auto update to FF14 ?I need FF11 and no higher for the version of Facebook i'm using

    Change your update preference from automatic to notification. See this article:
    https://support.mozilla.org/en-US/kb/update-firefox-latest-version#w_how-do-i-configure-update-32optionssf33preferencessf
    By the way, after each update Mozilla publishes the security vulnerabilities in the previous release, so running old versions does expose you to potential exploits. I have no idea why you can't run Firefox 14 on your version of Facebook (???), but you will have to decide what level of risk to run. Good system backups are advisable.

Maybe you are looking for

  • Print problem in EP.

    Hello to all, I have shown Customize T-Code in EP which includes ALV Report . Now when I want to take the print of the ALV Data by clicking on  system->print. One pop up window open which ask for the output device .I enter the particule output Device

  • SCCM Custom report

    Hi I have been asked to put together some custom reports out of SCCM 2012. Now I have looked through the reference for 2007 but there have been changes between the two products so now all the information is valid. I am hoping that someone has either

  • Windows Server 2008 R2 Service Pack 2

    Does anyone know when we can expect Service Pack 2 to be released?  The latest info I can find here is from 2012 and still no Service Pack 2 for this version of Windows Server. Thanks!!

  • Determine size of tables/tablespaces on disk using EM

    Hi, I now have access to 10g Enterprise Manager - newbie. Usually use user-segments to find size of table/tablepace on disk. Is there a way to do this uisng Enterprise Mnager? Thanks

  • Blind Network

    Hey everyone, I work on a mac (OS X, 10.4, G4.) in windows environment. Recently I needed to connect to the shared network first time, but when connected, the network seems empty, not a file insight. When I tryed to upload files, it didn't work eithe