i have a view and it´s attributes i have declared:
myclass TYPE REF TO someclass
the class has 2 parameters and in my view i call them:
if myclass->total > 1.
Unfortunately the attributes are empty and I ask me why. The class 'someclass' performs the steps correctly for getting the data but when the view is called, data is gone. It is not the case in an ABAP program.
Did I forget to declare anything ?? 'someclass' has been also declared in the corresponding controler as controller-class.
"The class 'someclass' performs the steps correctly for getting the data" What exactl do you mean by that? Is the initialization is exatly the same as in the report?