on 11-10-2008 1:06 PM
Hi All,
I need to pass a parameter in methods of my view, the parameter being a table of custom type.
As in class we can define 'TYPES' of our own, how can we define a type that can be used throughout the component ?
Plz help....
Thanks
Akash
Edited by: Akashdeep Basu on Nov 10, 2008 2:06 PM
You can define the types in the assistance class, or you
can also define an INTERFACE class that contains all your types which you
can use then in the following way:
data: lv_variable type IF_TYPES=>ty_t_your type.
Kind regards.
Carola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
either create a global type in data dictionary or create the type in assistance class of the component .
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.