Skip to Content
avatar image
Former Member

Read dynamic attributes

hi

i m created a dynamic alv and user entry value on alv.

how can i read this value ?

this is normaly alv.

-


DATA: lr_element TYPE REF TO if_wd_context_element ,

lr_node type ref to if_wd_context_node ,

lr_node2 TYPE REF TO if_wd_context_node .

DATA :gt_tab1 TYPE wd_this->elements_MALV_ ,

gs_tab1 TYPE LINE OF wd_this->elements_MALV,

lt_param TYPE SALV_WD_T_TABLE_MOD_CELL .

DATA ls_param TYPE LINE OF SALV_WD_T_TABLE_MOD_CELL .

-


read alv----


lr_node = wd_context->get_child_node(

name = wd_this->wdctx_MALV ).

lr_node->get_static_attributes_table(

IMPORTING

table = gt_tab1 "al value in this int.tabel

).

i do

"----


data: lr_noded TYPE REF TO if_wd_context_node_info ,

lr_node2 TYPE REF TO if_wd_context_node ,

WX_DYNAMIC TYPE REF TO if_wd_context_node_info ,

wx_attribute TYPE REF TO WDR_CONTEXT_ATTRIBUTE_INFO.

WX_DYNAMIC = wd_context->get_node_info( ).

CALL METHOD WX_DYNAMIC->GET_CHILD_NODE

EXPORTING

NAME = wd_this->wdctx_GT_MASTER

RECEIVING

CHILD_NODE = LR_NODED

.

attributes is in LR_NODED but i don't know read this attributes

how can i do ?

Thanks

Joshua.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 08, 2009 at 09:43 AM

    Hi Joshua,

    Try go through Suman's comments in [here|Read data from a dynamic Context;.

    Regards,

    Uday

    Add comment
    10|10000 characters needed characters exceeded