Problems with include <CNTN03>

Dart, Jocelyn jocelyn.dart at sap.com
Fri Sep 5 01:12:15 EDT 2003


Roman,=20
Please report this to OSS.=20
Regards,
        Jocelyn Dart=20
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"=20
SAP Australia
email: jocelyn.dart at sap.com=20
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Roman Weise [mailto:Roman_Weise at msg.de]=20
Sent: Wednesday,3 September 2003 1:46 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Problems with include <CNTN03>
 
 
Hi,
 
I am using workflow functions and macros for handling BOR objects in an =
 
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=20
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 =
 
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_Weise at msg.de
http://www.msg-systems.com
 


More information about the SAP-WUG mailing list