Attributes of a class

Die Frage ist als "gelöst" markiert. Den entsprechend Beitrag findest du hier.

ABAP Web Dynpro, BusinessServerPages; Erstellung von Webapplikationen.
2 Beiträge • Seite 1 von 1
2 Beiträge Seite 1 von 1

Attributes of a class

Beitrag von Alonso ( / / 0 / 3 ) »
Hi,

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.

Thanks for your help.

gesponsert
Stellenangebote auf ABAPforum.com schalten
kostenfrei für Ausbildungsberufe und Werksstudenten


Beitrag von Greg ( / / 0 / 3 ) »
"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?

Seite 1 von 1

Vergleichbare Themen

6
Antw.
4020
Views
class definition.
von LittleT » 11.09.2006 08:48 • Verfasst in ABAP Objects®
15
Antw.
12349
Views
{O:78*\CLASS=CL_GUI_IRGENDWAS}
von ewx » 24.08.2018 16:08 • Verfasst in ABAP® Core
10
Antw.
94435
Views
Top-Includes im Class-Builder
von mwcem » 27.06.2006 16:39 • Verfasst in ABAP Objects®
0
Antw.
5726
Views
Exception Class/Parameter für Constructor
von Thomas R. » 26.04.2013 20:45 • Verfasst in Tips + Tricks & FAQs
7
Antw.
3458
Views
Class kennt eigene Methode nicht
von HH_ABAP » 05.05.2023 18:07 • Verfasst in ABAP® für Anfänger

Über diesen Beitrag

Anonymous
Die Frage ist als "gelöst" markiert. Den entsprechend Beitrag findest du hier.

Unterstütze die Community und teile den Beitrag für mehr Leser und Austausch

Newsletter Anmeldung

Keine Beiträge verpassen! Wöchentlich versenden wir lesenwerte Beiträge aus unserer Community.
Die letzte Ausgabe findest du hier.
Details zum Versandverfahren und zu Ihren Widerrufsmöglichkeiten findest du in unserer Datenschutzerklärung.