Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

value is not coming alv output in webdynpro abap

$
0
0

Dear Experts,

I  have created a ALV  Webdynpro for EKPO.

I have taken 6 fields.

 

one is input. when i am clicking the get details button..the alv output is not showing.

 

While displaying , its not displaying the output .

 

method ONACTIONGET_DETAILS .

 

* set the input

 

   DATA lo_nd_ekko TYPE REF TO if_wd_context_node.

   DATA lo_el_ekko TYPE REF TO if_wd_context_element.

   DATA ls_ekko TYPE wd_this->Element_ekko.

   DATA lv_ebeln TYPE wd_this->Element_ekko-ebeln.

   lo_nd_ekko = wd_context->get_child_node( name = wd_this->wdctx_ekko ).

   lo_el_ekko = lo_nd_ekko->get_element( ).

   lo_el_ekko->get_attribute(

     EXPORTING

       name `EBELN`

     IMPORTING

       value = lv_ebeln ).

 

 

* set the output

 

   DATA lo_nd_output TYPE REF TO if_wd_context_node.

   DATA lt_output TYPE wd_this->Elements_output.

   lo_nd_output = wd_context->get_child_node( name = wd_this->wdctx_output ).

 

* fetch the data

 

   select ebeln txz01 matnr menge netwr from ekpo

     into CORRESPONDING FIELDS OF TABLE lt_output

       WHERE ebeln = lv_ebeln.

 

 

 

   lo_nd_output->bind_table( new_items = lt_output set_initial_elements = abap_true ).

 

 

endmethod.

 

i am not getting the alv output..after clicking the button details alv output is showing blank.

 

How to resove that Error???


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>