on 10-29-2009 11:22 AM
hi
pls tell how to read the ALV table.
i am trying to do it through the read node code wisdard,but its giving the dump for access via null.
pls tell is any alternate way to read the ALV table of view UI element,
hi,
There is no special way to read ALV table.
Just read it via Code Wizard.
Put breakpoint and see where error is coming.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
lo_el_partner_fn
i am gettng this issue, my table node is giving this value & thus
lo_el_partner_fn->get_static_attributes(
IMPORTING
static_attributes = ls_partner_fn ).
resulting in dump.
card for node:0.n
selection:0.1
don know y this error coming,where as my ALV is displying me the data,just i want the data for next user action,which resulting in dump.
hi,
With this code :
lo_el_partner_fn->get_static_attributes(
IMPORTING
static_attributes = ls_partner_fn ).
You will be getting lead selected row only.
As your lo_el_partner_fn is null because i think no rows is selected so you are getting dump.
If you want to get lead selected row then use :
if lo_el_partner is not initial.
lo_el_partner_fn->get_static_attributes(
IMPORTING
static_attributes = ls_partner_fn ).
Endif.
If you want to get whole table data then use :
DATA lo_nd_node_flighttab TYPE REF TO if_wd_context_node.
DATA lt_node_flighttab TYPE wd_this->elements_node_flighttab.
lo_nd_node_flighttab = wd_context->get_child_node( 'NODENAME' ).
lo_nd_node_flighttab->get_static_attributes_table( importing table = lt_node_flighttab ).
Here lt_node_flighttab is your internal table with all the data as in table.
Edited by: Saurav Mago on Oct 29, 2009 5:45 PM
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.