Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

Class Attribute as Any Table

$
0
0

Hi Fellows,

 

 

I got a short OO question.

 

Is it possible to create a class attribute that would be a table untyped,

 

and the value assigned to it dynamically during program execution?

 

 

When I try to type the attribute as TABLE I am getting error:

 

Type or field "TABLE" is generic. No table line has been specified.

 

 

 

 

I would like to use this attribute as kind of bridge between my class (that is accepting import attribute of type TABLE) and it's event handler method declared as one of class methods -

 

- After handling doubleclick or rows selected -

 

I would like to pass records chosen back to the main class and outside it later on.

 

 

This is why I would like to use the class attibute of type TABLE (any).

 

 

 

Would appreciate your comments on that

 

 

Regards,

bob


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>