Hi All,
in my requirement i want to display the ALV screen with the z-table entries..
So in my Main Screen i created one button (REPORT) , once the user clicks the button REPORT , i want to display the
Z-table entries in New screen...
Here i created the button (but1) , on event creation : (on action report) double click on this under this my code should like below..
In Properties i created ALV_TEST-SALV_WD-TABLE.
In that main view i embed the alv_test........
* create local data variable to access context information
Data: context_node type ref to if_wd_context_node.
* create table based on context structure
data: it_scarr type STANDARD TABLE OF if_view1=>element_ALV_TABLE, -----------> context node
wa_scarr like line of it_scarr.
*select data from required SAP table
select *
from scarr
into table it_scarr.
* bind data to context used by ALV
context_node = wd_context->get_child_node( name = 'ALV_TABLE').
context_node->BIND_table( it_scarr ).
After that i dint get any ALV display....Kindly give me any suggestions to display the report..
Thanks,
Nithya