Error by binding a table to context node

Hello Experts,
If I try to bind a table of strings, there comes the error:
"Dynamic type conflict during the assignment of references."
Here is my coding:
METHOD fill_cssref_data .
  "Stores the references to the css
  DATA: lt_cssref TYPE TABLE OF string,
        wb_cssref LIKE LINE OF lt_cssref.
  DATA: lo_nd_cssref TYPE REF TO if_wd_context_node.
  DATA: wb_messages LIKE LINE OF lt_messages.
  lo_nd_cssref = wd_context->get_child_node( wd_this->wdctx_cssref_data ).
  LOOP AT lt_messages INTO wb_messages.
    CONCATENATE 'https://gtp.wdf.sap.corp/sap/bc/webdynpro/qce/msg_gui_edit?sap-language=E&csinsta='
                  wb_messages-installno '&mnumm=' wb_messages-problemno '&myear=' wb_messages-pyear
    INTO wb_cssref.
    APPEND wb_cssref TO lt_cssref.
  ENDLOOP.
  lo_nd_cssref->bind_table( lt_cssref ).
endmethod.
The node "CSSREF_DATA" contains just one attribute "CSSREF" type string, so I don't know why there's a problem binding a table of strings to this node.
I also tried the method "lo_nd_cssref->bind_elements( lt_cssref )", but the result was the same.
Does anybody know where my mistake is?
Best regards,
Lennart

Hello,
the problem was, that the string table had not the same name as the context node.
Best regards,
Lennart

Similar Messages

  • How to create a table type context node

    Hi,
    I am trying to create table type context node. While creating, in the wizard no where I can see the option for this.
    Could you please let me know how can I do this?
    In one standard component: SRQM_INCIDENT_H, I can see multiple table type context nodes. Not sure how and why?
    Thanks,
    Sandeep

    HI Sandeep,
      When you right click on context node and create , a wizard will open. In that Wizard in one sreen it will ask for type of view. There you have to select Table View.
    Regards,
    Lakshmi.Y

  • Error in getting reference to a context node.

    Hi,
         I am getting NULL Object reference error while try to get reference to a context node of a window.
    Here is Error message. Please give some suggestions.
    The following error text was processed in the system NSP : Access via 'NULL' object reference not possible.
    The error occurred on the application server Sundar_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: HANDLEDEFAULT of program /1BCWDY/0NMKGBOSP2TIV65B1I11==CP
    Method: HANDLEDEFAULT of program /1BCWDY/0NMKGBOSP2TIV65B1I11==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/0NMKGBOSP2TIV65B1I11==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
    Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Cheers,
    Sam

    Hii.. Here is the short dump.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          07.04.2007 16:43:21
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP" 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
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
    caught in
    procedure "HANDLEDEFAULT" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component.
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
    "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP" or "/1BCWDY/B_0NMLUIVDHGPOBAS29YIF"
    "HANDLEDEFAULT"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "HANDLEDEFAULT" "(METHOD)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    System environment
    SAP-Release 700
    Application server... "Sundar"
    Network address...... "10.10.0.10"
    Operating system..... "Windows NT"
    Release.............. "5.1"
    Hardware type........ "2x Intel 80686"
    Character length.... 8 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "SUNDAR"
    Database type..... "ADABAS D"
    Database name..... "NSP"
    Database user ID.. "SAPNSP"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Jan 29 2007 00:33:09"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "SQLDBC 7.6.0.036 CL 140088 "
    Patch level. 95
    Patch text.. " "
    Database............. "MaxDB 7.6, MaxDB 7.7"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 8112
    EM...... 3135888
    Heap.... 0
    Page.... 0
    MM Used. 2645808
    MM Free. 488520
    User and Transaction
    Client.............. 000
    User................ "BCUSER"
    Language Key........ "E"
    Transaction......... " "
    Program............. "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "127.0.0.1"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zexp_parameter_app/"
    Information on where terminated
    Termination occurred in the ABAP program "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP" -
    in "HANDLEDEFAULT".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 309
    of the (Include) program "/1BCWDY/B_0NMLUIVDHGPOBAS29YIF".
    Termination occurred in a Web Dynpro application
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
    procedure "HANDLEDEFAULT" "(METHOD)", but it was neither handled locally nor
    declared
    in the RAISING clause of its signature.
    The procedure is in program "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP "; its source
    code begins in line
    301 of the (Include program "/1BCWDY/B_0NMLUIVDHGPOBAS29YIF ".
    Source Code Extract
    Line
    SourceCde
    279
    endmethod.
    280
    281
    282
    general methods
    283
    284
    285
    method WDDOEXIT . "#EC NEEDED
    286
    endmethod.
    287
    288
    method WDDOINIT . "#EC NEEDED
    289
    endmethod.
    290
    291
    method WDDOONCLOSE . "#EC NEEDED
    292
    endmethod.
    293
    294
    method WDDOONOPEN . "#EC NEEDED
    295
    endmethod.
    296
    297
    298
    event handlers
    299
    300
    301
    METHOD handledefault .
    302
    DATA lr_node TYPE REF TO if_wd_context_node.
    303
    DATA ls_content TYPE if_zexp_parameter_app=>element_content.
    304
    305
    Assign Parameter values
    306
    ls_content-first_name = first_name.
    307
    ls_content-last_name = last_name.
    308
    Get reference to context node 'CONTEXT'
    >>>>>
    lr_node->get_child_node( 'CONTENT' ).
    310
    Bind element
    311
    lr_node->bind_element( new_item = ls_content ).
    312
    313
    ENDMETHOD.
    314
    315
    endclass.
    316
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    2
    SY-FDPOS
    21
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070407
    SY-UZEIT
    164321
    SY-XPROG
    SSO2GETPARAM
    SY-XFORM
    GET_PARAMETER
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    11 METHOD       /1BCWDY/0NMKGBOSP2TIV65B1I11==CP    /1BCWDY/B_0NMLUIVDHGPOBAS29YIF        309
    CL_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    10 METHOD       /1BCWDY/0NMKGBOSP2TIV65B1I11==CP    /1BCWDY/B_0NMLUIVDHGPOBAS29YIF        246
    CLF_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    9 METHOD       /1BCWDY/0NMKGBOSP2TIV65B1I11==CP    /1BCWDY/B_0NMLUIVDHGPOBAS29YIF        193
    CLF_ZEXP_PARAMETER_APP_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    8 METHOD       CL_WDR_DELEGATING_IF_VIEW=====CP    CL_WDR_DELEGATING_IF_VIEW=====CM006     3
    CL_WDR_DELEGATING_IF_VIEW=>INVOKE_EVENTHANDLER
    7 METHOD       CL_WDR_CLIENT_COMPONENT=======CP    CL_WDR_CLIENT_COMPONENT=======CM004    56
    CL_WDR_CLIENT_COMPONENT=>DISPLAY_TOPLEVEL_COMPONENT
    6 METHOD       CL_WDR_CLIENT_APPLICATION=====CP    CL_WDR_CLIENT_APPLICATION=====CM00L    30
    CL_WDR_CLIENT_APPLICATION=>INIT
    5 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    40
    CL_WDR_MAIN_TASK=>EXECUTE
    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    69
    CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM00I   524
    CL_HTTP_SERVER=>EXECUTE_REQUEST
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                      929
    HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
    %_HTTP_START
    Chosen variables
    Name
    Val.
    No.      11 Ty.          METHOD
    Name  CL_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT
    FIRST_NAME
    first_name
    6677756666
    69234FE1D5
    LAST_NAME
    last_name
    667756666
    C134FE1D5
    WDEVENT
    |
    | 0000F000 |
    | F0000000 |
    | SYST-REPID |
    | /1BCWDY/0NMKGBOSP2TIV65B1I11==CP |
    | 2344545234444445535453343433334522222222 |
    | F123749F0EDB72F3024966521911DD3000000000 |
    | LS_CONTENT-FIRST_NAME |
    | first_name |
    | 6677756666 |
    | 69234FE1D5 |
    | LS_CONTENT-LAST_NAME |
    | last_name |
    | 667756666 |
    | C134FE1D5 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | LS_CONTENT |
    | ë#######ê####### |
    | E0000100E0000100 |
    | B0004300A0005300 |
    | No.      10 Ty.          METHOD |
    | Name  CLF_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT |
    | EVENT |
    |
    0000F000
    F0000000
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | EVENT->PARAMETERS |
    | Table IT_628[3x16] |
    | DATA=PARAMETERS
    Table reference: 361
    TABH+  0(20) = 38CAA53BD87CAE3B000000006901000074020000
    TABH+ 20(20) = 0300000010000000FFFFFFFF04520100A0030000
    TABH+ 40( 8) = 10000000A4288401
    store        = 0x38CAA53B
    ext1         = 0xD87CAE3B
    shmId        = 0     (0x00000000)
    id           = 361   (0x69010000)
    label        = 628   (0x74020000)
    fill         = 3     (0x03000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000006
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    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         = 0x28C9A53B
    pgHook       = 0x00000000
    idxPtr       = 0x78CAA53B
    shmTabhSet   = 0x00000000
    id           = 212   (0xD4000000)
    refCount     = 1     (0x01000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 2     (0x02000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0xA87BAE3B
    collHook     = 0x00000000
    ext2         = 0x00000000
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    <CUR_PARAM>
    +###Ô     ##ß#######
    2000D000D0001000
    B0004900F0000000
    SY-SUBRC
    0
    0000
    0000
    %_VIASELSCR
    0
    4
    SY
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000
    1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | SY-REPID |
    | /1BCWDY/0NMKGBOSP2TIV65B1I11==CP |
    | 2344545234444445535453343433334522222222 |
    | F123749F0EDB72F3024966521911DD3000000000 |
    | <CUR_PARAM>-VALUE |
    | 0.0.0.0.0.0.0.1.  |
    | D0001000 |
    | F0000000 |
    | LAST_NAME |
    | last_name |
    | 667756666 |
    | C134FE1D5 |
    | ME->F_APPL_CLASS |
    |
    A0005000
    E0001000
    FIRST_NAME
    first_name
    6677756666
    69234FE1D5
    WDEVENT
    |
    | 0000F000 |
    | F0000000 |
    | No.       9 Ty.          METHOD |
    | Name  CLF_ZEXP_PARAMETER_APP_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER |
    | HANDLER_NAME |
    | HANDLEDEFAULT |
    | 4444444444545 |
    | 81E4C545615C4 |
    | EVENT |
    |
    0000F000
    F0000000
    PARAMETERS
    Table[initial]
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | WDEVENT |
    |
    0000F000
    F0000000
    ABAP_TRUE
    X
    5
    8
    ME->F_SYS64738
    2
    0
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | CX_WD_BAD_STATE=>USAGE_AFTER_DO_EXIT |
    | 9E034D3F19DCAB3FE10000000A1550A8 |
    | 34333434334444344333333334333343 |
    | 95034436194312365100000001155018 |
    | ME |
    |
    B0004000
    5000A000
    No.       8 Ty.          METHOD
    Name  CL_WDR_DELEGATING_IF_VIEW=>INVOKE_EVENTHANDLER
    NAME
    HANDLEDEFAULT
    4444444444545
    81E4C545615C4
    EVENT
    0000F000
    F0000000
    RET
    |
    | F0000000 |
    | F0000000 |
    | SYST-REPID |
    | CL_WDR_DELEGATING_IF_VIEW=====CP |
    | 4455455444444544454455445333334522222222 |
    | 3CF742F45C57149E7F96F6957DDDDD3000000000 |
    | SY-REPID |
    | CL_WDR_DELEGATING_IF_VIEW=====CP |
    | 4455455444444544454455445333334522222222 |
    | 3CF742F45C57149E7F96F6957DDDDD3000000000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | No.       7 Ty.          METHOD |
    | Name  CL_WDR_CLIENT_COMPONENT=>DISPLAY_TOPLEVEL_COMPONENT |
    | WINDOW_ID |
    | $$ROOT_VIEW_AREA |
    | 2254455544554544 |
    | 442FF4F6957F1251 |
    | PARAMETERS |
    | Table IT_264[3x16] |
    | CLASS=CL_WDR_CLIENT_APPLICATIONMETHOD=INITDATA=PARAMETERS |
    | Table reference: 172 |
    | TABH+  0(20) = 38CAA53B0000000000000000AC00000008010000 |
    | TABH+ 20(20) = 0300000010000000FFFFFFFF04AE0000F8090000 |
    | TABH+ 40( 8) = 10000000A4288401 |
    | store        = 0x38CAA53B |
    | ext1         = 0x00000000 |
    | shmId        = 0     (0x00000000) |
    | id           = 172   (0xAC000000) |
    | label        = 264   (0x08010000) |
    | fill         = 3     (0x03000000) |
    | leng         = 16    (0x10000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000035 |
    | occu         = 16    (0x10000000) |
    | access       = 4     (ItAccessHashed) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 1     (ItUnique) |
    | keyKind      = 1     (default) |
    | cmpMode      = 4     (cmpSingleEq) |
    | 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         = 0x28C9A53B |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x78CAA53B |
    | shmTabhSet   = 0x00000000 |
    | id           = 212   (0xD4000000) |
    | refCount     = 1     (0x01000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 2     (0x02000000) |
    | >>>>> 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 |
    | STARTUP_PLUG |
    | )###Æ     ##.###Ñ     ##1X## |
    | 2000C0002000D0003500 |
    | 90006900E00019001800 |
    | INTERFACE_VIEW_INFO |
    |
    F0000000
    3000C000
    <VIEW_MANAGER>-VIEW_MANAGER
    |
    | C0003000 |
    | B0004000 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | L_DELEGATING_IF_VIEW |
    |
    B0004000
    90006000
    SY-REPID
    CL_WDR_CLIENT_COMPONENT=======CP
    4455455444445544454444533333334522222222
    3CF742F3C95E4F3FD0FE5E4DDDDDDD3000000000
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    STARTUP_PLUG-PLUG_NAME
    DEFAULT
    4444545
    45615C4
    L_EVENT_HANDLER
    )###Æ     ##/###Р    ##CL_WDY_MD_CTLR_EVENT_HANDLER  ######0###ï#######ï#######ï#######ï#######)###Æ     
    2000C0002000D0004455455445454554544554444445220000003000E0000000E0000000E0000000E00000002000C0
    90006900F00009003CF749FD4F34C2F565E4F81E4C52000010000000F0000000F0000000F0000000F0000000900069
    L_CUSTOM_EVENT
    0000F000
    F0000000
    SYST-REPID
    CL_WDR_CLIENT_COMPONENT=======CP
    4455455444445544454444533333334522222222
    3CF742F3C95E4F3FD0FE5E4DDDDDDD3000000000
    L_EVENT_HANDLER-CMPNAME
    HANDLEDEFAULT
    4444444444545
    81E4C545615C4
    No.       6 Ty.          METHOD
    Name  CL_WDR_CLIENT_APPLICATION=>INIT
    %_DUMMY$$
    2222
    0000
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | SY-REPID |
    | CL_WDR_CLIENT_APPLICATION=====CP |
    | 4455455444445545544445444333334522222222 |
    | 3CF742F3C95E4F100C93149FEDDDDD3000000000 |
    | SY-XFORM |
    | GET_PARAMETER |
    | 445554544454522222222222222222 |
    | 754F0121D545200000000000000000 |
    | L_STARTUP_VIEW |
    |
    F0000000
    3000C000
    %_SPACE
    2
    0
    ME
    |
    | D0002000 |
    | F0000000 |
    | PARAMETERS |
    | Table IT_264[3x16] |
    | SY-XPROG |
    | SSO2GETPARAM |
    | 5543445545442222222222222222222222222222 |
    | 33F27540121D0000000000000000000000000000 |
    | CL_WDR_CLIENT_CONSTANTS=>ROOT_WINDOW_VIEW_AREA_NAME |
    | $$ROOT_VIEW_AREA |
    | 2254455544554544 |
    | 442FF4F6957F1251 |
    | No.       5 Ty.          METHOD |
    | Name  CL_WDR_MAIN_TASK=>EXECUTE |
    | SY-REPID |
    | CL_WDR_MAIN_TASK==============CP |
    | 4455455444455454333333333333334522222222 |
    | 3CF742FD19EF413BDDDDDDDDDDDDDD3000000000 |
    | L_APPLICATION_NAME |
    | ZEXP_PARAMETER_APP |
    | 5455554544454554552222222222222222222222 |
    | A580F0121D5452F1000000000000000000000000 |
    | SY-MSGID |
    |  |
    | 22222222222222222222 |
    | 00000000000000000000 |
    | WDR_TASK=>RESPONSE |
    |
    F0000000
    A0005000
    SYST-REPID
    CL_WDR_MAIN_TASK==============CP
    4455455444455454333333333333334522222222
    3CF742FD19EF413BDDDDDDDDDDDDDD3000000000
    SY-MSGNO
    000
    333
    000
    SPACE
    2
    0
    WDR_TASK=>APPLICATION_NAME
    ZEXP_PARAMETER_APP
    545555454445455455
    A580F0121D5452F100
    WDR_TASK=>CLIENT_WINDOW
    |
    | F0000000 |
    | 0000F000 |
    | WDR_TASK=>APPLICATION |
    |
    D0002000
    F0000000
    %_DUMMY$$
    2222
    0000
    ME->APPLICATIONS
    Table IT_251[1x8]
    DATA=APPLICATIONS |
    | Table reference: 167 |
    | TABH+  0(20) = F8B8A53B0000000000000000A7000000FB000000 |
    | TABH+ 20(20) = 0100000008000000FFFFFFFF042C0000B8040000 |
    | TABH+ 40( 8) = 10000000C1288001 |
    | store        = 0xF8B8A53B |
    | ext1         = 0x00000000 |
    | shmId        = 0     (0x00000000) |
    | id           = 167   (0xA7000000) |
    | label        = 251   (0xFB000000) |
    | fill         = 1     (0x01000000) |
    | leng         = 8     (0x08000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000011 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 4     (cmpSingleEq) |
    | 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         = 0x68B8A53B |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 208   (0xD0000000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 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 |
    | SYST |
    | 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.  |
    | 0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000 |
    | 1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000 |
    | WDR_TASK=>APPLICATION->IS_SUSPENDED |
    |  |
    | 2 |
    | 0 |
    | ABAP_TRUE |
    | X |
    | 5 |
    | 8 |
    | WDR_TASK=>APPLICATION->APPLICATION_WINDOW->VIEW_MANAGER->IF_WDR_VIEW_MANAGER~WINDOW_INFO |
    |
    F0000000
    3000C000
    L_APPL_STATE_CHANGE
    |
    | F0000000 |
    | F0000000 |
    | No.       4 Ty.          METHOD |
    | Name  CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST |
    | SERVER |
    |
    F0000000
    D0002000
    WDR_TASK=>APPLICATION
    |
    | D0002000 |
    | F0000000 |
    | ME |
    |
    F0000000
    90006000
    WDR_TASK=>CLIENT_WINDOW
    |
    | F0000000 |
    | 0000F000 |
    | LR_UCF |
    |
    F0000000
    80007000
    WDR_TASK=>CLIENT_WINDOW->CLIENT
    |
    | E0001000 |
    | A0005000 |
    | WDR_TASK=>CLIENT_WINDOW->REC_PLUGIN_MANAGER |
    |
    E0001000
    3000C000
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    WDR_TASK=>CLIENT_WINDOW->CLIENT_INFO_OBJECT
    |
    | F0000000 |
    | 0000F000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | ME->APPL_STATISTICS+12(8) |
    |  |
    | WDR_TASK=>APPLICATION_NAME |
    | ZEXP_PARAMETER_APP |
    | 545555454445455455 |
    | A580F0121D5452F100 |
    | No.       3 Ty.          METHOD |
    | Name  CL_HTTP_SERVER=>EXECUTE_REQUEST |
    | SERVER |
    |
    F0000000
    D0002000
    SERVTBL
    Table IT_210[6x2336]
    FUNCTION=HTTP_DISPATCH_REQUESTDATA=SERVTBL
    Table reference: 1
    TABH+  0(20) = 38F1A53B000000000000000001000000D2000000
    TABH+ 20(20) = 0600000020090000180000000401000020070000
    TABH+ 40( 8) = 04000000C1308001
    store        = 0x38F1A53B
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 1     (0x01000000)
    label        = 210   (0xD2000000)
    fill         = 6     (0x06000000)
    leng         = 2336  (0x20090000)
    loop         = 24    (0x18000000)
    xtyp         = TYPE#000022
    occu         = 4     (0x04000000)
    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         = 0xF801973B
    pgHook       = 0x08AF903B
    idxPtr       = 0x00000000
    shmTabhSet   = 0x00000000
    id           = 190   (0xBE000000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 8     (0x08000000)
    lineAlloc    = 8     (0x08000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 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
    FIRSTALIAS
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    URLSUFFIX
    FLOW_RC
    0
    0000
    0000
    TIMEOUT
    000000
    333333
    000000
    SEND_PAGE_RC
    0
    0000
    0000
    RUNTIME_MEMORY
    ########Æ###)###Û#######
    00000000C0002000D00000002222222222222222222222222222222222222222222222222222222222222222222222
    0000000060009000B00040000000000000000000000000000000000000000000000000000000000000000000000000
    CL_HTTP_SERVER=>C_STATISTIC_STATE
    0
    0000
    0000
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SECURE_INSERT
    0
    0000
    0000
    IHTTP_OPCODE_CLOSE_INTERVAL
    1
    2
    %_DUMMY$$
    2222
    0000
    SYST
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000
    1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000
    STIME
    187269
    8D00
    5B20
    SY-XFORM
    GET_PARAMETER
    445554544454522222222222222222
    754F0121D545200000000000000000
    IHTTP_OPCODE_OPEN_INTERVAL
    1
    1
    SCREEN
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SERVER_OBJ->M_CONNECTION_ERROR
    ï###########ï#######
    E00000000000E0000000
    F00000000000F0000000
    SY
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000
    1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000
    L_EXCEPTION
    |
    | F0000000 |
    | F0000000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | CL_HTTP_SERVER=>IF_HTTP_SERVER~STATEFUL |
    | 1 |
    | 0000 |
    | 1000 |
    | OPCODE_GET_SAP_CPIC_RC |
    | # |
    | 0 |
    | 1 |
    | L_EXCEPTION->M_CONNECTION_ERROR |
    | ??? |
    | ?????? |
    | ?????? |
    | ICF_ACTIVE |
    | X |
    | 5 |
    | 8 |
    | No.       2 Ty.          FUNCTION |
    | Name  HTTP_DISPATCH_REQUEST |
    | CLIENT_NAME |
    |  |
    | DOCUMENT_IN |
    |  |
    | VIRTUAL_HOST |
    | 0 |
    | 0000 |
    | 0000 |
    | DOCUMENT_OUT |
    |  |
    | PF_TASK_PLUGIN |
    | # |
    | 0 |
    | A |
    | PF_ACTION_BATCH_JOB |
    | 2 |
    | 0000 |
    | 2000 |
    | ERROR_STATE |
    | 0 |
    | 0000 |
    | 0000 |
    | PF_OPCODE_APP_STAT_CLOSE |
    | # |
    | 0 |
    | B |
    | L_RM_FROM_BUFFER |
    |  |
    | 2 |
    | 0 |
    | INITPASSWORD |
    |  |
    | 22222222 |
    | 00000000 |
    | C_STATISTIC_STATE |
    | 0 |
    | 0000 |
    | 0000 |
    | SY-XFORM |
    | GET_PARAMETER |
    | 445554544454522222222222222222 |
    | 754F0121D545200000000000000000 |
    | PF_CLIINFO |
    | # |
    | 0 |
    | E |
    | PF_OPCODE_OPEN_INTERVAL |
    | # |
    | 1 |
    | 1 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | C_SERVER |
    |
    F0000000
    D0002000
    SERVTBL
    Table IT_210[6x2336]
    FIRSTALIAS
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    URLSUFFIX
    FLOW_RC
    0
    0000
    0000
    TIMEOUT
    000000
    333333
    000000
    SEND_PAGE_RC
    0
    0000
    0000
    L_RUNTIME_MEMORY
    ########Æ###)###Û#######
    00000000C0002000D00000002222222222222222222222222222222222222222222222222222222222222222222222
    0000000060009000B00040000000000000000000000000000000000000000000000000000000000000000000000000
    %_DUMMY$$
    2222
    0000
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    PF_OPCODE_CLOSE_INTERVAL
    1
    2
    NODENAME
    No.       1 Ty.          MODULE (PBO)
    Name  %_HTTP_START
    SY-REPID
    SAPMHTTP
    5454455522222222222222222222222222222222
    310D844000000000000000000000000000000000
    SYST-REPID
    SAPMHTTP
    5454455522222222222222222222222222222222
    310D844000000000000000000000000000000000
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_DUMMY$$
    2222
    0000
    %_SPACE
    2
    0
    Internal notes
    The termination was triggered in function "method_call_iref"
    of the SAP kernel, in line 2207 of the module
    "//bas/700_REL/src/krn/runt/abmethod.c#8".
    The internal operation just processed is "METH".
    Internal mode was started at 20070407164321.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exce

  • Error while genetrating gettter method on Context node attribute

    Hi,
    I am working in SAP CRM 7.0 Ehp1.Now I need to create get_p_a and set_p_a method
    on context node attribute.But while selecting attribute and clicking on right and selecting
    on generate P-Getter,getting an error (error message - View not copied or enhanced with wizard; processing not possible).
    This is a custom context node attribute and need to create gettter,setter method.
    Kindly assist on this or suggest is there any way to create method on required context node attribute.
    Regards
    Viren

    Hi there,
    Creation of Getter  Setter is not possible for the AET Generated Views and Components.
    It seems your view is generated using AET Table enhancement feature of Ehp1 and the context node is thus a based on a Z BOL object created by a feature of AET of Ehp1
    For such context node, generation of getter setters is not  possible with right click.
    If you need any of GET_ , SET_, GET_P_ or GET_V , then you need to copy the GET_P_XYZ etc method you find on context node class.
    Hope this helps
    Thanks & Regards
    Suchita

  • Is it possible to bind the elments with context node dynamically?

    Hi All,
    Is it possible to dynamically bind elements with context nodes?
    In other words, at runtime, can we change the binding of an Inputfield to another context. Or a table to programmatically bind to another table?
    Regards,
    urbashi

    hi urbashi.......
          it is possible..
           you should first pass the id of he ui element and then bind it.
           for ex:
             if there is an input field, you can get the attribute that is bound, using cl_wd_input_field->bound_value.
             if you want to set an attribute, use cl_wd_input_field->bind_value.
             the first one will give an idea of how a valueshould be given.
    ---regards,
       alex b justin

  • How to bind UI Element with Context Node Attribute Element

    Hi,
    I'm building my view dynamically in the wdDoModifyView method.
    Is it possible to bind a "TextView" element to a specific element of an attribute node?
    Scenario:
    Node_Employees
    |
    +- Attribute_Code
    |
    +- Attribute_Name
    Node Contents:
    Employees
    |
    +- Code: 1, Name: Employee 1
    |
    +- Code: 2, Name: Employee 2
    |
    +- Code: 3, Name: Employee 3
    I need to do something like binding a TextView UI element to the "Name" attribute of the element #2, what would result to show "Employee 2" on my view.
    How can I do this?
    Thanks in advance,
    Geraldo.

    Hi Saravanan,
    First I populate the context node and it won't change during view's lifecycle.  After that, I build my view and bind the TextView UI elements to the node context attributes elements.
    If the node has 10 elements, I will build 10 TextView UI elements and bind them to each attribute element.
    Regards,
    Geraldo Brígido.

  • Error "Lead selection not set for context node"

    Hi everyone,
    I've got a Tree control in WebDynpro ABAP and I've implemented an "expand all" button.
    Here's the coding:
    METHOD expand_node_rec.
      DATA lo_el_child TYPE REF TO if_wd_context_element.
      DATA lo_node_children TYPE  wdr_context_child_map.
      DATA wa_lo_node_children LIKE LINE OF lo_node_children.
      DATA lo_nd_child TYPE REF TO if_wd_context_node.
      DATA lo_kschl TYPE klschl.
      DATA lv_has_children TYPE boolean.
      lo_el_child = node->get_element( ).
      lo_node_children = node->get_child_nodes( ).
      node->get_attribute( EXPORTING name = 'KSCHL' IMPORTING value = lo_kschl ).
      node->get_attribute( EXPORTING name = 'HAS_CHILDREN' IMPORTING value = lv_has_children ).
      IF lv_has_children = abap_true.
        node->set_attribute( name = 'IS_EXPANDED' value = abap_true ).
      ENDIF.
      LOOP AT lo_node_children INTO wa_lo_node_children.
        lo_nd_child = wa_lo_node_children-node.
        me->expand_node_rec( node = lo_nd_child  ).
      ENDLOOP.
    ENDMETHOD.
    However I'm getting the error above: "Lead selection not set for context node".
    Any suggestions?
    Edited by: DEVELOPMENT THEMIS on Jul 7, 2011 6:34 PM

    hi developement Themis,
    I think u didn't diclare "node" as context node. So declare it as a context node before using as a context node..as below
    DATA node  TYPE REF TO if_wd_context_node.
    or u can use  "lo_nd_child " as ur context node in ur program in place of "node"
    then I think this error will be removed.
    thanks,
    simadri

  • To fetch internal table from context node

    hi,
    how do i fetch an internal table of a respective node?
    Regards,
    Ronita.

    hi ronita....
          you can use the method  get_static_attributes_table in the interface if_wd_context_node.
    ---regards,
       alex b justin

  • Error while retrieving data from a context node

    Hello All,
    I am trying to get the value that will be slected in status field(drop down) of opportunity page.
    lr_bt ?= me->typed_context->BTSTATUSs->collection_wrapper->get_current( ).
    CHECK lr_bt is bound.
    CALL METHOD lr_ent->get_property_as_string(
        EXPORTING
          iv_attr_name = 'ACT_STATUS'
          RECEIVING
          rv_result     = lv_status ).
    On execution i am getting error in web ui. The error states that ACT_STATUS cannot be used. Is it because the status is a dropdown? Kindly help on this.
    Regards
    Chandrakant

    Hi,
    Thanks bhusan and Lakshmi.
    @bhushan : i had used STATUS in my code. But one s got added by mistake while copying and editing here.
    As suggested by Lakshmi the error was that. I could fix the issue. However i am not able to get any value in lv_status.
    I have defined lv_status as string. and i am coding in do_prepare_output.
    how could i know the type of values that status has?? Do i need to use get_property_text?
    Please help on this.
    Regards
    Chandrakant

  • ABAP: dynamic context node + attribute for DROP_DOWN_BY_KEY

    Hello,
    I need to create a Node with attributes dynamically and than assign it to a DROP_DOW_BY_KEY element in ABAP.
    I create drop down this way:
    drop_down_figure = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.FIGURES' on_select = 'GET_OPERATOR' ).
      cl_wd_grid_data=>new_grid_data( element = drop_down_figure ).
      ui_container->add_child( drop_down_figure ).
    However, here I bind to REPOSITORY.FIGURES. Instead of doing this I need to bind it to an attribute that I create.
    I can access wd_context but I am not sure how to create a node in wd_context, then attribute for that node that will contain items for drop down.
    bind_selected_key is type of String. If I create a node with attribute how do I cast it to a String so I can pass it to a constructor of a drop down?
    Thank you.

    Hi Georgy,
    There is a 3 - series weblog for this.
    The first one is:
    /people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
    The following are the the general steps for creating a node and table where table name is input by the user:
    DATA:
      UI Elements
        group_1       TYPE REF TO cl_wd_uielement_container,
        new_tab       TYPE REF TO cl_wd_table,
      Context Nodes
        dyn_node      TYPE REF TO if_wd_context_node,
        tabname_node  TYPE REF TO if_wd_context_node,
      Node Info
        rootnode_info TYPE REF TO if_wd_context_node_info,
      Data Reference (for internal table)
        stru_tab      TYPE REF TO data,
      String (for table name)
        tablename     TYPE string.
      FIELD-SYMBOLS:
        <tab> TYPE table.
    1) * get node info of context root node
      rootnode_info = wd_context->get_node_info( ).
    2) * create sub node named TEST1 of structure (tablename)
      cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
        parent_info = rootnode_info
        node_name = tablename
        structure_name = tablename
        is_multiple = abap_true ).
    3) * get instance of new node
      dyn_node = wd_context->get_child_node( name = tablename ).
    4) ***** create new UI element table *******************************************************
      new_tab = cl_wd_dynamic_tool=>create_table_from_node(
    ui_parent = group_1
    table_id  = 'TESTTAB'
    node      = dyn_node ).
    5) ***** fill context node with data *******************************************************
    create internal table of (tabletype)
      CREATE DATA stru_tab TYPE TABLE OF (tablename).
      ASSIGN stru_tab->* TO <tab>.
    Get table content
      SELECT * FROM (tablename) INTO CORRESPONDING FIELDS OF TABLE <tab>.
    Bind internal table to context node.
      dyn_node->bind_table( <tab> ).
    Regards,
    Srini.

  • Bind Dynamic Table To a Context Node

    Hello,
    I created an internal dynamic Table. I want to show this table in an ALV-Table. So I want to bind it to a context node.
    I create the context node attributes by this:
    lr_node_info ?= lo_nd_template_exp->get_node_info( ).
    *Type of table type and context type have to be the same
    LOOP AT lt_plchar INTO ls_plchar.
      clear lv_text.
      lv_text = ls_plchar-plchar.
      TRANSLATE lv_text TO UPPER CASE.
      ls_fieldcatalog-fieldname = lv_text.
      ls_fieldcatalog-inttype  = 'C'.
      ls_fieldcatalog-intlen   = '10'.
      APPEND ls_fieldcatalog TO lt_fieldcatalog.
      ls_attribute-name = lv_text.
      ls_attribute-type_name = 'CHAR10'.
      lr_node_info->add_attribute( EXPORTING attribute_info = ls_attribute ).
    ENDLOOP.
    So I create a fieldcatalog and the attributes at once.
    Then I generate the table with  this:
    CALL METHOD cl_alv_table_create=>create_dynamic_table
           EXPORTING
             it_fieldcatalog = lt_fieldcatalog
           IMPORTING
             ep_table = <fs_data>
           EXCEPTIONS
             generate_subpool_dir_full = 1
             OTHERS = 2  .
      IF sy-subrc <> 0.
      ENDIF.
    * So  now points to our dynamic internal table.
      ASSIGN <fs_data>->* TO <fs_1>.
    * Next step is to create a work area for our dynamic internal table.
      CREATE DATA new_line LIKE LINE OF <fs_1>.
    * A field-symbol to access that work area
      ASSIGN new_line->*  TO <new_line>.
      Data: copy_table type ref to data.
      field-symbols: <copy_table> type standard table.
      create data copy_table like table of <new_line>.
      assign copy_table->* to <copy_table>.
    ok, nice. when i now bind the table to  <copy_table> to lo_nd_template_exp it all works fine. But i also want to but the data into the table.
    This also works. When I debug, I can see the table filled with the values. But then there's always this error:
    Invalid operand type for the MOVE-CORRESPONDING statement.
    Ok, I have read, that the types may be  not fit. But I don't know why and how i can solve it.
    Do you have any ideas?

    Hi,
    I've the same problem: I must create all attribute of my node at run-time and then create alv.
    I use the method:
    DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
    DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
    Pass context node to ALV
      lo_interfacecontroller =   wd_this->wd_cpifc_alv( ).
      lo_interfacecontroller->set_data( node_lenght ).  " node_lenght is my dynamic node
    But I receive this message error:
    Invalid operand type for the MOVE-CORRESPONDING statement.
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_BS_SERVICE_MNGR_TABLE=CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    What can I do??? My node doesn't static attribute....
    Thank,
    Federica.

  • How to map XML to Web Dynpro context nodes?

    Hi All,
    Could anyone tell how xml string can be bound to context nodes ? In my requirement i need to serialize context nodes value to string and deserialize it back to nodes for implementing back naviagtion between views.
    I didnt see much threads achieving this giving details on class cl_wdr_xml_convert_util and methods if_wd_client_conversion_util~string_to_struct.
    I am using wd_context->to_xml to convert into xml.
    From this format, i want to bind it back to context  node.
    When i use this below approch i get short dumb.
    Serialization to xml:
    lv_data_string = wd_context->to_xml( ).
    Deserialization:
      DATA lv_typedescr           TYPE REF TO cl_abap_typedescr.
      FIELD-SYMBOLS:
                     <fs_data>    TYPE ANY TABLE.
      CALL METHOD cl_abap_typedescr=>describe_by_object_ref
        EXPORTING
          p_object_ref         = wd_context
        RECEIVING
          p_descr_ref          = lv_typedescr
        EXCEPTIONS
          reference_is_initial = 1
          OTHERS               = 2.
       try.
      CALL METHOD cl_wdr_xml_convert_util=>if_wd_client_conversion_util~string_to_struct
        EXPORTING
          in            = lv_data_string
          typedescr = lv_typedescr
        IMPORTING
          data      =  <fs_data>
      CATCH cx_wdr_conversion_exception into lo_err .
      lv_exp = lo_err->get_text( ).
    ENDTRY.
      wd_context->bind_table( values = <fs-data>.
    Using this way, i get a short dumb as assert statement is failed as value for  typedescr->type_kind is '*'.
    method if_wd_client_conversion_util~string_to_struct.
      assert typedescr->type_kind = cl_abap_typedescr=>typekind_struct1
          or typedescr->type_kind = cl_abap_typedescr=>typekind_struct2.
      raise exception type cx_wdr_conversion_exception
        exporting textid = cx_wdr_conversion_exception=>illegal_type.
    On debugging changing this value to required also made no difference, as no value could be assigned to the field symbol.
    Suggest a soution to do this.

    Hi Thomas,
    Thanks for your replies.
    I have corrected it, but the field symbol is empty and while debugging it says data type is incorrect.
    code:
      FIELD-SYMBOLS:
                     <fs_data>    TYPE ANY TABLE.
    data:       lsbp type ZXBPCENTRAL,
                   go_ref type ref to data.
    CALL METHOD cl_abap_typedescr=>describe_by_data " ( before it was describe_by_object_ref)
    EXPORTING
    p_data = lsbp
    receiving
    p_descr_ref = lv_typedescr.
    try.
    CALL METHOD cl_wdr_xml_convert_util=>if_wd_client_conversion_util~string_to_struct
    EXPORTING
    in = lv_data_string
    typedescr = lv_typedescr
    IMPORTING
    data = go_ref "<fs_data>
    CATCH cx_wdr_conversion_exception into lo_err .
    lv_exp = lo_err->get_text( ).------> Here the error says " Invalid data type and hence, there is no data.
    ENDTRY.
    assign go_ref->* to <fs_data>.
    I am still looking for solution and thanks a lot ....

  • How to populate the context nodes based on an event

    Hi All,
    I am having a basic problem. I have created a new Webdynpro Abap application. Here, in the main view, i have define a text view as well as a table. I have created context nodes A and B in component controller. The attributes under A are A1 and the attributes of B are B1,B2, and B3. I have also created an action button C in the same view. These have been mapped to the context nodes in the main view. A1 is mapped to the text view and B1, B2 and B3 are mapped to the table.
    My requirement is as follows. When user Clicks on execute, i want to use the value A1 from the text view in a function module and return the values to B1, B2 and B3. B1, B2 and B3 are multiple values mind you.
    I have successfully executed the function module within the WDONACTIONC method. How to i accomplish this Basic Task. Please Help
    Best Regards
    Mazin

    Hi Mazin,
    Step 3 is as follows...
    Say you have a context node, you have to bind this node with table UI element, now this node must contain some context attribute which you have to bind with your columns of table. now say name of context node is cn_table. now what you have to do is get data from FM in the internal table..........
    now move data by using move corresponding or by looping depending on requirement to an internal table which has fields with the same name as that of name of your attributes... this is imp to display the data...... now you can bind this internal table with context node using code below.......
    data lo_nd_cn_table type ref to if_wd_context_node.
      data lo_el_cn_table type ref to if_wd_context_element.
      data ls_cn_table type wd_this->element_cn_table.
      data it_table type wd_this->elements_cn_table.
      data wa_table type wd_this->element_cn_table.
      data it type standard table of t005t.
      data wa type t005t.
    **   navigate from <CONTEXT> to <CN_TABLE> via lead selection
    select * from t005t into TABLE it.
      loop at it into wa.
        wa_table-ca_one = wa-land1.
        wa_table-ca_two = wa-landx.
        wa_table-ca_three = wa-natio.
        wa_table-ca_enable = abap_true.
       append wa_table to it_table.
        endloop.
    lo_nd_cn_table = wd_context->get_child_node( name =
    wd_this->wdctx_cn_table ).
    *   get element via lead selection
        lo_el_cn_table = lo_nd_cn_table->get_element(  ).
    lo_nd_cn_table->bind_table( it_table ).
    ca-one, ca_two, ca_three and ca_enable are name of my context attribute......
    regards
    Pranav
    Edited by: Pranav Nagpal on Dec 22, 2008 10:08 AM

  • Sort table columns in a table and context created dinamically

    Hello all,
    I have implemented the table sorting several times in another developments, but now I'm facing a problem.
    I have created the table and context node that I need to sort dinamically (before somebody ask me why, I would say that it's the only way to do that for my current project, there was no possibility of doing that in dessign time). I have implemented the table sorting more or less the same way I would do with a table created in dessing time, but when I run my WD the sorting of columns doesn't work.
    In the wdDoModifyView, I have put the following code:
    if(firstTime){
    IWDAction ordenacion     = wdThis.wdCreateAction(IPrivateResultDispGlobalView.WDActionEventHandler.ORDENACION,  null);
    IWDParameters param = ordenacion.getActionParameters();
    param.addParameter("nombreNodo",nombreNodo);
    and in the code of the action
        //@@begin onActionOrdenacion(ServerEvent)
         System.err.println("**** NOMBRE NODO **** "+nombreNodo);
         wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.getChildNode(nombreNodo, IWDNode.LEAD_SELECTION));
        //@@end
    The name of the node ("nombreNodo) it's only correct the first time I click on a column.
    Has anybody implemented the table sorting in a dinamically created table and context node? And how do you do to make it works.
    Thank you very much

    Here is the code
    //Preparamos Navegaciones
    IWDAction abrirProyecto = wdThis.wdCreateAction(IPrivateResultDispGlobalView.WDActionEventHandler.ABRIR_PROYECTO, null);
    IWDAction abrirDisp     = wdThis.wdCreateAction(IPrivateResultDispGlobalView.WDActionEventHandler.ABRIR_DISPONIBLE,  null);
    //IWDAction ordenacion     = wdThis.wdCreateAction(IPrivateResultDispGlobalView.WDActionEventHandler.ORDENACION,  null);
    IWDAction ordenacion=wdThis.wdGetOrdenacionAction();
    IWDParameters param = ordenacion.getActionParameters();
    param.addParameter("nombreNodo",nombreNodo);
    IWDTable table = wdThis.wdGetInformesController().crearTabla(view, nombreNodo, movimientosInfo,new String[]{"Codi Projecte",null,"Nom Projecte", "Import Projecte", "Client", "Increment Disponible futur per facturació no emesa i / o anualitats pendents","Increment Disponible futur per ingressos pendents de cobrar", "Disponible"},new String[]{"10px", null,"10px", "10px","10px","10px","10px","10px"},new IWDAction[]{abrirProyecto,null, null, null, null,null,null,abrirDisp}, -1);
    //ordenar tabla
    wdContext.currentContextElement().setTableSorter(new TableSorter(table, ordenacion,null));
    containerTablasProyecto.addChild(table);
    Edited by: Mireia Romo on May 28, 2009 12:27 PM

  • How to update a webdynpro context node from flex ?

    Hi
    I have an table in webdynpro and a datagrid in flex, both getting the value from the same context node. My requirement is to make the table fields editable and when I make changes in the datagrid, it should get reflected back in the webdynpro table.
    So how can I access the internal table's context node from flex ?
    Can anyone help me with this.

    Hi,
    As you are using a datasource, i assume you have set method in flex to read the datasource(context node). What you need to do is store the reference to this datasource in a local flex variable. Have a look at the below code:
    private var refreshFlexUINode:ArrayCollection;
    public function set refreshFlexUI(datasource:ArrayCollection):void
        refreshFlexUINode=datasource;
    and say you want to edit one row of the table, get that row from ArrayCollection and assign the new value.
    it would be like, if you want to save second row of the datagrid
    Object obj = refreshFlexUI.getItemAt(1)
    obj[<CONTEXT_ATTR_NAME>]=<new value>
    Hope this helps!
    Best Regards,
    Srilatha
    Edited by: Srilatha M on Jun 28, 2011 6:34 AM
    Edited by: Srilatha M on Jun 28, 2011 6:35 AM

Maybe you are looking for

  • MacBook Pro static charge thing

    So I have a 2007 Macbook Pro that I sometimes place on top of my 32 inch widescreen CRT television. I do this so I can watch movies from the laptop through the TV and for connecting to XBOX live through my Macbook's airport card. The situation is tha

  • New Context for 'Problems' in Rule modeler not working

    Hi, I am using the Rule modeler to determine the Service team based on selected Categorization schema for Incidents - it's working fine. Now I want to implement the same for Problems I created a new Z Context (Master Request) to create a rule policy

  • Duplicate Logical Model

    Hello, I have a RPD common to the US and France, on France we have the identical database has that of US but the connection pool is different (user and MDP). Is - it possible of credit note in the same RPD, two layers of identical presentation which

  • [svn:fx-trunk] 11575: Put default style declarations into one class per application or module.

    Revision: 11575 Author:   [email protected] Date:     2009-11-09 11:34:57 -0800 (Mon, 09 Nov 2009) Log Message: Put default style declarations into one class per application or module. Generate all the default styles in one class instead of a class f

  • How do I transfer files from my old Power Mac Mini to my new one?

    Oops...thought I had to write the question in the above spot.  Question:  How do I transfer my files from my old Power Mac Mini to my new Intel based Mac Mini?  From what I read, I needed a 40/80 cable, which I bought.  However, I only have one monit