LocalizedIllegalStateException: getSession was called outside of a valid co

I've encountered the error:
com.bea.wlw.netui.util.exception.LocalizedIllegalStateException: getSession was called outside of a valid context.
while executing a JSP page with the offending line:
<netui-data:repeater dataSource="{pageFlow.compositeVO.statusForms}">
PageFlow's getCompositeVO() method returns getSession().getAttribute("compositeVO"), which was cached in previous actions.
It seems illogical to me that the context is invalid for using getSession() while I'm within a JSP page.
Edited by chutan at 01/09/2007 9:18 AM

Seems like a bug to me.
To reproduce:
Weblogic Workshop 8.1.4
<netui:label value="{pageFlow.someGetterThatUsesSession}"/>
<jsp:include page="test.jsp"/>
<netui:label value="{pageFlow.someGetterThatUsesSession}"/>
The tag before the jsp:include will work fine, while the one after jsp:include will throw LocalizedIllegalStateException
Edited by chutan at 01/09/2007 9:17 AM
Edited by chutan at 01/09/2007 11:53 AM

Similar Messages

  • The STOP statement was used outside a report flow.

    Hi Gurus,
    when i am executing this program it is going to short dump.
    pls help me out.
    thanks in advance.
    Runtime Errors         STOP_NO_REPORT
    Date and Time          06.10.2008 12:10:06
    Short text
    The STOP statement was used outside a report flow.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "YMRP0003" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    The STOP statement is only useful in specific events of the report
    processing (that is, the execution of a type 1 program). In this case,
    there was no report flow, so the statement could not be executed.
    How to correct the error
    If the error occurred in your own ABAP program or in an SAP
    program you modified, try to remove the error.
    System environment
    SAP-Release 700
    Application server... "ciRDE"
    Network address...... "10.131.28.7"
    Operating system..... "HP-UX"
    Release.............. "B.11.23"
    Hardware type........ "ia64"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 3
    Shortdump setting.... "full"
    Database server... "hpx190"
    Database type..... "ORACLE"
    Database name..... "RDE"
    Database user ID.. "SAPDAT"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 21 2008 20:48:34"
    create on........ "HP-UX B.11.23 U ia64"
    Database version. "OCI_102 (10.2.0.1.0) "
    Patch level. 157
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "HP-UX B.11"
    Memory consumption
    Roll.... 16192
    EM...... 8379680
    Heap.... 0
    Page.... 65536
    MM Used. 3492016
    MM Free. 695200
    User and Transaction
    Client.............. 050
    User................ "MBAGGALA"
    Language key........ "E"
    Transaction......... "CC31 "
    Transactions ID..... "48E9EB60C2944602E10000000A831C07"
    Program............. "YMRP0003"
    Screen.............. "SAPMC29C 0020"
    Screen line......... 22
    Information on where terminated
    Termination occurred in the ABAP program "YMRP0003" - in "SCM-MRP-FSE-12_02".
    The main program was "SAPMC29C ".
    In the source code you have the termination point in line 138
    of the (Include) program "YMRP0003".
    Source Code Extract
    Line
    SourceCde
    108
    109
    110
    *This function module read the status of an object
    111
    112
    CALL FUNCTION 'STATUS_TEXT_EDIT'
    113
    EXPORTING
    114
    client           = sy-mandt
    115
    flg_user_stat    = lc_flagx
    116
    objnr            = ls_ecm_data-objnr
    117
    only_active      = lc_flagx
    118
    spras            = sy-langu
    119
    IMPORTING
    120
    line             = lf_sttxt
    121
    user_line        = lf_asttx
    122
    EXCEPTIONS
    123
    object_not_found = 1
    124
    OTHERS           = 2.
    125
    126
    CHECK NOT sy-tcode EQ 'CC32'.
    127
    *-- Begin of Changes made by DGupta1 on 07/12/2006--
    128
    Changes are made to update the Change Number Dates While Calling CC32
    129
    from custom transaction YC06 only
    130
    CHECK NOT sw_yc06 EQ 'X'.
    131
    *-- End of Changes made by DGupta1 on 07/12/2006--
    132
    133
    CHECK NOT lf_sttxt CS 'ECCM' AND NOT lf_sttxt CS 'ECOR'.
    134
    135
    136
    IF ls_ecm_data-datuv NE  lc_maxdate.
    137
    MESSAGE s011.
    >>>>>
       STOP.
    139
    ENDIF.
    140
    141
    142
    IF lf_lastd < lf_artwd.
    143
    MESSAGE s012.
    144
    STOP.
    145
    ENDIF.
    146
    147
    IF ls_ecm_data-lvorm = lc_flagx.
    148
    MESSAGE s013.
    149
    STOP.
    150
    ENDIF.
    151
    152
    WRITE: lf_lastd TO lf_lastd_string.
    153
    WRITE: lf_artwd TO lf_artwd_string.
    154
    155
    156
    IF ls_ecm_data-ccart NE lc_fixd.
    157
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    0
    SY-TABIX
    0
    SY-DBCNT
    1
    SY-FDPOS
    40
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    ARC0H
    SY-UCOMM
    FCBU
    SY-TITLE
    Create ECR: Object Types
    SY-MSGTY
    S
    SY-MSGID
    YMRP
    SY-MSGNO
    011
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20081006
    SY-UZEIT
    121006
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    7 FORM         YMRP0003                            YMRP0003                              138
    SCM-MRP-FSE-12_02
    6 FUNCTION     SAPLXCCA                            ZXCCAU05                               39
    EXIT_SAPMC29C_005
    5 FORM         SAPMC29C                            MC29CFS1_SAVE_USER_EXIT                36
    SAVE_USER_EXIT
    4 FORM         SAPMC29C                            MC29CFF2_FCODE_FCBU_EXECUTE            88
    FCODE_FCBU_EXECUTE
    3 FORM         SAPMC29C                            MC29CFO1_OKCODE_CHECK                 252
    OKCODE_CHECK
    2 MODULE (PAI) SAPMC29C                            MC29CI10_OKCODE                        12
    OKCODE
    1 MODULE (PAI) SAPMC29C                            MC29CI10_DYNPRO_CALL                   11
    DYNPRO_CALL
    Chosen variables
    Name
    Val.
    No.       7 Ty.          FORM
    Name  SCM-MRP-FSE-12_02
    SY-REPID
    YMRP0003
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5455333322222222222222222222222222222222
    9D20000300000000000000000000000000000000
    SY-TCODE
    CC31
    00000000000000000000
    00000000000000000000
    44332222222222222222
    33310000000000000000
    SW_YC06
    0
    0
    2
    0
    LF_STTXT
    CRTD
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    4554222222222222222222222222222222222222
    3244000000000000000000000000000000000000
    SYST-REPID
    YMRP0003
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5455333322222222222222222222222222222222
    9D20000300000000000000000000000000000000
    LS_ECM_DATA-DATUV
    20081006
    00000000
    00000000
    33333333
    20081006
    LC_MAXDATE
    29991231
    00000000
    00000000
    33333333
    29991231
    %_PRINT
    000                                                                                0###
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY-MSGID
    YMRP
    00000000000000000000
    00000000000000000000
    54552222222222222222
    9D200000000000000000
    LC_FLAGX
    X
    0
    0
    5
    8
    SPACE
    0
    0
    2
    0
    SY-MSGNO
    011
    000
    000
    333
    011
    LC_ITEM
    EUR_SCM-PUR-FSE-12_02
    000000000000000000000
    000000000000000000000
    455554425552454233533
    552F33DD052D635D12F02
    SY-MSGV1
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    SY-MSGV2
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    SY-MSGV3
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    SY-MSGV4
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    LF_LASTD
    00000000
    00000000
    00000000
    33333333
    00000000
    LF_ARTWD
    00000000
    00000000
    00000000
    33333333
    00000000
    SY-SUBRC
    0
    0000
    0000
    No.       6 Ty.          FUNCTION
    Name  EXIT_SAPMC29C_005
    ECM_ALT_DATE
    Table IT_665[0x202]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_ALT_DATE
    Table reference: 113
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 000000710000029900000000000000CAFFFFFFFF
    TABH+ 40(16) = 040000DB000006200010249401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 113   (0x00000071)
    label        = 665   (0x00000299)
    fill         = 0     (0x00000000)
    leng         = 202   (0x000000CA)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000018
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_DATA
    050            01001020081006            00000000            00000000            dsfasdddffSS
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3332222222222223333333333333322222222222233333333222222222222333333332222222222226766766666552
    0500000000000000100102008100600000000000000000000000000000000000000000000000000004361344466330
    ECM_EFFECTIVITY
    Table IT_666[0x464]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_EFFECTIVITY
    Table reference: 126
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 0000007E0000029A00000000000001D0FFFFFFFF
    TABH+ 40(16) = 040000DB000006800010249401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 126   (0x0000007E)
    label        = 666   (0x0000029A)
    fill         = 0     (0x00000000)
    leng         = 464   (0x000001D0)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000020
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_HIERARCHY
    Table IT_667[0x120]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_HIERARCHY
    Table reference: 110
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 0000006E0000029B0000000000000078FFFFFFFF
    TABH+ 40(16) = 040000DB000006B00010249401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 110   (0x0000006E)
    label        = 667   (0x0000029B)
    fill         = 0     (0x00000000)
    leng         = 120   (0x00000078)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000021
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_MNT_VALUE
    0000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222223333333333333333222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ECM_OBJMNGREC
    Table IT_668[0x600]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_OBJMNGREC
    Table reference: 107
    TABH+  0(20) = 0000000000000000000000000000000000000000
    TABH+ 20(20) = 0000006B0000029C0000000000000258FFFFFFFF
    TABH+ 40(16) = 040000DB000005C0001024C401800000
    store        = 0x0000000000000000
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 107   (0x0000006B)
    label        = 668   (0x0000029C)
    fill         = 0     (0x00000000)
    leng         = 600   (0x00000258)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000016
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 8     (cmpManyEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    ECM_OBJ_TYPE
    Table IT_669[28x192]
    \FUNCTION=EXIT_SAPMC29C_005\DATA=ECM_OBJ_TYPE
    Table reference: 116
    TABH+  0(20) = C0000009448BF3E0000000000000000000000000
    TABH+ 20(20) = 000000740000029D0000001C000000C0FFFFFFFF
    TABH+ 40(16) = 040000DB000005600010249421800000
    store        = 0xC0000009448BF3E0
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 116   (0x00000074)
    label        = 669   (0x0000029D)
    fill         = 28    (0x0000001C)
    leng         = 192   (0x000000C0)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000014
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xC0000009448B8270
    pgHook       = 0xC0000009448BF440
    idxPtr       = 0x0000000000000000
    shmTabhSet   = 0x0000000000000000
    id           = 195   (0x000000C3)
    refCount     = 1     (0x00000001)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 48    (0x00000030)
    lineAlloc    = 48    (0x00000030)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 2     (0x00000002)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    TRANS_TYP
    H
    0
    0
    4
    8
    D_ASTTX
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    2222222222222222222222222222222222222222
    0000000000000000000000000000000000000000
    SY-REPID
    SAPLXCCA
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454544422222222222222222222222222222222
    310C833100000000000000000000000000000000
    L_ITEM
    EUR_SCM-MRP-FSE-12_02
    000000000000000000000000000000
    000000000000000000000000000000
    455554424552454233533222222222
    552F33DDD20D635D12F02000000000
    LI_YBS00001
    050EUR_SCM-MRP-FSE-12_02         YMRP0003                                SCM-MRP-FSE-12_02
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3334555544245524542335332222222225455333322222222222222222222222222222222544245524542335332222
    050552F33DDD20D635D12F020000000009D2000030000000000000000000000000000000033DDD20D635D12F020000
    SY-SUBRC
    0
    0000
    0000
    SYST
    #######################(###############Z################################################XC####
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E000100
    0000000000000000000000020000000000000005000000000100000000000000000000000000010900000001540000
    0000000100000A0000000108010001000000000A0000000000000000000000000000000000000B000008000083000C
    LI_YBS00001-REPORT
    YMRP0003
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5455333322222222222222222222222222222222
    9D20000300000000000000000000000000000000
    LI_YBS00001-FORM
    SCM-MRP-FSE-12_02
    000000000000000000000000000000
    000000000000000000000000000000
    544245524542335332222222222222
    33DDD20D635D12F020000000000000
    LS_YBS00001
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    LS_YBS00001-ENABLED
    0
    0
    2
    0
    LS_YBS00001-REPORT
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    2222222222222222222222222222222222222222
    0000000000000000000000000000000000000000
    LS_YBS00001-FORM
    000000000000000000000000000000
    000000000000000000000000000000
    222222222222222222222222222222
    000000000000000000000000000000
    SYST-REPID
    SAPLXCCA
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454544422222222222222222222222222222222
    310C833100000000000000000000000000000000
    No.       5 Ty.          FORM
    Name  SAVE_USER_EXIT
    RET_CODE
    0
    0000
    0000
    SY-SUBRC
    0
    0000
    0000
    SY-MSGID
    YMRP
    00000000000000000000
    00000000000000000000
    54552222222222222222
    9D200000000000000000
    DARSTAB[]
    Table[initial]
    AEDTB[]
    Table IT_650[0x202]
    \PROGRAM=SAPMC29C\DATA=AEDTB[]
    Table reference: 129
    TABH+  0(20) = 0000000000000000C000000944A25D7000000000
    TABH+ 20(20) = 000000810000028A00000000000000CAFFFFFFFF
    TABH+ 40(16) = 0400000000000EF00010249401800000
    store        = 0x0000000000000000
    ext1         = 0xC000000944A25D70
    shmId        = 0     (0x00000000)
    id           = 129   (0x00000081)
    label        = 650   (0x0000028A)
    fill         = 0     (0x00000000)
    leng         = 202   (0x000000CA)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000065
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0000000000000000
    collHook     = 0x0000000000000000
    ext2         = 0xC000000944AFAD80
    >>>>> 2nd level extension part <<<<<
    tabhBack     = 0xC000000944A23AF0
    delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
    pb_func      = 0x0000000000000000
    pb_handle    = 0x0000000000000000
    CC07
    000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000
    222222222222222222222222222222222222222222222222222222222222222
    000000000000000000000000000000000000000000000000000000000000000
    AENRB
    050            01001020081006            00000000            00000000            dsfasdddffSS
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3332222222222223333333333333322222222222233333333222222222222333333332222222222226766766666552
    0500000000000000100102008100600000000000000000000000000000000000000000000000000004361344466330
    DARSTAB
    00000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222200
    00000000000000000000000000000000000000000000
    AEEFB[]
    Table IT_651[0x464]
    \PROGRAM=SAPMC29C\DATA=AEEFB[]
    Table reference: 105
    TABH+  0(20) = 0000000000000000C000000944AFADF000000000
    TABH+ 20(20) = 000000690000028B00000000000001D0FFFFFFFF
    TABH+ 40(16) = 0400000000000F500010249401800000
    store        = 0x0000000000000000
    ext1         = 0xC000000944AFADF0
    shmId        = 0     (0x00000000)
    id           = 105   (0x00000069)
    label        = 651   (0x0000028B)
    fill         = 0     (0x00000000)
    leng         = 464   (0x000001D0)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000067
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = Not allocated
    pghook       = Not allocated
    idxPtr       = Not allocated
    shmTabhSet   = Not allocated
    id           = Not allocated
    refCount     = Not allocated
    tstRefCount  = Not allocated
    lineAdmin    = Not allocated
    lineAlloc    = Not allocated
    shmVersId    = Not allocated
    shmRefCount  = Not allocated
    shmIsReadOnly = Not allocated
    >>>>> 1st level extension part <<<<<
    regHook      = 0x0000000000000000
    collHook     = 0x0000000000000000
    ext2         = 0xC0000009448F3220
    >>>>> 2nd level extension part <<<<<
    tabhBack     = 0xC00000094482B060
    delta_head   = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
    pb_func      = 0x0000000000000000
    pb_handle    = 0x0000000000000000
    DCTAB[]
    Table IT_35[7x16]
    \PROGRAM=SAPMC29C\DATA=DCTAB[]
    Table reference: 25
    TABH+  0(20) = C000000944921280000000000000000000000000
    TABH+ 20(20) = 00000019000000230000000700000010FFFFFFFF
    TABH+ 40(16) = 0400000000001BB00010249401800000
    store        = 0xC000000944921280
    ext1         = 0x0000000000000000
    shmId        = 0     (0x00000000)
    id           = 25    (0x00000019)
    label        = 35    (0x00000023)
    fill         = 7     (0x00000007)
    leng         = 16    (0x00000010)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000133
    occu         = 16    (0x00000010)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)

    Dear Rajesh!
    Please advise me, what have you done to resolve your problem!!??
    I get next problem when i try to start some transaction:
    Short text                                                                               
    Syntax error in program "SAPLPA_PACKAGE_SERVICES ".                                          
    What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLSFW_COMMON" had to be terminated because it has                
        come across a statement that unfortunately cannot be executed.                                                                               
    The following syntax error occurred in program "SAPLPA_PACKAGE_SERVICES " in                 
         include "LPA_PACKAGE_SERVICES$25 " in                                                       
        line 13:                                                                               
    "The type "TPCHK_FROZEN_OBJECTS_H" is unknown."                                              
    The include has been created and last changed by:                                            
        Created by: "SAP "                                                                               
    Last changed by: "SAP "                                                                      
        Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLSFW_COMMON" had to be terminated because it has                
        come across a statement that unfortunately cannot be executed.                               
    Error analysis                                                                               
    The following syntax error was found in the program SAPLPA_PACKAGE_SERVICES :                
        "The type "TPCHK_FROZEN_OBJECTS_H" is unknown."                                              
    Trigger Location of Runtime Error                                                                
        Program                                 SAPLSFW_COMMON                                       
        Include                                 LSFW_COMMONU01                                       
        Row                                     117                                                  
        Module type                             (FUNCTION)                                           
        Module Name                             SFW_GET_SWITCHPOS                                    
    Source Code Extract                                                                               
    Line
    SourceCde                                                                               
    87
         IF sy-subrc = 0.                                                                       
       88
           <fs_switchpos>-switch_id  = devc_resultline-switch_id .                              
       89
           <fs_switchpos>-state      = devc_resultline-state .                                  
       90
           <fs_switchpos>-text       = devc_resultline-text .                                   
       91
                                                                                    92
           INSERT <fs_switchpos> INTO TABLE resulttab. "Ergebnis merken                         
       93
           CONTINUE.                                                                               
    94
         ENDIF.                                                                               
    95
                                                                                    96
                                                                                    97
         READ TABLE gt_sfw_package INTO wa_sfw_package WITH TABLE KEY                           
       98
                        devclass = lf_devclass                                                  
       99
                        version  = 'A' .                                                        
      100
                                                                                    101
         IF sy-subrc = 0. "Objekt ist in einem Paket mit Schalter                               
      102
           <fs_switchpos>-switch_id = wa_sfw_package-switch_id .                                
      103
                                                                                    104
         ELSE. "gucken, ob es sich um geschachtelte Pakete handelt                              
      105
                                                                                    106
           DO 20 TIMES.                                                                               
    107
                                                                                    108
             CLEAR wa_superpackage .                                                            
      109
                                                                                    110
             READ TABLE gt_superpackage INTO wa_superpackage WITH TABLE KEY                     
      111
                             devclass = lf_devclass.                                            
      112
                                                                                    113
             IF sy-subrc = 0 .                                                                  
      114
               lf_superpackage = wa_superpackage-parentcl.                                      
      115
             ELSE.                                                                               
    116
                                                                                    >>>>>
               CALL FUNCTION 'PA_GET_SUPER_PACKAGE_NAME'                                        
      118
                 EXPORTING                                                                      
      119
                   i_package_name       = lf_devclass                                           
      120
                   i_direct_select      = 'X'                                                   
      121
                 IMPORTING                                                                      
      122
                   e_super_package_name = lf_superpackage.                                      
      123
                                                                                    124
                                                                                    125
               wa_superpackage-devclass = lf_devclass .                                         
      126
               wa_superpackage-parentcl = lf_superpackage .                                     
      127
               INSERT wa_superpackage INTO TABLE gt_superpackage .                              
      128
                                                                                    129
             ENDIF.                                                                               
    130
                                                                                    131
             IF lf_superpackage = space .                                                       
      132
               <fs_switchpos>-state     = space .                                               
      133
               <fs_switchpos>-switch_id = space .                                               
      134
               EXIT. "Enstation !                                                               
      135
             ELSE .                                                                               
    136

  • Agent detail report shows calls outside the time range

    Hi all,
    I have an UCCX 7.0 SR5 call center. My problem is that the agent detail report is showing calls outside the defined time range on the historical reporting client.
    Those calls start slightly after the end time difined in the HR client.
    Is there any explanation for this behaviour?
    Best Regards,

    Hello Hatem,
    I think that might be expected. In the Agent Detail Report the call start time is the time the call rang at the agent's extension and not necessarily the actual time the call started. So the report will show the call was really received within the time range but it rang the agent slightly after that time.
    HTH
    Pablo

  • Received calls outside of business hours

    Is it expected to see Received Calls and Successful Calls outside of your business
    hours i.e. 2am in the morning? <o:p></o:p>
    Thanks

    Hi,<o:p></o:p>
    I wasn’t expecting to see successful calls out of business hours. I appreciate that callers can still call out of hours and get the "closed" message, and perceived that as a received call. Presumed
    successful was only when open and group can apply queue and workflow rules.<o:p></o:p>
    So , I guess what I am asking is that a call out of hours will appear in both received and successful calls?

  • Phone calls outside BT Network fault?

    Hi Can anyone help me I discovered on Sunday that I can phone any BT network number and I can receive calls from any BT or other network numbers, but I cannot make a calls outside of the BT network?  Has anyone any ideas on this or come accross this before
    Thank you for your assistance
    Regards

    Funny you should ask that as I'm having problems calling a number with Utility Warehouse, no others. I intend to report it once I've checked whether other BT phones have the same. I get a message that the phone network is busy, do you?  
    You can click the white star next to this message if you think it was helpful.

  • How can I detect in Business HTML that the app was called from portal?

    How can I detect in Business HTML that the app was called from portal?
    I need to distinguish whether the application was called from portal (URL iView) or by using an URL outside of portal.
    So what I'm looking for is a variable or function that can be used like this:
    `if (~within_portal==1)`
      do this if called from portal
    `else;`
      do that if not called from portal
    `end;`
    For example, can I check in the program that there is a SSO2 cookie from the portal?
    I'm using Integrated ITS in Basis 700.

    Here is the trick:
      if (sapwp_active=="1")
        in portal
      else
        without portal
      end;

  • HELP! I want to know whether my hand-me-down iPhone 4 is SIM/carrier-locked or not. I was given an iPhone 4 which I think was purchased outside the Philippines.

    I was given an iPhone 4 which I believed was purchased outside the Philippines. The previous owner had it jailbroken but something went wrong so it was stuck on DFU mode. So when it was given to me, I had it restored and updated via iTunes to iOS 5.1. I bought a micro-sim and inserted it on the sim tray. iTunes was able to detect the SIM card number and there was NO MESSAGE like the sim card is not supported whatsoever which can be usually seen in unsupported simcard. I thought everything went smoothly. But when I tried to set-up the phone, the SLIDE TO UNLOCK button is unresponsive. It doesn't work so I was stuck there and my iPhone cannot be accessed because of that. What shall I do? I have tried doing the hard reset several times, it still didn't work. I have tried restoring my iPhone three times but the slide to unlock is still unresponsive. I think the iPhone was able to detect my carrier simcard since it shows on the top corner the name of my carrier, mobile signal and 3g network. Now I am wondering as to why the slide to unlock button is unresponsive? Was it because of my iPhone LCD or was it because the iPhone is locked? Please help.

    according to some blogs, if the sim card you are using is unsupported, iTunes will show you a message that the sim card you are using is unsupported. But when i opened itunes, I didn't see that message. Instead, it was able to detect my sim card number. So I guess, the simcard is supported. It isn't the original sim, though. Then the phone was able to detect the mobile carrier, mobile and 3g signals. So iam wondering whether my phone is locked or was it a hardware problem?

  • When I try to download the latest version of iTunes on my iPod Classic I get the message that "iTunes has an invalid signature" and that "Content was blocked because it was not signed by a valid security certificate.  Anyone know how to fix this?

    When I try to download the latest version of iTunes from apple.com, I get the message "Content was blocked because it was not signed by a valid security certificate."When I open iTunes and try to download the latest version there, I get the message "iTunes has an invalid signature.  The download has been removed."  I have also gotten an Internet Script Error stating that an error has occured in Line 0, Char O and that "Access is denied to images.apple.com/global/scripts/lib/iepngfix.htc."  This problem has never occurred with earlier versions of ITunes.  Anyone know how to fix this problem? 

    Are you downloading iTunes form an Apple website or somewhere else? If the answer is somewhere else, try downloading it from Apple. Click on iTunes in the black menu bar above and go from there.
    Let us know what happens.

  • The Web Dynpro application was called up with the wrong URL parameters

    Hi all,
    I am using the systems below:
    ERP STACK :16
    EHP : 4
    EHP SP Stack :4
    EA-HR * : 604(SP12)
    SAP-HR * :604(SP12)
    XSS JAVA components : SAP ESS 603 SP05
    SAP MSS 600 SP16
    PCUI_GP 603 SP05
    Business Package : BP ERP05 ESS 1.41 SP04
    BP ERP05 MSS 1.41 SP04
    BP ERP05 COMMON PARTS 1.41 SP04
    I am getting below error after clicking on the appraisal document:
    App. Called Up Incorrectly
    The Web Dynpro application was called up with the wrong URL parameters.
    Note
    Enter the URL parameters and their use.
    You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
    I already applied the below notes also:
    1468466 Performance Management Launchpad Configuration
    1463821 Performance Management Portal Configuration
    1416756 OBN Configuration in Performance Management
    1408243 Configuration for object-based navigation
    Plz advise me??
    Thanks,
    Anumit

    can you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!

  • Call object was called with start date in the previous month

    We have a single cycle maintenance plan for 30 days.
    Shift Factor Late Compl.   : 100%
    Tolerance                    :  10%
    Shift Factor Early Compl. :  100%
    Tolerance                    :    10%
    Cycle modification factor:    1
    Factory calendar            :  NIL
    Call horizon                    : 100%
    Scheduling period          :  90 DAY
    Scheduling indicator       : Time
    Call no . 11 was a plan date of 14.08.2009 has completion date 14.08.2009. Schedule type/status has "scheduled complete".
    Call no. 12 was called on 13.09.2009 which is in the past.
    Can someone explain why the system called the order with a starting date in the previuos month , that is , 13.09.2009.
    And how to rectify it to make it current date for the next call object?
    Thanks,
    Manohar

    I checked the algorithm for call no. 12
    Start of Cycle                07.08.2008
    Last planned date         14.08.2009
    Compl.Predecess           14.08.2009        Absolute shift                +   0 Da
    Planned cycle/offset      +    30 Da          Relative shift            0 % =   0 Da
    Shift                                 +     0 Da           erance value           0 % =   0 Da
    Planned Dates Due   13.09.2009    Completed on
    Last call on              15.10.2009    Called by               IP1020091015
    Workorder generated has start date 13.09.2009.
    Should we restart this plan , as the start dates in call object are at least 1 month old ?
    Thanks,
    Manohar

  • The content code I got was said as not reconised valid code during redemption of Up-to-date Program?

    I have registered for up-to-date program. However the content code I received was said as not recognised valid code during redemption. What can I do?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Folks report a two email process; one with a secure pdf that has the redemption code and another with the password to open the secure pdf.

  • DB_DBT_MALLOC was set when secondary db's callback function was called!

    I have a secondary db associated with a primary db,when i insert some test records into primary db
    ,i saw my sdb_callback was called twice!the first call with the correct data,but the seocond call
    was with wrong data,data.size was wrong ,with a big value and flags was set to DB_DBT_MALLOC ,
    what should i do when the callback was called twice?just return DB_DONOTINDEX?
    i modified the example code from source code/example_c/bench_001.c,make the bulk_fill the DB to
    have a secondary as following
    int sdb_callback(DB sdbp,          / secondary db handle */
                                  const DBT pkey,   / primary db record's key */
                                  const DBT pdata,  / primary db record's data */
                                  DBT skey)         / secondary db record's key */
         if(pdata->flags & DB_DBT_MALLOC)
              fprintf(stderr,"DB_DBT_MALLOC fired size:%d ksize:%d \r\n",pdata->size,pkey->size);
              return DB_DONOTINDEX;
         }else
              return DB_DONOTINDEX;
    FOR work WITH secondary db,i comment following out
         //if ((ret = dbp->set_flags(dbp, DB_DUP)) != 0) {
         //     dbp->err(dbp, ret, "set_flags");
         //     goto err;
         char sdb_filename[256];
         sprintf(sdb_filename, "s_%s",DATABASE );
         if ((ret = db_create(&sdbp, dbenv, 0)) != 0) {
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* set page size */
         if((ret = sdbp->set_pagesize(sdbp, pagesize)) != 0){
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* allow sorted duplicates. */
         /* try to open db*/
         ret = sdbp->open(sdbp, NULL, sdb_filename, NULL, DB_BTREE, DB_CREATE, 0664);
         if(ret != 0)
              dbp->err(dbp, ret, "%s: sdb open", DATABASE);
         dbp->associate(dbp, NULL, sdbp, sdb_callback, 0);
    then i run bulk_fill test,DB_DBT_MALLOC was OFTEN fired,but not every put!
    Edited by: feiman on May 23, 2010 4:35 AM

    following are codes from example_c bench_001.c
    i run ./a.out -B
    then it appears that when one record input to main db,secondary db's callback was called twice,except the FIRST record!!!
    #include <sys/types.h>
    #include <sys/time.h>
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #ifdef _WIN32
    extern int getopt(int, char * const *, const char *);
    #else
    #include <unistd.h>
    #endif
    #include <db.h>
    #define     DATABASE     "bench_001.db"
    int     bulk_fill(DB_ENV *, DB *, int, u_int, int, int, int *, int *);
    int     compare_int(DB *, const DBT *, const DBT *);
    DB_ENV db_init(char , char *, u_int, int);
    int     main(int, char *[]);
    void     usage(void);
    const char
         progname = "bench_001";          / Program name. */
    int
    sdb_callback(DB sdbp,          / secondary db handle */
                                  const DBT pkey,   / primary db record's key */
                                  const DBT pdata,  / primary db record's data */
                                  DBT skey)         / secondary db record's key */
         skey->data = pkey->data;
         skey->size = pkey->size;
    fprintf(stderr,"callback called size:%d ksize:%d \r\n",pdata->size,pkey->size);
         return 0;
    * db_init --
    *     Initialize the environment.
    DB_ENV *
         db_init(home, prefix, cachesize, txn)
         char home, prefix;
    u_int cachesize;
    int txn;
         DB_ENV *dbenv;
         u_int32_t flags;
         int ret;
         if ((ret = db_env_create(&dbenv, 0)) != 0) {
              dbenv->err(dbenv, ret, "db_env_create");
              return (NULL);
         dbenv->set_errfile(dbenv, stderr);
         dbenv->set_errpfx(dbenv, prefix);
         (void)dbenv->set_cachesize(dbenv, 0,
              cachesize == 0 ? 50 * 1024 * 1024 : (u_int32_t)cachesize, 0);
         flags = DB_CREATE | DB_INIT_MPOOL;
         if (txn)
              flags |= DB_INIT_TXN | DB_INIT_LOCK;
         if ((ret = dbenv->open(dbenv, home, flags, 0)) != 0) {
              dbenv->err(dbenv, ret, "DB_ENV->open: %s", home);
              (void)dbenv->close(dbenv, 0);
              return (NULL);
         return (dbenv);
    * bulk_fill - bulk_fill a db
    *     Since we open/created the db with transactions (potentially),
    * we need to populate it with transactions. We'll bundle the puts
    * UPDATES_PER_BULK_PUT to a transaction.
    #define     UPDATES_PER_BULK_PUT     3
    int
         bulk_fill(dbenv, dbp, txn, datalen, num, dups, countp, iterp)
         DB_ENV *dbenv;
    DB *dbp;
    u_int datalen;
    int txn, num, dups;
    int countp, iterp;
         DBT key, data;
         u_int32_t flag = 0;
         DB_TXN *txnp;
         struct data {
              int id;
              char str[1];
         } *data_val;
         int count, i, iter, ret;
         void ptrk, ptrd;
         int iCnt = 0;
         time_t now,then;
         time(&now);
         time(&then);
         * Insert records into the database, where the key is the user
         * input and the data is the user input in reverse order.
         txnp = NULL;
         ret = 0;
         count = 0;
         iter = 0;
         ptrk = ptrd = NULL;
         data_val = malloc(datalen);
         memcpy(data_val->str, "0123456789012345678901234567890123456789",
              datalen - sizeof(data_val->id));
         memset(&key, 0, sizeof(DBT));
         memset(&data, 0, sizeof(DBT));
         * Need to account for proper buffer size,
         * The buffer must be at least as large as the page size of
         * the underlying database, aligned for unsigned integer
         * access, and be a multiple of 1024 bytes in size.
         key.ulen = (u_int32_t)UPDATES_PER_BULK_PUT *
              sizeof(u_int32_t) * datalen * 1024;
         key.flags = DB_DBT_USERMEM | DB_DBT_BULK;
         key.data = malloc(key.ulen);
         data.ulen = (u_int32_t)UPDATES_PER_BULK_PUT *
              (u_int32_t)datalen * 1024;
         data.flags = DB_DBT_USERMEM | DB_DBT_BULK;
         data.data = malloc(data.ulen);
         if (dups)
              flag |= DB_MULTIPLE;
         else
              flag |= DB_MULTIPLE_KEY;
         DB_MULTIPLE_WRITE_INIT(ptrk, &key);
         if (dups)
              DB_MULTIPLE_WRITE_INIT(ptrd, &data);
         for (i = 0; i < num; i++) {
              if (txn != 0 && (i+1) % UPDATES_PER_BULK_PUT == 0) {
                   if (txnp != NULL) {
                        ret = txnp->commit(txnp, 0);
                        txnp = NULL;
                        if (ret != 0)
                             goto err;
                   if ((ret =
                        dbenv->txn_begin(dbenv, NULL, &txnp, 0)) != 0)
                        goto err;
              data_val->id = 0;
              do {
                   if (dups) {
                        DB_MULTIPLE_WRITE_NEXT(ptrk, &key,
                             &i, sizeof(i));
                        assert(ptrk != NULL);
                        DB_MULTIPLE_WRITE_NEXT(ptrd, &data,
                             data_val, datalen);
                        assert(ptrd != NULL);
                   else {
                        DB_MULTIPLE_KEY_WRITE_NEXT(ptrk,
                             &key, &i, sizeof(i), data_val, datalen);
                        assert(ptrk != NULL);
                   if ((i+1) % UPDATES_PER_BULK_PUT == 0) {
                        switch (ret = dbp->put(dbp, txnp, &key, &data, flag)) {
                        case 0:
                             iter++;
                             free (key.data);
                             free (data.data);
                             memset(&key, 0, sizeof(DBT));
                             memset(&data, 0, sizeof(DBT));
                             key.ulen =
                                  (u_int32_t)UPDATES_PER_BULK_PUT *
                                  sizeof(u_int32_t) * datalen * 1024;
                             key.flags = DB_DBT_USERMEM|DB_DBT_BULK;
                             key.data = malloc(key.ulen);
                             data.ulen =
                                  (u_int32_t)UPDATES_PER_BULK_PUT *
                                  (u_int32_t)datalen * 1024;
                             data.flags =
                                  DB_DBT_USERMEM|DB_DBT_BULK;
                             data.data = malloc(data.ulen);
                             DB_MULTIPLE_WRITE_INIT(ptrk, &key);
                             if (dups)
                                  DB_MULTIPLE_WRITE_INIT(ptrd, &data);
                             break;
                        default:
                             dbp->err(dbp, ret, "Bulk DB->put");
                             free (key.data);
                             free (data.data);
                             goto err;
                   count++;
              } while (++data_val->id < dups);
         if ((num % UPDATES_PER_BULK_PUT) != 0) {
              switch (ret = dbp->put(dbp, txnp, &key, &data, flag)) {
              case 0:
                   iter++;
                   free (key.data);
                   free (data.data);
                   break;
              default:
                   free (key.data);
                   free (data.data);
                   dbp->err(dbp, ret, "Bulk DB->put");
                   goto err;
         if (txnp != NULL)
              ret = txnp->commit(txnp, 0);
         printf("%d\n", count);
         *countp = count;
         *iterp = iter;
         return (ret);
    err:     if (txnp != NULL)
                   (void)txnp->abort(txnp);
              return (ret);
    int
         main(argc, argv)
         int argc;
    char *argv[];
         extern char *optarg;
         extern int optind;
         DB dbp,sdbp;
         DB_ENV *dbenv;
         DB_TXN *txnp;
         struct timeval start_time, end_time;
         double secs;
         u_int cache, datalen, pagesize;
         int biter, ch, count, dups, env, init, iter, num;
         int ret, rflag, txn, bulk, delete;
         txnp = NULL;
         datalen = 20;
         iter = num = 100;
         env = 1;
         dups = init = rflag = txn = bulk = delete = 0;
         pagesize = 65536;
         cache = 1000 * pagesize;
         while ((ch = getopt(argc, argv, "c:d:EIi:l:n:p:RTBD")) != EOF)
              switch (ch) {
              case 'c':
                   cache = (u_int)atoi(optarg);
                   break;
              case 'd':
                   dups = atoi(optarg);
                   break;
              case 'E':
                   env = 0;
                   break;
              case 'I':
                   init = 1;
                   break;
              case 'i':
                   iter = atoi(optarg);
                   break;
              case 'l':
                   datalen = (u_int)atoi(optarg);
                   break;
              case 'n':
                   num = atoi(optarg);
                   break;
              case 'p':
                   pagesize = (u_int)atoi(optarg);
                   break;
              case 'R':
                   rflag = 1;
                   break;
              case 'T':
                   txn = 1;
                   break;
              case 'B':
                   bulk = 1;
                   break;
              case 'D':
                   delete = 1;
                   break;
              case '?':
              default:
                   usage();
         argc -= optind;
         argv += optind;
         /* Remove the previous database. */
         if (!rflag) {
              if (env)
                   (void)system("rm -rf BENCH_001; mkdir BENCH_001");
              else
                   (void)unlink(DATABASE);
         dbenv = NULL;
         if (env == 1 &&
              (dbenv = db_init("BENCH_001", "bench_001", cache, txn)) == NULL)
              return (-1);
         if (init)
              exit(0);
         /* Create and initialize database object, open the database. */
         if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
              fprintf(stderr,
                   "%s: db_create: %s\n", progname, db_strerror(ret));
              exit(EXIT_FAILURE);
         dbp->set_errfile(dbp, stderr);
         dbp->set_errpfx(dbp, progname);
         if ((ret = dbp->set_bt_compare(dbp, compare_int)) != 0) {
              dbp->err(dbp, ret, "set_bt_compare");
              goto err;
         if ((ret = dbp->set_pagesize(dbp, pagesize)) != 0) {
              dbp->err(dbp, ret, "set_pagesize");
              goto err;
         if (dups && (ret = dbp->set_flags(dbp, DB_DUP)) != 0) {
              dbp->err(dbp, ret, "set_flags");
         goto err;
         if (env == 0 && (ret = dbp->set_cachesize(dbp, 0, cache, 0)) != 0) {
              dbp->err(dbp, ret, "set_cachesize");
              goto err;
         //if ((ret = dbp->set_flags(dbp, DB_DUP)) != 0) {
         //     dbp->err(dbp, ret, "set_flags");
         //     goto err;
         if (txn != 0)
              if ((ret = dbenv->txn_begin(dbenv, NULL, &txnp, 0)) != 0)
                   goto err;
         if ((ret = dbp->open(
              dbp, txnp, DATABASE, NULL, DB_BTREE, DB_CREATE, 0664)) != 0) {
                   dbp->err(dbp, ret, "%s: open", DATABASE);
                   if (txnp != NULL)
                        (void)txnp->abort(txnp);
                   goto err;
         char sdb_filename[256];
         sprintf(sdb_filename, "s_%s",DATABASE );
         if ((ret = db_create(&sdbp, dbenv, 0)) != 0) {
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* set page size */
         if((ret = sdbp->set_pagesize(sdbp, pagesize)) != 0){
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* allow sorted duplicates. */
         /* try to open db*/
         ret = sdbp->open(sdbp, NULL, sdb_filename, NULL, DB_BTREE, DB_CREATE, 0664);
         if(ret != 0)
              dbp->err(dbp, ret, "%s: sdb open", DATABASE);
         dbp->associate(dbp, NULL, sdbp, sdb_callback, 0);
         if (txnp != NULL)
              ret = txnp->commit(txnp, 0);
         txnp = NULL;
         if (ret != 0)
              goto err;
              if (bulk) {
                   /* Time the get loop. */
                   (void)gettimeofday(&start_time, NULL);
                   if ((ret = bulk_fill(dbenv, dbp, txn, datalen,
                        num, dups, &count, &biter)) != 0)
                        goto err;
                   (void)gettimeofday(&end_time, NULL);
                   secs =
                        (((double)end_time.tv_sec * 1000000 +
                        end_time.tv_usec) -
                        ((double)start_time.tv_sec * 1000000 +
                        start_time.tv_usec))
                        / 1000000;
                   printf("%d records put using %d batches",
                        count, biter);
                   printf(" in %.2f seconds: ", secs);
                   printf("%.0f records/second\n", (double)count / secs);
         /* Close everything down. */
         if ((ret = dbp->close(dbp, rflag ? DB_NOSYNC : 0)) != 0) {
              fprintf(stderr,
                   "%s: DB->close: %s\n", progname, db_strerror(ret));
              return (1);
         return (ret);
    err:     (void)dbp->close(dbp, 0);
         return (1);
    int
         compare_int(dbp, a, b)
         DB *dbp;
    const DBT a, b;
         int ai, bi;
         dbp = dbp;                    /* Lint. */
         * Returns:
         *     < 0 if a < b
         *     = 0 if a = b
         *     > 0 if a > b
         memcpy(&ai, a->data, sizeof(int));
         memcpy(&bi, b->data, sizeof(int));
         return (ai - bi);
    void
         usage()
         (void)fprintf(stderr, "usage: %s %s\n\t%s\n",
              progname, "[-EIRTBE] [-c cachesize] [-d dups]",
              "[-i iterations] [-l datalen] [-n keys] [-p pagesize]");
         exit(EXIT_FAILURE);
    }

  • Did not complete ugrade to Mountain Lion.Obtained license and personal id but was called away fro Mac for an emergency. Please advise how I can handle. Mountain Lion is

    Hello, I was in the middle of upgrading to Mountain Lion when I was called away from computer. Three one hours phone calleover cyber monday went unanswerd. Have License and ID. Please advise how to finish transaction.
    g

    Mac App Store: How to resume interrupted downloads

  • Import-SPWeb Error - The string was not recognized as a valid DateTime. There is an unknown word starting at index 0

    Using the Export-SPWeb PowerShell command on a server to move a document library from one site colelction in a content database to another site collection in a seperate content database.
    Am using the following command:
    Export-SPWeb
    -Identity
    https://sp.bacl.net/legal/rr
    -Path
    \\bacvsspa01\backups\rr\rr.cmp
    -ItemUrl
    rr
    -IncludeVersions
    All
    -IncludeUserSecurity
    Not all documents are transferred hwoever. I get some errors like the following:
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg] Progress: Importing
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Verbose: List URL: /legal/legal/rr
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Error: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Debug:    at System.DateTime.Parse(String s, IFormatProvider provider)
       at System.Convert.ToDateTime(String value, IFormatProvider provider)
       at System.Runtime.Serialization.SerializationInfo.GetDateTime(String name)
       at Microsoft.SharePoint.Deployment.MetaInfoProperty..ctor(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.GetMetaInfo(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper
    infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileAndAssocData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper
    infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItem(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, String& listItemServerRelativeUrl, Boolean bIsPublish,
    Boolean exists, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
    I had a look in the .cmp file that was created (Changed extensions to .cab) and had a look at the Manifest.xml file. Relevant XML below:
    <SPObject Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ObjectType="SPFile" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024" ParentWebUrl="/legal/rr" Url="/legal/rr/rr/Employees
    giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg">
            <File Url="rr/Employees giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024"
    ParentWebUrl="/legal/rr" Name="16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" ListItemIntId="37" ListId="020f8304-a50f-413b-be27-40d0ccc9e497" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" TimeCreated="2011-11-16T07:02:00"
    TimeLastModified="2011-11-16T07:02:00" Version="1.0" CheckinComment="Loaded Using Dell Solutions for SharePoint" FileValue="00000013.dat" Author="29" ModifiedBy="24">
                <Properties>
                    <Property Name="vti_title" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="source_item_id" Type="String" Access="ReadWrite" Value="source_item_id:1" />
                    <Property Name="vti_foldersubfolderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="Attach Count" Type="String" Access="ReadWrite" Value="Attach Count:0" />
                    <Property Name="Created By" Type="Boolean" Access="ReadWrite" Value="Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Importance" Type="String" Access="ReadWrite" Value="Importance:1" />
                    <Property Name="From1" Type="Time" Access="ReadWrite" Value="From1:Tom Heading" />
                    <Property Name="AttachCount" Type="String" Access="ReadWrite" Value="AttachCount:0" />
                    <Property Name="ContentTypeId" Type="String" Access="ReadWrite" Value="0x0101003699C96894FF79479322E4A235852946000530E240279BA54D8F621B39A4E09CF3"
    />
                    <Property Name="Modified By" Type="Boolean" Access="ReadWrite" Value="Modified By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_folderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Author" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="Document Created By" Type="Boolean" Access="ReadWrite" Value="Document Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Created_x0020_By" Type="Boolean" Access="ReadWrite" Value="Created_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_cachedtitle" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="Modified_x0020_By" Type="Boolean" Access="ReadWrite" Value="Modified_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="ContentType" Type="String" Access="ReadWrite" Value="Legal Document" />
                    <Property Name="Attach_x0020_Count" Type="String" Access="ReadWrite" Value="Attach_x0020_Count:0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Editor" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="vti_parserversion" Type="String" Access="ReadOnly" Value="15.0.0.4535" />
                    <Property Name="To" Type="Boolean" Access="ReadWrite" Value="To:Barry Peach" />
    <Property Name="From" Type="Time" Access="ReadWrite" Value="From:Tom Heading" />
                    <Property Name="Document Modified By" Type="Boolean" Access="ReadWrite" Value="Document Modified By:BNE_AIR1\\jbrown"
    />
                </Properties>
            </File>
        </SPObject>
    Now, looking at the source document library, this document has the field in question set to String, so why has it been marked as a Time filed type in the expiort file?
    Is anyone aware of any issues with the Export-SPWeb commandlet?
    SharePoint 2013 + March PU + AUG 2013 CU.
    Any help appreciated.

    Hi Richard,
    According to your description, the error occurred when you ran the Export-SPWeb command.
    I recommend to verify the things below for troubleshooting:
    Save the document library as an template(include content) and create a new document library based on the template, then run the Export-SPWeb command to export the new document library to see if the issue still occurs.
    Did this issue occur with other document library? If not, you can delete the string field with error, then run the Export-SPWeb command to narrow the issue scope.
    As a workaround, you can save the library as a template and deploy it to the site collection where you want to move the library, then create the new library in the site collection.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • One select list with multiple LOV's (LOV based on how page was called)

    APEX 4.0.2
    I've a DML form page from a report on which I need a single select list item to have a differing LOV based on how the form page was called.
    The calling page (report), contains an edit link column and a create button. Depending on which is selected, I wish the LOV for my select list item to change. The idea behind this is that if someone creates a new entry, I want to constrain the select list to a subset of rows of a table query populating the LOV. On the other hand, if an existing item is edited, I want the select list LOV containing all rows of a table query populating the LOV.
    What I've tried...
    - Duplicates of select list item each triggered to render based on an arbitrary value set when either "create" or "edit" are selected. This did not work because the item was part of DML and would not allow replication on the same page.
    - Logic in the LOV sql statement controlling which sql was to be run based on an arbitrary value set when either "create" or "edit" are selected. This did not work as logic is not allowed in LOV sql statements.
    Any thoughts? Many Thanks!
    Paul

    Hello Patrick!
    Thanks for responding - Love your captcha plugin!
    Anyway, these are the two dynamic LOV's. The first I have in play right now (when creating new records). I need to have the other for existing record modifications.
    LOV #1
    select stock_no d, stock_no r
    from   [email protected]
    where  status like '%Awaiting Transfer%'
    or     status like '%On Hold%'
    order by 1LOV #2
    select stock_no d, stock_no r
    from   [email protected]
    order by 1As I mentioned, I attempted to use plsql logic in the query to trigger one or the other based on a value set when the user either clicked an edit link or a create button but couldn't get the dynamic LOV to commit with that extra code in it.
    Thanks!
    Paul

Maybe you are looking for

  • Vendor return through SD

    Hi to all!     I have configured vendor return through SD delivery and billing.I want to capture excise invoice also. But i cannot copy pricing elements like price, ED, Cess, SH cess etc.    How can i do this. Advance thanks.

  • I'm dumb, can't figure how to get playlist from itunes library into my itou

    Ok, I have looked and looked and did search. I want to copy a few playlists from my itunes library into my itouch. I was told they would transfer when I synched, they didn't. Drag and drop does not do the job. What am I missing? I am sure something v

  • Best folder redirection options for a large environment

    I am just curious to hear what the community recomends for large environments for user's files. Meaning, is desktop sync better than creating home directories and using offline sync? I am just trying to find the best way to have users able to access

  • Screen Gets Blue After Switching To Another Account

    Is it me or has anyone else experienced this when you switch to another account the screen sometimes goes blue It happens frequently First of all why does it happen And second is there a way to resolve it Thank you

  • Macbook pro 15 2009 : After last update Mountain Lion my sound device is gone !

    So workin great untill I push the update Mountain Lion , after that my sound device gone ! If I boot in BootCamp there I have sound, also I took my laptop to service and they try a lot of things ...... includint resets and boot from external hard dri