Problems with include <CNTN03>
Roman Weise
Roman_Weise at msg.de
Tue Sep 2 11:46:02 EDT 2003
Hi,
I am using workflow functions and macros for handling BOR objects in an=20
ABAP OO environment. The dokumentation says that I can't use the include=20
<CNTN01> there, but should put the <CNTN03> include in class's=20
typedefinition and <CNTN02> in the macro definition.
This works so far that I am able to activate the class (no errors in=20
syntax or extended checks). But when i try to create an instance of this=20
class, which includes <CNTN03> and <CNTN02> in a method of another class I =
get the error message that "ENDMETHOD is missing" and the error points to=20
the <CNTN03> include. When i create the instance in a program instead,=20
there is no error and if i replace the line "include <CNTN03>." in the=20
class by the code of the include itself via copy and paste if even works=20
fine if i create the object in the method.
Has anyone ever encountered this problem and knows how to handle it?=20
Replacing the include by its code is a workaround but I i can't accept=20
this kind of hack as IMHO it is no solution for a production environment=20
as I loose the link to corrections and changes throught the SAP in future=20
SPs or Releases - so I need a better way.
Thanks=20
Roman Weise
SAP Consulting and Development
msg systems ag
Robert-B=FCrkle-Stra=DFe 1
85737 Ismaning / Muenchen
Deutschland
Tel. : +49 (0 89) 96 101-1853=20
Fax. : +49 (0 89) 96 101-788
E-Mail: Roman=5FWeise at msg.de
http://www.msg-systems.com
More information about the SAP-WUG
mailing list