on 03-26-2009 9:11 PM
Can I define a type within my Web Dynpro application that can be referred to by a view's attribute?
TYPES: BEGIN OF data_record,
cost_element TYPE nLENGTH 10,
END OF data_record.
I understand that I might not be able to, given the following SAP reference I found when declaring the
attributes of my views.
The associated type must be a global Dictionary type or exist in a type pool. In the latter case, the type pool must be declared in the function group.
Just declare the type in the Data Dictionary or a public type of a class (perhaps your assistance class).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For making a type global go to transaction SE11 and make type there.
Now u can create ur attributes with this type. If want to use the same attribute in all the views then declare the attribute in component controller and access it.
Thanks
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.