CFL Error Bad-Value

Hi Expert,
I am working on V.b 6.0 SDK.
Getting Error on CFL Code BAD Value at the time of Assigning value to the text box.
Explain me How to give parameters to the CFL.
Thanx
Dhanraj

Below are the cfl code getting error of Bad Value
If FormUID = "IINC" Then
            If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                Dim oCFLEvento1 As SAPbouiCOM.ChooseFromListEvent
                Dim Ival2, Ival1 As String
                Set oCFLEvento1 = pVal
                Dim IsCFL_ID As String
                IsCFL_ID = oCFLEvento1.ChooseFromListUID
                Dim IoForm As SAPbouiCOM.Form
                'oForm = New SAPbouiCOM.Form
                Set IoForm = Soft_Application.Forms.Item(FormUID)
                Dim IoCFL As SAPbouiCOM.Choosefromlist
                Set IoCFL = IoForm.ChooseFromLists.Item(IsCFL_ID)
                If oCFLEvento1.BeforeAction = False Then
                    Dim IoDataTable As SAPbouiCOM.DataTable
                    Set IoDataTable = oCFLEvento1.SelectedObjects
                    Ival2 = IoDataTable.GetValue(0, 0)
                    Ival1 = IoDataTable.GetValue(1, 0)
                    If (pVal.ItemUID = "txtIncod") Or (pVal.ItemUID = "btnCardCd") And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then     'Customer Code CFL
                        Set Soft_Form = Soft_Application.Forms.Item("IINC")
                        Soft_Form.Items.Item("txtIncod").Specific.Value = Ival2
                        Soft_Form.Items.Item("txtInName").Specific.Value = Ival1
                    End If
                End If
            End If
    End If
On text box property given following values.
Alias:-U_IntCd
Table Name:-@INT_INC
Databound=true

Similar Messages

  • Can't build gcc-4.1.2; error: bad value (generic) for -mtune= switch

    I need this specific version of gcc, so I got the old PKDBUILD from svn, see below. However when gcc compiles I run into this compile error:
    TARGET_CPU_DEFAULT="" \
    HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
    /bin/sh ../../gcc-4.1.2/gcc/mkconfig.sh tconfig.h
    ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc/../ld -O2 -O2 -march=i686 -mtune=generic -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
    -c ../../gcc-4.1.2/gcc/crtstuff.c -DCRT_BEGIN \
    -o crtbegin.o
    ../../gcc-4.1.2/gcc/crtstuff.c:1: error: bad value (generic) for -mtune= switch
    make[2]: *** [crtbegin.o] Error 1
    make[2]: Leaving directory `/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc'
    make[1]: *** [stage1_build] Error 2
    make[1]: Leaving directory `/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc'
    make: *** [bootstrap] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Here is the PKGBUILD I use:
    # $Id: PKGBUILD,v 1.60 2007/02/14 14:53:50 jgc Exp $
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gcc
    pkgver=4.1.2
    pkgrel=3
    pkgdesc="The GNU Compiler Collection"
    arch=(i686 x86_64)
    url="http://gcc.gnu.org"
    depends=('glibc' 'binutils>=2.17')
    options=('!libtool')
    source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,objc}-${pkgver}.tar.bz2
    ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.0.0.tar.bz2
    DW_CFA_val.patch
    gcc_pure64.patch)
    md5sums=('2af3fb599635219171c6ae1f3034888a' '75c6d5fa3415d614314caf0f509e8933'
    'abda05c0ab99059e8f9e7a625361fd87' '2be86d2117c8fa7f9ec2845cc0660ab1'
    '078680c207f7cd490044d4a53edf158d' '1ceaa49e3a1d9f984ecc2893c43f7425')
    build() {
    export MAKEFLAGS="-j1"
    cd ${startdir}/src/gcc-${pkgver}
    # Don't install libiberty
    sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
    if [ "${CARCH}" = "x86_64" ]; then
    patch -Np1 -i ../gcc_pure64.patch || return 1
    fi
    patch -Np0 -i ${startdir}/src/DW_CFA_val.patch || return 1
    # Don't run fixincludes
    sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
    mkdir ../gcc-build
    cd ../gcc-build
    ../gcc-${pkgver}/configure --prefix=/usr --enable-shared \
    --enable-languages=c,c++,objc --enable-threads=posix \
    --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib \
    --libexecdir=/usr/lib --enable-clocale=gnu
    make bootstrap || return 1
    make DESTDIR=${startdir}/pkg install || return 1
    mkdir -p ${startdir}/pkg/lib
    (cd ${startdir}/pkg/lib; ln -s ../usr/bin/cpp)
    (cd ${startdir}/pkg/usr/bin; ln -sf gcc cc; ln -sf g++ c++)
    # install the libstdc++ man pages
    mkdir -p ${startdir}/pkg/usr/man/man3
    install -m644 ${startdir}/src/man/man3/* ${startdir}/pkg/usr/man/man3/
    Last edited by Phlogiston (2009-02-27 20:08:37)

    or here you go:
    # $Id: PKGBUILD,v 1.60 2007/02/14 14:53:50 jgc Exp $
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gcc-4.1
    pkgver=4.1.2
    pkgrel=3
    pkgdesc="The GNU Compiler Collection"
    arch=(i686 x86_64)
    url="http://gcc.gnu.org"
    depends=('glibc' 'binutils>=2.17')
    options=('!libtool')
    source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,objc}-${pkgver}.tar.bz2
    ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.0.0.tar.bz2
    DW_CFA_val.patch
    gcc_pure64.patch)
    md5sums=('2af3fb599635219171c6ae1f3034888a' '75c6d5fa3415d614314caf0f509e8933'
    'abda05c0ab99059e8f9e7a625361fd87' '2be86d2117c8fa7f9ec2845cc0660ab1'
    '078680c207f7cd490044d4a53edf158d' '1ceaa49e3a1d9f984ecc2893c43f7425')
    build() {
    export MAKEFLAGS="-j1"
    cd ${startdir}/src/gcc-${pkgver}
    # Don't install libiberty
    sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
    if [ "${CARCH}" = "x86_64" ]; then
    patch -Np1 -i ../gcc_pure64.patch || return 1
    fi
    patch -Np0 -i ${startdir}/src/DW_CFA_val.patch || return 1
    # Don't run fixincludes
    sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
    mkdir ../gcc-build
    cd ../gcc-build
    ../gcc-${pkgver}/configure --prefix=/opt/gcc-4.1 --enable-shared \
    --enable-languages=c,c++,objc --enable-threads=posix \
    --enable-__cxa_atexit --disable-multilib \
    --enable-clocale=gnu
    make bootstrap || return 1
    make DESTDIR=${startdir}/pkg install || return 1
    mkdir -p ${startdir}/pkg/lib
    # (cd ${startdir}/pkg/lib; ln -s ../usr/bin/cpp)
    # (cd ${startdir}/pkg/usr/bin; ln -sf gcc cc; ln -sf g++ c++)
    # install the libstdc++ man pages
    mkdir -p ${startdir}/pkg/usr/man/man3
    install -m644 ${startdir}/src/man/man3/* ${startdir}/pkg/usr/man/man3/

  • Form bad value when opening CFL in system forms

    Hi,
    I have a UDF control on the Stock Transfer Form which opens a CFL. Now at the CFL event, when i try to set the value from the CFL to the Parent Form (Stock Transfer). It opens the CFL again with "Form - Bad Value" error.
    This case i had faced but the problem was solved using
    dbdatasource.setValue = "string value returnd frm CFL datatable"
    but my problem comes with system form where i cannot use Setvalue method of DBDataSource.
    Please Help!
    Manu.

    Hi Trinidad,
    thanx for replying.
    my code is
    Select pVal.BeforeAction
    Case False
           Select Case pVal.EventType
                      Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST:
                                 ''' sCFL_Value1 is a string'''
                                 sCFL_Value1 = oCFLEvent.SelectedObjects.GetValue(1, 0).ToString()
                             If oCFLEvent.ItemUID = "47" Or oCFLEvent.ItemUID = "3" Then
                                     oEditText = oForm.Items.Item("etTest").Specific
                                     <b>oEditText.Value = sCFL_Value1</b>
    '''''' ******This is where i get the error i have tried using oEditText.String as well. I faced the same issue on a user form but when i used oDataSrc_Header.SetValue("U_Price", oDataSrc_Header.Offset, sCFL_Value1), my problem was solved.*********''''''''
                              End If
    i tried a workaround by saving the sCFL_Value into some other textbox which is not bound with a CFL control (e.g. the remarks field in stock transfer), there it does not throw any error but still as soon as i copy that value from remarks field to the actual control it throws "bad value error".
    Any help would be very grateful.
    Manu.

  • Error BEA-382510 bad value for type node

    Hi,
    We have a requirement to read the xpath from the resource file placed in project folder in OSB and use that xpath to generate the report. For this I have done the following:
    1) Made the xpath entry to properties file as <xpath>$body/*/*/EMPTYPE/EMPDATA/EMPNO</xpath>
    2) Created a variable to fetch the xpath value from property file, say xpathvar
    3) Created another variable, say reportvar which will have the contents: <report>{$xpathvar/text()}</report>. This should fetch the xpath from the variable and replace it in the calling part to fetch the value of the xpath.
    4) For report generation the in key value it is ./text() from variable reportvar.
    When I test this it throws error:
    <con:errorCode>BEA-382510</con:errorCode>
    <con:reason>
    OSB Assign action failed updating variable "reportxpath": com.bea.wli.common.xquery.XQueryException: Error parsing XML: line 1, column 19: {err}XP0006: "$body/*/*/EMPTYPE/EMPDATA/EMPNO ({http://www.w3.org/2001/XMLSchema}string)": bad value for type node
    </con:reason>
    Any pointers will be highly appreciated.
    Thanks!

    I think you cant substitute xpath as you have did.
    As shown in the blog which you mentioned in the other post you may need to have a xslt transformation with xalan:evaluate to correctly process the xpath read from the properties file.
    <report>{$xpathvar/text()}</report>. Here $xpathvar having the value '$body/*/*/EMPTYPE/EMPDATA/EMPNO' will be treated as string type (this will be string as you have read from the properties file as string) and not node. And you are trying to apply the text() function on a string instead of node which is resulting in that error.

  • Mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi

    Hi, guys!
    *1. I have a big FS (8 TB) on UFS which contains a lot of small files ~ 64B-1MB.*
    -bash-3.00# df -h /mnt
    Filesystem Size Used Avail Use% Mounted on
    /dev/dsk/c10t600000E00D000000000201A400020000d0s0
    8.0T 4.3T 3,7T 54% /mnt
    *2. But today I noticed in dmesg such errors: "ufs: [ID 682040 kern.notice] NOTICE: /mnt: out of inodes"*
    -bash-3.00# df -i /mnt
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/dsk/c10t600000E00D000000000201A400020000d0s0
    8753024 8753020 4 100% /mnt
    *3. So, I decided to make file system with new parameters:*
    -bash-3.00# mkfs -m /dev/rdsk/c10t600000E00D000000000201A400020000d0s0
    mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=8192,cgsize=143,free=1,rps=1,nbpi=997778,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=y /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
    -bash-3.00#
    -bash-3.00# mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=143,free=1,rps=1,nbpi=512,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=f /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
    *3. I've got some warnings about inodes threshold:*
    -bash-3.00# mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=143,free=1,rps=1,nbpi=512,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=n /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
    mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi reset to default 1048576
    Warning: 2128 sector(s) in last cylinder unallocated
    /dev/rdsk/c10t600000E00D000000000201A400020000d0s0: 17165172656 sectors in 2793811 cylinders of 48 tracks, 128 sectors
    8381432.0MB in 19538 cyl groups (143 c/g, 429.00MB/g, 448 i/g)
    super-block backups (for fsck -F ufs -o b=#) at:
    32, 878752, 1757472, 2636192, 3514912, 4393632, 5272352, 6151072, 7029792,
    7908512,
    Initializing cylinder groups:
    super-block backups for last 10 cylinder groups at:
    17157145632, 17158024352, 17158903072, 17159781792, 17160660512, 17161539232,
    17162417952, 17163296672, 17164175392, 17165054112
    *4.And my inodes number didn't change:*
    -bash-3.00# df -i /mnt
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/dsk/c10t600000E00D000000000201A400020000d0s0
    8753024 4 8753020 1% /mnt
    I found http://wesunsolve.net/bugid.php/id/6595253 that is a bug of mkfs without workaround. Is ZFS what I need now?

    Well, to fix the bug you referred to you can apply patch 141444-01 or 141445-01.
    However that bug is just regarding an irrelevant error message from mkfs, it will not fix your problem as such.
    It seems to me like the minimum value for nbpi on a multi-terabyte filesystem is 1048576, hence you won't be able to create a filesystem with more inodes.
    The things to try would be to either create two UFS filesystems, or go with ZFS, which is the future anyway ;-)
    .7/M.

  • OPC fieldpoint VT_BOOL gives "Bad Value" in Citect

    We run Citects OPC-client and tries to communicate with the Fieldpoint OPC-server. Analog values AI/AO work all fine but DIO-550 I/O-values do not. The data type is VT_BOOL. The error message is "Bad value". The client can be configured to skip "bad value"-error. That solves DO but not DI.
    Testing Macs OPC-client gives same problem.
    Our Fieldpoint OPC-server works fine with NI Server Explorer and the Citect and Macs clients works fine with other OPC-servers! 
    Please someone give us a hint of what to do.
    /Dan Larsson, Damill AB, Sweden

    We run Citects OPC-client and tries to communicate with the Fieldpoint OPC-server. Analog values AI/AO work all fine but DIO-550 I/O-values do not. The data type is VT_BOOL. The error message is "Bad value". The client can be configured to skip "bad value"-error. That solves DO but not DI.
    Testing Macs OPC-client gives same problem.
    Our Fieldpoint OPC-server works fine with NI Server Explorer and the Citect and Macs clients works fine with other OPC-servers! 
    Please someone give us a hint of what to do.
    /Dan Larsson, Damill AB, Sweden

  • Image Item - Error: bad bind variable

    Hi All,
    I select a Image field from a table and set it to a Image Item in a form 10g. But I have error "Bad bind variable"
    Here is source code in my Post_query trigger:
    SELECT cust_sign INTO :dema_depo.dema_depo_sign
    FROM cust_sign WHERE custcod = :dema_depo.cust_sign_custcod;
    I would like to learn if you have any solution or document to solve my problem.
    Thanks very much for your help!
    BACH

    Dear Sir/Madam,
    I'm reading chapter 16: Working with Images - Oracle Forms Developer's Guide and found that cannot write a SELECT statement to select a a LONG RAW value INTO an image item.
    Thus, any the other way to fetch fr a DB LONG RAW value INTO an image item ???
    Many thanks!
    BACH

  • Matrix Bad Value exception in ItemCode column

    hello ,
    i faced an exception with filling itemcode column
    As u know this column is linked object and have CFL (choose from list)
    the problem i faced that on choosing from list i choose an item to add new line in matrix
    this event done and a new line added sucessfully
    but the problem was with CFL , that it didnt able to close , it still opened and you need to press ESC or click on cancel to close it
    when i tracking the exception i found "Bad value" exception, although the itemcode column filled but the
    also i bind all matrix columns with data sources and i can fill matix at first , but when i want to add new line i faced this problem
    best regards and thank you in advance ....
    Ammar

    Thanks Rasmus,
    But that's something I've already tried - it doesn't seem to make any difference.

  • Form Bad Value  coz of UDO

    Hi all,
    I have a text Box that i have binded(UDO) to a database data source through xml.
    That text BOx is linked to a choose from list .
    Through coding
    When i try to fill the textbox (which is linked to choose from list)  from the choose from list am getting 'Form Bad Value' Error.
    How can i solve this issue??
    Please very urgent
    Thanks in advance.

    I must say that I'm wrong and William is right!
    The pval.InnerEvent for the LOST FOCUS event does not work.  The event fires exponentially since the pVal.InnerEvent is always true in this event!
    Could this be a bug in the SAP UI API?  Don't understand this behavior why then is the InnerEvent available for this event if it is always to be false.
    What I found out is that you can always use the LOST FOCUS event as long as you don't click or update the contents of another control than the one you are working with.

  • Form - Bad value (Goods Issue Form)

    Hello,
    I'm trying to fill Goods Issue form programatically. But when I try to fill some values into the matrix I got two errors-
    Referenced work order does not exist.
    Form - Bad Value
    I can enter the same values by hand, it works without any problem.
    One more thing. Let's say i got master data items with indexes 123, 1024. When I try to enter these values programmatically into Good Issue matrix (into index column) I got above messages. But when I the same with just value 1 it fills row with index 123.
    What is happening?
    Thanks in advance
    Wydrzycki Kamil

    hello freind
    it may be due to refferd linked key mens primary key.pls cheak when yu insert data in database first cheak this entry may be linked with any primary key

  • Error Bad guess(es) on Hp 50g

    Hi,
    when i try to use solve complex numbers on solve equation this msg is show to me 'error bad guess(es) 
    one example is...
    'y = G+B*i'
    the 'i'  is the imaginary number (B ) and the real number is G 
    so i put on solve equantion G  = 5  and  B = 0,003 and try to solve 'Y', i try a loot of things but the same msg of error is show to me, i dont know if i need to mark some flags  to do this work... help me please

    Hi,
    The numeric solver has trouble with complex numbers.
    Also a note, the 50g uses complex numbers as a ordered pair (X;Y) where in rectangular mode X=real part and Y=imaginary part, in polar mode it is (r;theta) with an angle symbol before the theta.
    You can use complex numbers in variables, so you can store the value of B as (0;0,003) and use the equation Y=G+B instead of Y=G+B*i.
    to get a solution:
    You can use EVAL to get the answer. Store the values in the required variables (5 in G and (0;0,003) in B), except the one to be solved for.
    Then use EVAL,
    e.g. EVAL(Y=G+B)
    or on the RPN stack:
    1:    Y=G+B
    then press EVAL key.
    for more comples equations, first solve for required variable using the symbolic solver, e.g.:
    Y=2*G+B/3 and solve for G where Y=(5;0,5) and B=(3;0,5)
    Use SOLVE (not SOLVEVX) from the symbolic solver menu:
    SOLVE('Y=2*G+B/3','G')
    or on the RPN stack:
    2:    Y=2*G+B/3
    1:    G
    then select SOLVE from symbolic solver menu.
    You will egt G=-(,166666666667*B-,5*Y)
    Now store (5;0,5) in Y and (3;0,5) in B and use EVAL:
    G=(2, ; ,166666666666)
    Additional note: fraction mark set to , (comma). If fraction mark . (dot) is used the complex pair will show as ( X , Y ) and the last answer will show as G=(2. , .166666666666).
    Note: I do not work for HP, I just like playing with calculators :-)

  • Exception Form Bad Value

    Hi Experts,
    I am trying to assign the value of warehouse column of a sap document by code. Generally we have cfl to choose warehouse.
    So the problem is that it is taking the value by code but throwing the exception .The message is "Form Bad Value".
    The Code is like
                                                            EditText oItemEdit = (EditText)oMatrix.Columns.Item("10").Cells.Item(i).Specific;
                                                            string whse = "07";
                                                            oItemEdit.Value = whse.Trim();
    Thanks
    Amit

    Hi Amit,
    Try This....
    If pVal.FormType = "940" And pVal.ColUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And pVal.BeforeAction = False Then
                Try
                    oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
                    Dim omat As SAPbouiCOM.Matrix
                    omat = oform.Items.Item("23").Specific
                    Dim whs As String
                    whs = "07"
                    omat.Columns.Item("5").Cells.Item(pval.row).Specific.value = whs.Trim
                Catch ex As Exception
                    sbo_application.MessageBox(ex.Message)
                End Try
            End If
    Its working fine in my system
    Thanks
    Shafi
    Edited by: shafi_sunshine on Sep 20, 2011 9:39 AM

  • ORA-07446: sdnfy: bad value

    hi All,
    while trying to connect to start up the DB
    alpgadbq02sec:qait2:/qait/oracle/product/10.2.0/qait/dbs $ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jun 20 05:06:21 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-07446: sdnfy: bad value
    '/qait/oracle/product/10.2.0/qait/admin/qait1_alpgadbq01sec/udump' for
    parameter user_dump_dest.
    ORA-07446: sdnfy: bad value
    '/qait/oracle/product/10.2.0/qait/admin/qait1_alpgadbq01sec/udump' for
    parameter user_dump_dest.
    we are using 2 node RAC.
    thanks,
    Dash

    Hi..
    From Metlink:-
    Error: ORA 7446Text: sdnfy: bad value '%s' for parameter %s.
    Cause: The directory specified as the value for the stated parameter could
    not be used.
    Action: Make sure the directory you have specified is a valid
    directory/file specification.
    >
    Check the user_dump_dest parameter in the pfile init<sid>.ORA file, is it correct???
    Anand

  • BEA-382513: OSB Replace action failed: bad value for type element anyType

    Hello, in OSB I get this strange error message on my XQUERY TRANSFORMATION.
    *<faultstring>BEA-382513: OSB Replace action failed updating variable "response":*
    com.bea.wli.common.xquery.XQueryException:
    *Error parsing XML: {err}XP0006: "*
    *element {http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5}Cs2DebitorOpVieCollection*
    *{ {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }":*
    bad value for type element
    *{http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5}cs2RechungungenResponse*
    *{ {http://www.w3.org/2001/XMLSchema}anyType }*
    *</faultstring>*
    I'm a pl/sql developer and I have no idea what this error message is telling me.
    In this forum I'v read someting about a wrong namespace declaration. I can't see any wrong value on my xml (ok, I'm not the specialist here...)
    Maybe someone of you xquey cracks might have a look at my code?
    This is what I have:
    _1.) a XQuery variable called cs2RechnungenResponse with this content:_
    <cs2:Cs2DebitorOpVieCollection
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:cs2="http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5">
         <cs2:Cs2DebitorOpVie>
              <cs2:f40Konto>333</cs2:f40Konto>
              <cs2:AMT_BEZEICHNUNG>Amt für Gesundheit</cs2:AMT_BEZEICHNUNG>
              <cs2:f40Belnr>555</cs2:f40Belnr>
              <cs2:f40Sohab>S</cs2:f40Sohab>
              <cs2:f40Dmbet>100</cs2:f40Dmbet>
              <cs2:f40Fadat>2011-05-05T00:00:00.000+02:00</cs2:f40Fadat>
              <cs2:f40Valut>2011-05-05T00:00:00.000+02:00</cs2:f40Valut>
              <cs2:f40Mahns/>
              <cs2:f40F40Sj>0</cs2:f40F40Sj>
         </cs2:Cs2DebitorOpVie>
    </cs2:Cs2DebitorOpVieCollection>
    _2. a xquery with this code:_
    (:: pragma bea:global-element-parameter parameter="$cs2RechnungenResponse" element="ns2:cs2RechnungenResponse" location="../adapters/cs2_adapters/xsd/CS2AdapterSelectOffenePosten_v0_5_table.xsd" ::)
    (:: pragma bea:global-element-return element="ns0:getDebitorRechnungResponse" location="../../interfaces/RechnungServiceTypes_v0_6.xsd" ::)
    declare namespace ns3 = "http://www.llv.li/common/types/v1";
    declare namespace ns2 = "http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5";
    declare namespace ns1 = "http://www.llv.li/fin/types/v1";
    declare namespace ns0 = "http://www.llv.li/fin/services/rechnungService/v1";
    declare namespace xf = "http://tempuri.org/fin_sb/RechnungsService/transformations/CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v0_5/";
    declare function xf:CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v1_0($cs2RechnungenResponse as element(ns2:cs2RechnungenResponse))
    as element(ns0:getDebitorRechnungenResponse) {
    <ns0:getDebitorRechnungenResponse schemaVersion="0.6">
              if ($cs2RechnungenResponse/ns2:Cs2DebitorOpVie) then
              <ns0:debitorRechnungList>
         for $Cs2DebitorOpVie in $cs2RechnungenResponse/ns2:Cs2DebitorOpVie
         return
         <ns0:debitorRechnung>
              <ns1:peid>0</ns1:peid>
              <ns1:rechnungsnummer>{ data($Cs2DebitorOpVie/ns2:f40Belnr) }</ns1:rechnungsnummer>
              <ns1:rechnungsdatum>{ xs:date(fn-bea:remove-timezone-from-dateTime(data($Cs2DebitorOpVie/ns2:f40Fadat))) }</ns1:rechnungsdatum>
              <ns1:faelligAm>{ xs:date(fn-bea:remove-timezone-from-dateTime(data($Cs2DebitorOpVie/ns2:f40Valut))) }</ns1:faelligAm>
         <ns1:behoerde>{ data($Cs2DebitorOpVie/ns2:AMT_BEZEICHNUNG) }</ns1:behoerde>
         <ns1:positionList>
              <ns1:position>
                   <ns1:positionsnummer>1</ns1:positionsnummer>
                                                 <ns1:betrag>{ data($Cs2DebitorOpVie/ns2:f40Dmbet) }</ns1:betrag>
                                                 <ns1:waehrung>
                                                      <ns1:isoCode>CHF</ns1:isoCode>
                                                      <ns1:bezeichnung>Schweizer Franken</ns1:bezeichnung>
                                                 </ns1:waehrung>
              </ns1:position>
              </ns1:positionList>
         <ns1:status>offen</ns1:status>
              if ($Cs2DebitorOpVie/ns2:f40Mahns/text() > "") then
                   <ns1:mahnstufe>{ xs:int(data($Cs2DebitorOpVie/ns2:f40Mahns)) }</ns1:mahnstufe>
              else ()
         </ns0:debitorRechnung>
         </ns0:debitorRechnungList>
         else ()
    <ns0:resultatStatus>
         <ns3:code>Erfolgreich</ns3:code>
         <ns3:beschreibung>Rechnungen aus MFK fehlen</ns3:beschreibung>
    </ns0:resultatStatus>     
    </ns0:getDebitorRechnungenResponse>
    declare variable $cs2RechnungenResponse as element(ns2:cs2RechnungenResponse) external;
    xf:CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v1_0($cs2RechnungenResponse)
    _3. this should result in this response, but it doesn't_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <v1:getDebitorRechnungenResponse schemaVersion="0.6" xmlns:v1="http://www.llv.li/fin/services/rechnungService/v1">
    <v1:debitorRechnungList>
    <v1:debitorRechnung>
    <v11:peid xmlns:v11="http://www.llv.li/fin/types/v1">333</v11:peid>
    <v11:rechnungsnummer xmlns:v11="http://www.llv.li/fin/types/v1">555</v11:rechnungsnummer>
    <v11:rechnungsdatum xmlns:v11="http://www.llv.li/fin/types/v1">2011-05-05</v11:rechnungsdatum>
    <v11:faelligAm xmlns:v11="http://www.llv.li/fin/types/v1">2011-05-05</v11:faelligAm>
    <v11:behoerde xmlns:v11="http://www.llv.li/fin/types/v1">Amt für Gesundheit</v11:behoerde>
    <v11:positionList xmlns:v11="http://www.llv.li/fin/types/v1">
    <v11:position>
    <v11:positionsnummer>1</v11:positionsnummer>
    <v11:betrag>100</v11:betrag>
    <v11:waehrung>
    <v11:isoCode>CHF</v11:isoCode>
    <v11:bezeichnung>Schweizer Franken</v11:bezeichnung>
    </v11:waehrung>
    </v11:position>
    </v11:positionList>
    <v11:status xmlns:v11="http://www.llv.li/fin/types/v1">offen</v11:status>
    </v1:debitorRechnung>
    </v1:debitorRechnungList>
    <v1:resultatStatus>
    <v11:code xmlns:v11="http://www.llv.li/common/types/v1">Erfolgreich</v11:code>
    <v11:beschreibung xmlns:v11="http://www.llv.li/common/types/v1">Rechnungen aus MFK fehlen</v11:beschreibung>
    </v1:resultatStatus>
    </v1:getDebitorRechnungenResponse>
    </soap-env:Body>
    </soapenv:Envelope>
    But I do not get this expectet result, all I get is the BEA-382513: OSB Replace action failed: bad value for type element anyType?
    Any help would be appreciated.
    Thanks
    Best regards
    rk

    cs2RechungungenResponse or cs2RechnungenResponse ? the error message says cs2RechungungenResponse, but the actual element is cs2RechnungenResponse (one less "u")

  • PDI - Handle parameter 'page' has bad value 0

    Hallo Leute,
    ich möchte über die PDI in PHP ein PDF in ein bestehendes PDF einfügen und bekomme folgende Fehlermeldung:
    Handle parameter 'page' has bad value 0
    Folgende Vorgehensweise:
    /* Blindes PDF einfügen */
    $tmpFile = pdf_new();
    pdf_open_file($tmpFile, "tmp/tmpFile.pdf");
    pdf_begin_page($tmpFile, 5, 5);
    pdf_end_page($tmpFile);
    pdf_close($tmpFile);
    $pdi = pdf_open_pdi($pdf, "tmp/tmpFile.pdf", "", 0);
    $page = pdf_open_pdi_page($pdf, $pdi, 1,"");
    /* Höhe und Breite des PDF's */
    $width = pdf_get_pdi_value($pdf, "width", $pdi, $page, 0);
    $height = pdf_get_pdi_value($pdf, "height", $pdi, $page, 0); pdf_place_pdi_page($pdf, $tmppage, 1, 1, 1.0, 1.0);
    pdf_close_pdi_page($pdf, $tmppage);
    Ich bedanke mich im Vorraus!

    I do not know at the moment. I will inquire. Thanks for trying to answer.
    It almost seems like a framework bug. I get the feelling that the framework is getting maxed out with this form, and acting weird in all kinds of ways. But we are not really seeing any errors in all the logs.

Maybe you are looking for

  • Crashing on Macbook Pro 2011!

    I have been crashing around 5 times a day whenever my Macbook pro is not plugged in, which means i cannot actually use it as a laptop.  more like a desktop. Heres a crash report. EtreCheck version: 1.9.15 (52) Report generated 26 August 2014 17:54:27

  • Windows 8.1 on a Mac

    I purchased windows 8.1 and I am attempting to install it on my Mac. When I attempt to install using bootcamp I get an error that reads "Boot Camp only supports Windows 7 or later installation on this platform. Please use an ISO file for Windows 7 or

  • Sorting array not working when run as a job

    I have a Powershell script that reads data from a log file, extracts a username and adds it to an array. I then sort the array to remove duplicates and export the data to a CSV file. The script works fine when run locally on the server but I need to

  • Oracle 8i Personal Edition

    I NEED to download Oracle 8i Personal Edition. Obviously, it's been yanked from the site. Are there any other places I can download this? Or any other places I can get a hard copy. This is extremely urgent! Someone help, please.

  • Invalid endpoint uri with a new protocol (custom protocol)

    Hi! I've deployed a web service in the OSB console which has an endpoint with http protocol...(f.e. "http://myhost:port/WebService"), importing a jar which contains this files: proxy service, business service, schema and wsdl... I added to the weblog