Running CSAP_MAT_BOM_MAINTAIN with JCo, is it possible?

Hello,
I am trying to use CA-PLM BAPI:s by the Java Connector but  CSAP_MAT_BOM_MAINTAIN gives constant exception to my application:
JCO.AbapException: (126) ERROR: Terminate processing
At the same time for example BAPI_MATERIAL_SAVEDATA works fine.
Do You have any ideas what is the problem with the bom function, could it be used by the JCo or is there alternative BAPI for that?
regards,
a

Hello
seems to me that this error comes from SAP so check if you call the BAPI with the right params (also try in directly in SAP to test BAPI with given parameters in SE37 and see if an ABAP exception is raised)
See JCO Docs:
public void execute(JCO.Function function)
    Executes the function on the remote server synchronously
    Parameters:
        function - the function to execute on the remote server
    Throws:
        JCO.AbapException - thrown if something went awry in the called function.
        JCO.Exception - thrown if something went wrong during communication, marshalling, etc.
unfortunately all exception from JCo are derived from RuntimeException, so they are unchecked and the Java compiler doesn't force you to catch them.
try something like this
JCO.Client client = .....
try {
  client.execute (function)
} catch (JCO.AbapException ex) {
  System.out.println ("Exception raised by SAP System");
  System.out.println (ex.getKey() + ": " + ex.getMessage());
Regards
franz
reward points if useful

Similar Messages

  • Running 8i with 96B - is it possible?

    I would like to install 8i on an old machine that has 96MB of RAM (documentation states that 128MB is the minimum). When I run the installer, the X window appears briefly, then disappears.
    Has anyone had any luck doing this, or should I plan on getting the machine to 128MB?
    Thanks in advance...
    Jeff

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jeff Fineberg ([email protected]):
    I would like to install 8i on an old machine that has 96MB of RAM (documentation states that 128MB is the minimum). When I run the installer, the X window appears briefly, then disappears.
    Has anyone had any luck doing this, or should I plan on getting the machine to 128MB?
    Thanks in advance...
    Jeff<HR></BLOCKQUOTE>
    A few months ago I had a 64MB of RAM and Celeron 466MHz, I installed Oracle8i (8.1.6 release) on this machine with success. All gone ok. The database worked ok.
    My distribution is Slackware 7.1.
    Greetings,
    Roman.

  • Is it possible to install Snow Leopard on a PC and to run it with two Nvidia Quadro Cards and 8 Screens?

    Is it possible to install Snow Leopard on a PC and to run it with two Nvidia Quadro Cards and 8 Screens?

    Furthermore, all new Macs since 2006 have been able to have Windows or Linux installed on them natively with virtualization engines*:
    http://www.macmaps.com/macosxnative.html#WINTEL
    You may even want to consider a used Mac Pro*:
    http://www.macmaps.com/usedrefurbished.html

  • I need to sync an iPhone 3GS to a new Mac book air. The phone is currently synched with a machine running windows xp. Is this possible ?

    I bought my wife a Mac book air to replace her windows lap top and want to sync her  IPhone 3GS  to her new computer. The phone is currently synced to a machine running windows xp. Is this possible ?

    Did a bit more research on this and moving iTunes isn't enough.  You will only get the iTunes library and not data like contacts, etc.  You should take both computers to the apple store.  They will migrate your data  from one to the other for you.

  • VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction id in results:

    Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    Hello All,
    I am facing the following error while running a loadtest (when i choose the scenario to be executed for No of test iterations). But the same loadtest with the Run duration for X minutes is running fine without any issues. 
    Any suggestions on the issue i am facing
    error is :
    could not read result repository: unknown transaction id in results:
    or
    could not read result repository: unknown request id in results: 
    Thanks
    Satish

    Hi Kotapati,
    >>Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    According to your description, you mean that when you run your load test using the Test Iterations way and then get the error message, am I right?
    If yes, please you try to close the VS, and then open this VS again. Then clean your load test project/solution and then re-build it, run your load test again check this issue again.
    In addition, I suggest you could try to create a new load test and then run it using Test Iterations way check if you get the issue for the specified load test or all load tests.
    If possible, I suggest you could share me simple load test for us so that we will further help you.
    You could upload your load test to OneDrive and then copy link here.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I get my games to run smooth with apple tv. I'm getting jerky movement

    How can I get my games to run smooth with apple tv?

    Check your network for interference (www.istumbler.net, check router manual in regards to changing channels) and other activities possibly running in the background.

  • My Macbook Air is running slow with Yosemite.

    My Macbook Air is running slow with Yosemite.
    I checked out most of the blogs and everything and have removed widgets from the notification center, but everything seems to run kinda slowly.
    Sure, i have the base model 2014 macbook air but that 4 gb ram should run a freakin finder just fine. I had Mavericks installed before, and with that, i could do everything. I even made cool music in GarageBand and nothing was lagging for me. Now i installed Yosemite... Everything is lagging. Scrolling seems like it happens around 10 FPS. That aint good man. Memory cleaner says around 1gb ram free when only the finder is running in the background (before it did around 2). I just uninstalled Memory Cleaner o I'm not looking at that little amount of memory. I don't know what to do now? I would appreciate it, if someone would help me. Otherwise, ill just wait for a new update.

    Since it's new I would take it back for repair or exchange under your warranty before bothering to read further.
    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Yosemite: Reboot from the Recovery HD. Select Reinstall OS X from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    5. Reinstall Yosemite from Scratch:
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    How to Clean Install OS X Yosemite
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • [FIXED] Compiz runs only with emerald and crashes with metacity

    Hey,
    I currently try to use a metacity theme and have compiz enabled but apparently that's something compiz doesn't really like.
    One think i noticed in fusion-icon is that the entire metacity option under: "Select Window Devorator" is just not there.. (or was that always the case?)
    Oke, things i have done so far:
    - Search this forum (obviously) nothing found with a solution
    - Searched the wiki (same results)
    - in gconf-editor /desktop/gnome/session/required_components/windowmanager set to compiz (like said in the Compiz wiki page on archlinux.org
    - disabled metacity as compositing manager (tried with enabled as well but the same results)
    - right now i have the compiz bash script from ubuntu (tweaked a little) and that starts up compiz just fine but not with metacity
    And incase you want the script:
    #!/bin/sh
    # Compiz Manager wrapper script
    # Copyright (c) 2007 Kristian Lyngstøl <[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.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    # Contributions by: Treviño (3v1n0) <[email protected]>, Ubuntu Packages
    # Much of this code is based on Beryl code, also licensed under the GPL.
    # This script will detect what options we need to pass to compiz to get it
    # started, and start a default plugin and possibly window decorator.
    COMPIZ_BIN_PATH="/usr/bin/" # For window decorators and compiz
    PLUGIN_PATH="/usr/lib/compiz/"
    GLXINFO="/usr/bin/glxinfo"
    KWIN="/usr/bin/kwin"
    METACITY="/usr/bin/metacity"
    XFWM="/usr/bin/xfwm"
    COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)
    # For Xgl LD_PRELOAD
    LIBGL_NVIDIA="/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
    LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa"
    # Minimum amount of memory (in kilo bytes) that nVidia cards need
    # to be allowed to start
    # Set to 262144 to require 256MB
    NVIDIA_MEMORY="65536" # 64MB
    NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
    # For detecting what driver is in use, the + is for one or more /'s
    XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"
    FALLBACKWM="xterm"
    if [ x"$KDE_FULL_SESSION" = x"true" ]; then
    FALLBACKWM="${KWIN}";
    elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then
    FALLBACKWM="${METACITY}"
    elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then
    FALLBACKWM="${XFWM}"
    fi
    FALLBACKWM_OPTIONS="--replace $@"
    # Driver whitelist
    WHITELIST="nvidia intel ati radeon i810 fglrx"
    # blacklist based on the pci ids
    # See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
    #T=" 1002:5954 1002:5854 1002:5955" # ati rs480
    #T="$T 1002:4153" # ATI Rv350
    #T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
    T="$T 8086:2a02 " # Intel GM965
    T="$T 8086:3577 8086:2562 " # Intel 830MG, 845G (LP: #259385)
    BLACKLIST_PCIIDS="$T"
    unset T
    COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
    COMPIZ_PLUGINS="core"
    ENV=""
    # Use emerald by default if it exist
    USE_EMERALD="yes"
    # No indirect by default
    INDIRECT="no"
    # Default X.org log if xset q doesn't reveal it
    XORG_DEFAULT_LOG="/var/log/Xorg.0.log"
    # Set to yes to enable verbose
    VERBOSE="yes"
    # Echos the arguments if verbose
    verbose()
    if [ "x$VERBOSE" = "xyes" ]; then
    printf "$*"
    fi
    # abort script and run fallback windowmanager
    abort_with_fallback_wm()
    if [ "x$SKIP_CHECKS" = "xyes" ]; then
    verbose "SKIP_CHECKS is yes, so continuing despite problems.\n"
    return 0;
    fi
    if [ "x$CM_DRY" = "xyes" ]; then
    verbose "Dry run failed: Problems detected with 3D support.'n"
    exit 1;
    fi
    verbose "aborting and using fallback: $FALLBACKWM \n"
    if [ -x $FALLBACKWM ]; then
    exec $FALLBACKWM $FALLBACKWM_OPTIONS
    else
    printf "no $FALLBACKWM found, exiting\n"
    exit 1
    fi
    # Check if we run with the Software Rasterizer, this happens e.g.
    # when a second screen session is opened via f-u-a on intel
    check_software_rasterizer()
    verbose "Checking for Software Rasterizer: "
    if glxinfo 2> /dev/null | egrep -q '^OpenGL renderer string: Software Rasterizer' ; then
    verbose "present. \n";
    return 0;
    else
    verbose "Not present. \n"
    return 1;
    fi
    # Check for non power of two texture support
    check_npot_texture()
    verbose "Checking for non power of two support: "
    if glxinfo 2> /dev/null | egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rectangle|GL_ARB_texture_rectangle)' ; then
    verbose "present. \n";
    return 0;
    else
    verbose "Not present. \n"
    return 1;
    fi
    # Check for presence of FBConfig
    check_fbconfig()
    verbose "Checking for FBConfig: "
    if [ "$INDIRECT" = "yes" ]; then
    $GLXINFO -i | grep -q GLX.*fbconfig
    FB=$?
    else
    $GLXINFO | grep -q GLX.*fbconfig
    FB=$?
    fi
    if [ $FB = "0" ]; then
    unset FB
    verbose "present. \n"
    return 0;
    else
    unset FB
    verbose "not present. \n"
    return 1;
    fi
    # Check for TFP
    check_tfp()
    verbose "Checking for texture_from_pixmap: "
    if [ $($GLXINFO 2>/dev/null | grep -c GLX_EXT_texture_from_pixmap) -gt 2 ] ; then
    verbose "present. \n"
    return 0;
    else
    verbose "not present. \n"
    if [ "$INDIRECT" = "yes" ]; then
    unset LIBGL_ALWAYS_INDIRECT
    INDIRECT="no"
    return 1;
    else
    verbose "Trying again with indirect rendering:\n";
    INDIRECT="yes"
    export LIBGL_ALWAYS_INDIRECT=1
    check_tfp;
    return $?
    fi
    fi
    # Check wether the composite extension is present
    check_composite()
    verbose "Checking for Composite extension: "
    if xdpyinfo -queryExtensions | grep -q Composite ; then
    verbose "present. \n";
    return 0;
    else
    verbose "not present. \n";
    return 1;
    fi
    # Detects if Xgl is running
    check_xgl()
    verbose "Checking for Xgl: "
    if xvinfo | grep -q Xgl ; then
    verbose "present. \n"
    return 0;
    else
    verbose "not present. \n"
    return 1;
    fi
    # Check if the nVidia card has enough video ram to make sense
    check_nvidia_memory()
    if [ ! -x "$NVIDIA_SETTINGS" ]; then
    return 0
    fi
    MEM=$(${NVIDIA_SETTINGS} -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d: -f3 | sed 's/[^0-9]//g')
    if [ $MEM -lt $NVIDIA_MEMORY ]; then
    verbose "Less than ${NVIDIA_MEMORY}kb of memory and nVidia";
    return 1;
    fi
    return 0;
    # Check for existence if NV-GLX
    check_nvidia()
    if [ ! -z $NVIDIA_INTERNAL_TEST ]; then
    return $NVIDIA_INTERNAL_TEST;
    fi
    verbose "Checking for nVidia: "
    if xdpyinfo | grep -q NV-GLX ; then
    verbose "present. \n"
    NVIDIA_INTERNAL_TEST=0
    return 0;
    else
    verbose "not present. \n"
    NVIDIA_INTERNAL_TEST=1
    return 1;
    fi
    # Check if the max texture size is large enough compared to the resolution
    check_texture_size()
    # Check how many screens we've got and iterate over them
    N=$(xdpyinfo | grep -i "number of screens" | sed 's/.*[^0-9]//g')
    for i in $(seq 1 $N); do
    verbose "Checking screen $i"
    TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | sed -n "$i s/^.*=[^0-9]//g p")
    RESOLUTION=$(xdpyinfo | grep -i dimensions: | sed -n -e "$i s/^ *dimensions: *\([0-9]*x[0-9]*\) pixels.*/\1/ p")
    VRES=$(echo $RESOLUTION | sed 's/.*x//')
    HRES=$(echo $RESOLUTION | sed 's/x.*//')
    verbose "Comparing resolution ($RESOLUTION) to maximum 3D texture size ($TEXTURE_LIMIT): ";
    if [ $VRES -gt $TEXTURE_LIMIT ] || [ $HRES -gt $TEXTURE_LIMIT ]; then
    verbose "Failed.\n"
    return 1;
    fi
    verbose "Passed.\n"
    done
    return 0
    # check driver whitelist
    running_under_whitelisted_driver()
    LOG=$(xset q|grep "Log file"|awk '{print $3}')
    if [ "$LOG" = "" ]; then
    verbose "xset q doesn't reveal the location of the log file. Using fallback $XORG_DEFAULT_LOG \n"
    LOG=$XORG_DEFAULT_LOG;
    fi
    if [ -z "$LOG" ];then
    verbose "AIEEEEH, no Log file found \n"
    verbose "$(xset q) \n"
    return 0
    fi
    for DRV in ${WHITELIST}; do
    if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
    ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
    then
    return 0
    fi
    done
    verbose "No whitelisted driver found\n"
    return 1
    # check pciid blacklist
    have_blacklisted_pciid()
    OUTPUT=$(lspci -n)
    for ID in ${BLACKLIST_PCIIDS}; do
    if echo "$OUTPUT" | egrep -q "$ID"; then
    verbose "Blacklisted PCIID '$ID' found \n"
    return 0
    fi
    done
    OUTPUT=$(lspci -vn | grep -i VGA)
    verbose "Detected PCI ID for VGA: $OUTPUT\n"
    return 1
    build_env()
    if check_nvidia; then
    ENV="__GL_YIELD=NOTHING "
    fi
    if [ "$INDIRECT" = "yes" ]; then
    ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
    fi
    if check_xgl; then
    if [ -f ${LIBGL_NVIDIA} ]; then
    ENV="$ENV LD_PRELOAD=${LIBGL_NVIDIA}"
    verbose "Enabling Xgl with nVidia drivers...\n"
    fi
    if [ -f ${LIBGL_FGLRX} ]; then
    ENV="$ENV LD_PRELOAD=${LIBGL_FGLRX}"
    verbose "Enabling Xgl with fglrx ATi drivers...\n"
    fi
    fi
    ENV="$ENV FROM_WRAPPER=yes"
    if [ -n "$ENV" ]; then
    export $ENV
    fi
    build_args()
    if [ "x$INDIRECT" = "xyes" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --indirect-rendering "
    fi
    if [ ! -z "$DESKTOP_AUTOSTART_ID" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --sm-client-id $DESKTOP_AUTOSTART_ID"
    fi
    if check_nvidia; then
    if [ "x$INDIRECT" != "xyes" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
    fi
    fi
    # Execution begins here.
    # Read configuration from XDG paths
    if [ -z "$XDG_CONFIG_DIRS" ]; then
    test -f /etc/xdg/compiz/compiz-manager && . /etc/xdg/compiz/compiz-manager
    for f in /etc/xdg/compiz/compiz-manager.d/*; do
    test -e $f && . $f
    done
    else
    OLD_IFS=$IFS
    IFS=:
    for CONFIG_DIR in $XDG_CONFIG_DIRS
    do
    test -f $CONFIG_DIR/compiz/compiz-manager && . $CONFIG_DIR/compiz/compiz-manager
    for f in $CONFIG_DIRS/compiz/compiz-manager.d/*; do
    test -e $f && . $f
    done
    done
    IFS=$OLD_IFS
    unset OLD_IFS
    fi
    if [ -z "$XDG_CONFIG_HOME" ]; then
    test -f $HOME/.config/compiz/compiz-manager && . $HOME/.config/compiz/compiz-manager
    else
    test -f $XDG_CONFIG_HOME/compiz/compiz-manager && . $XDG_CONFIG_HOME/compiz/compiz-manager
    fi
    # Don't use compiz when running the failsafe session
    if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
    abort_with_fallback_wm
    fi
    if [ "x$LIBGL_ALWAYS_INDIRECT" = "x1" ]; then
    INDIRECT="yes";
    fi
    # if we run under Xgl, we can skip some tests here
    if ! check_xgl; then
    # if vesa or vga are in use, do not even try glxinfo (LP#119341)
    if ! running_under_whitelisted_driver || have_blacklisted_pciid; then
    abort_with_fallback_wm
    fi
    # check if we have the required bits to run compiz and if not,
    # fallback
    if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then
    abort_with_fallback_wm
    fi
    # check if we run with software rasterizer and if so, bail out
    if check_software_rasterizer; then
    verbose "Software rasterizer detected, aborting"
    abort_with_fallback_wm
    fi
    if check_nvidia && ! check_nvidia_memory; then
    abort_with_fallback_wm
    fi
    if ! check_fbconfig; then
    abort_with_fallback_wm
    fi
    fi
    # load the ccp plugin if present and fallback to plain gconf if not
    if [ -f ${PLUGIN_PATH}libccp.so ]; then
    COMPIZ_PLUGINS="$COMPIZ_PLUGINS ccp"
    elif [ -f ${PLUGIN_PATH}libgconf.so ]; then
    COMPIZ_PLUGINS="$COMPIZ_PLUGINS glib gconf"
    fi
    # enable gnomecompat if we run under gnome
    if [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ] && [ ! -e ~/.compiz-gnomecompat ]; then
    verbose "running under gnome seesion, checking for gnomecompat\n"
    if ! gconftool -g /apps/compiz/general/allscreens/options/active_plugins|grep -q gnomecompat; then
    verbose "adding missing gnomecompat\n"
    V=$(gconftool -g /apps/compiz/general/allscreens/options/active_plugins|sed s/mousepoll,/mousepoll,gnomecompat,/)
    if ! echo $V|grep -q gnomecompat; then
    verbose "can not add gnomecompat, reseting\n"
    gconftool --unset /apps/compiz/general/allscreens/options/active_plugins
    else
    gconftool -s /apps/compiz/general/allscreens/options/active_plugins --type list --list-type=string $V
    fi
    touch ~/.compiz-gnomecompat
    fi
    fi
    # get environment
    build_env
    build_args
    if [ "x$CM_DRY" = "xyes" ]; then
    verbose "Dry run finished: everything should work with regards to Compiz and 3D.\n"
    verbose "Execute: ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS \n"
    exit 0;
    fi
    ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS
    That's it so far.
    So again what i try to do is running compiz with metacity decorations.
    I hope someone can help me here,
    Mark.
    Last edited by markg85 (2009-06-28 00:26:04)

    whoops wrote:
    Wait, what, I thought metacity isn't as window decorator, it is a window manager, right? I don't really get what you're trying to do... maybe install compiz-decorator-gtk and use it instead of emerald?
    edit: aaah, yes, I think you're missing compiz-decorator-gtk, try that, look at fusion icon "window decorator" option again.
    Strange.. i was under the impression that pacman -S compiz-fusion would install GTK and QT decorators... guess not.
    This issue is fixed now. Running metacity decorations now WITH compiz.

  • Run Report with Pass Number and Varchar Lexical Parameter values

    Dear Sir/Madam
    Due to an urgent change required to a report I would most appreciate it if you can please advise me if it is possible to get this report working by either passing in multiple lexical parameters or one signle lexical parameter when calling the SRW.RUN_REPORT command with the following methods:
    Firstly: When calling report with a run_no and spr_cd passed in through one lexical:
    cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
    CP_L_PARAM=RUN_NO=TO_NUMBER(28) AND SPR_CD=SUPP1
    Both with a TO_NUMBER and without, whereby I attempt to do a SUBSTR within the query of the called report to derive the RUN_NO Oracle Reports fails to accept the SUBSTR.
    Secondly: I am now trying to call the with passing two lexical parameters into the report as follows:
    cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
    CP_L_RUN_NO=||TO_CHAR(lv_run_no)|| CP_L_SPR_CD=||lv_spr_cd;          
    NOTE: The above is an output of the actual command line and not what is passed into the command line, thus the quotes are missing. Please also note that the report is running fine with the only a hard coded RUN_NO value PASSED without the SPR_CD.
    Unfortunately this is also causing issues as the RUN_NO is a number and as you know you can only pass in strings.
    Your urgent help is required on this matter please as our client is expecting a solution this afternoon.
    Hope to hear form you soon.
    Kind regards
    Andrew Mason

    Dont Worry I've worked it out...

  • DynamicRFCException with JCO.client problem

    Hi,
    Iam trying to execute an RFC from webdynpro.Iam getting the following error.So as a result i dont get any result as expected on my screen as the RFC is not getting executed due to JCO problem.Please kindly let me know the reason.In the last line of the exception it talks about user authentication.I dont have any idea whats the reason.This happens as soon as my bapi execute statement in my controller is executed.
    could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model: class com.test.Getmodel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModel.prepareExecute(DynamicRFCModel.java:179) at com.test.Getmodel.bapi_Ben_Bus3029_Get_Evt_List(Getmodel.java:141) at com.test.Bapi_Ben_Bus3029_Get_Evt_List_Input.doExecute(Bapi_Ben_Bus3029_Get_Evt_List_Input.java:137) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92) at com.avid.benefits.Benefitscust.executebapi(Benefitscust.java:128) at com.avid.benefits.wdp.InternalBenefitscust.executebapi(InternalBenefitscust.java:162) at com.avid.benefits.AvidusbenefitsView.wdDoInit(AvidusbenefitsView.java:97) at com.avid.benefits.wdp.InternalAvidusbenefitsView.wdDoInit(InternalAvidusbenefitsView.java:129) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61) at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215) at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445) at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200) at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709) at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579) at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295) at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183) at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178) at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model: class com.test.Getmodel. Please assure that you have configured the RFC connections and/or logical system name properly for this model! at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.getCurrentlyUsedJcoClient(AiiModel.java:210) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModel.prepareExecute(DynamicRFCModel.java:170) ... 42 more Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:152) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.getJCOClientConnection(WDSystemLandscape.java:30) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.getCurrentlyUsedJcoClient(AiiModel.java:189) ... 43 more Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for 'WD_MODELDATA_DEST' at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestination(JCOClientConnection.java:649) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:476) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150) ... 45 more Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: User not authenticated - unable to establish JCO connection with SSO. at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestination(JCOClientConnection.java:584) ... 50 more
    Error connecting using JCO.Client: null
    Error connecting using JCO.Client: null: Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model: class com.test.Getmodel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!: Error while obtaining JCO connection.: Failed to resolve connection parameter for 'WD_MODELDATA_DEST': User not authenticated - unable to establish JCO connection with SSO.

    Hi Swathi,
                        The problem may be with JCo destinations. If you have authorization in Portal, navigate to Content Administration -> Web Dynpro.
    In the left side you can see deployed web dynpro applications. Check in local, sap,  or any of your custom namespace. Browse & select to your application. Right side you can see JCo destinations for your application. If they are in green color , means they are created. If not, ask your basis team to create them. If they are n green color, ping and test them. if they are working fine or not.
    If they are fine, try to deploy after you have logged into the portal. 
    Regards,
    Siva

  • BAPI call with JCO too slow

    Hello everybody,
    I have an application which a call a BAPI in an ECC System. This BAPI is a specific one, and it is developed in Batch input to create a Billing document from a sales order.
    This call take too much time and my java program don't wait for the answer of it. I have done some performance check on the program and this call take more of 1 minutes to finish.
    Here is my program :
                   //-Fill the entry parameter-
                   //Import parameter
                   paramImport = function.getImportParameterList();
                   paramImport.setValue(SalesOrder, Constants.IV_VBELN);
                   //Define Export parameter list for the returning Data
                   paramExport = function.getExportParameterList();
                   //Execute the BAPI
                   client.execute(function.getName(), paramImport, paramExport);
    The fact it is developped in Batch input could be a problem ? Tell me if there is a solution to speed up the process or to say to my java program to wait until the answer of the BAPI.
    Thanks.

    Hello Sir,
    I am a student who is pursuing a project that deals with JCo 3.
    I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
    Kindly, try to shed some light on following question:
    Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
    I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
    when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
    I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
    Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
    know how to run the SAP JCo program.
    Your guidance will be highly appreciated
    -Thanks
    -Dmukhi

  • Suddenly NoSuchMethodError on calling DOCUMENT_CREATE2 with JCo

    Hi.
    I'm working with JCo to create ("BAPI_DOCUMENT_CREATE2") and modify ("BAPI_DOCUMENT_CHANGE2", "BAPI_DOCUMENT_DELETE") documents in SAP R/3.
    Until yesterday all worked fine. Suddenly I get a "NoSuchMethodError" if I call this methods.
    Is it possible that the server denies the execution of this methods?
    BAPI_DOCUMENT_GETLIST and similar methods are still working.
    thanks,
    Stefan

    Hello
    this looks like you are trying to call a java method which does not exist. Maybe you changed something in your java coding or you forgot to pack required .jar and .class files into your java application
    also refer to java docs for
    <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NoSuchMethodError.html">NoSuchMethodError</a>
    regards
    franz
    reward points if useful

  • Run emigall with a "mig.object" and "input file" as parameters in a job?

    Hi!
    I'm looking for a way to run emigall with a "mig.object" and "input file" as parameters in a job. We will use emigall in a data load step of a process. Is this possible? Is emaigall designed for this use?
    Thanks for any help and suggestions.
    Best regards.

    Hi!
    I'm looking for a way to run emigall with a "mig.object" and "input file" as parameters in a job. We will use emigall in a data load step of a process. Is this possible? Is emaigall designed for this use?
    Thanks for any help and suggestions.
    Best regards.

  • Self-running presentation with transitions & animations on web?

    I want to create a self-running presentation with transitions and animations that I can post on a web site, ideally as a Flash file.  Is this possible with Keynote?  What are my options?

    Thanks, Edward. 
    I did some research on the web and the most recent information I can find is for 2009, showing Quicktime with an installation rate of 65% or so.  In my target audience, my guess is the installation rate will be somewhat higher.  So I will switch to Keynote, recreate the presentation (or import it, if I can), and export it to Quicktime as an interim solution.  At less than 100%, I can be reasonably certain that some people who do not have QT installed will simply leave my site rather than download QT to watch my video.
    I'm no programmer so I have no idea how hard it would be, but, as a big-time Apple fan and a long time marketing person, I would say that if Keynote users want to post their presentations (with transitions and animations) on the web, then Apple should support exporting to Flash.  (Of course, I would say the same thing to MS about PP, but w/o the "big-time fan" comment.) 
    Thanks again.  You've helped me make progress.

  • Need to run Labview with very low power

    Hi all,
    I'm looking for a way to run Labview with only a few watts.  Hopefully only two watts.  The setup will be powered by solar cells and would run continuously.  (Storage batteries would run it at night.)  The problem is that the system requirments say "G3 or better" for Mac, or "Pentium III/Celeron 866" for Windows or Linux, and as far as I can tell, these use up a lot more than 2 watts.
    Is there some way to run Labview with this restricted power supply?
    Thanks,
    Peter H.

    Another possibility would be an embedded platform:
    http://www.ni.com/labview/family.htm?loc=section5&​id=#section5
    Not user about the power requirement details.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for