on 12-02-2011 10:30 AM
how to send one internal table from one event handler method to another user defined method in web dynpro abap,please anybody share this solution with me.
Hi Ramana
Say your user defined method is EDIT_LIST
1. Define an import paramter as given below in your method
Paramter: LT_TABLE
type: IF_MAIN=>ELEMENTS_VN_NODE
(View Name: MAIN, Node Name for the internal table: VN_NODE)
2. To call this method from an even
wd_this->edit_list( lt_table = lt_table_int ).
" Say lt_table_int is the internal table in your first method(calling method).
This way you get the internal table from one method to another.
Revert in case of any queries.
Thanks & Regards,
Gayathri Shanbhag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is because you are passing the structure to an internal table. Either pass the structure to a structure or internal table to an internal table.
If you want to pass the structure then declare lt_table as if_main=>element_vn_node instead of if_main=>elements_vn_node during declaration.
Thanks & Regards,
Gayathri Shanbhag
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.