cancel
Showing results for 
Search instead for 
Did you mean: 

Defining types in wda

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Carola1
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Answers (1)

Answers (1)

Yashpal
Active Contributor
0 Kudos

Hi,

either create a global type in data dictionary or create the type in assistance class of the component .

Regards

Yash