2008 Jan 29 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!!
2008 Jan 29 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.
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.
2008 Jan 29 12:01 PM
CLASS money DEFINITION.
PUBLIC SECTION.
CLASS-DATA: wa TYPE zaa_sflight,
wa1 LIKE TABLE OF wa.
CLASS-METHODS zmoney.
ENDCLASS.
2008 Jan 29 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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |