on 02-07-2014 11:12 AM
Hi All gurus,
How to pass internal table values to another method.
Ex :
Method ONSUBMIT
Call Method get_VBAK
Method get_VBAK
Select * from VBAK into table it_tab.
How to pass this it_vbak internal table values again to method on_Submit.
Thanks all in advance
Hi Tharu,
If you want to pass internal table data into another method.
Declare import parameter as table and pass this internal table in import parameter.
Thanks,
Ranjit Kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vaibhav,
thanks for the reply and I understood that creating Context Nodes will satisfy my request. Is there any other alternative since Iam gonna call this method Method get_VBAK (according to my example above)several times in Method ON_Submit for various purposes . This is in the same view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Tharu
You can do this by binding the internal table with the node and then reading that node attributes in the desired method. (if both the methods are in same view)
Regards
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.