Skip to Content
1
Nov 04, 2019 at 04:01 PM

How to use class types as global variable in Webdynpro

228 Views

Hi,

I have a class CL_SAMPLE with a structure TY_SAMPLE defined in types. I have also declared a table type for TY_SAMPLE in the class as TYT_SAMPLE.

I have used this class as assistance class in my webdynpro component. I am able to use the table type TYT_SAMPLE in methods of webdynpro using declaration WD_ASSIST->TYT_SAMPLE. But it will be a local variable. I want to use the table type as global variable. I'm not able to delclare as WD_ASSIST->TYT_SAMPLE in attributes to use as global variable. How to use class attributes as global in webdynpro