01-29-2008 10:50 AM
Hello!
How can I write wa in ABAP Objects?
CLASS money DEFINITION.
PUBLIC SECTION.
CLASS-DATA: wa TYPE zaa_sflight,
wa1 TYPE TABLE OF wa.
CLASS-METHODS zmoney.
ENDCLASS.
The program says, wa is unknown. How can I write it correct?
Thanks!!
01-29-2008 12:06 PM
Hi Andrei Algaier,
This is because wa is not defined as datatype in datadictionary or in program with types statement.
example:
types : wa type c.
data : xyz type wa.
xyz will be of type c.
This might be helpful.
Regards,
Kalyan.
01-29-2008 12:01 PM
CLASS money DEFINITION.
PUBLIC SECTION.
CLASS-DATA: wa TYPE zaa_sflight,
wa1 LIKE TABLE OF wa.
CLASS-METHODS zmoney.
ENDCLASS.
01-29-2008 12:06 PM
Hi Andrei Algaier,
This is because wa is not defined as datatype in datadictionary or in program with types statement.
example:
types : wa type c.
data : xyz type wa.
xyz will be of type c.
This might be helpful.
Regards,
Kalyan.