New Includes to work with BAPIs???
Kimball, Schuyler
schuyler.kimball at sap.com
Wed Jul 14 11:08:17 EDT 2004
Hi Ute,
The following code fragment will produce an error:
(begin code)
*---------------------------------------------------------------------*
* CLASS ztest DEFINITION
*---------------------------------------------------------------------*
*
*---------------------------------------------------------------------*
CLASS ztest DEFINITION.
PUBLIC SECTION.
INCLUDE <cntn01>.
ENDCLASS. "ztest DEFINITION
(end code)
The error message reads, 'Within classes and interfaces, you can only =
use "TYPE" to refer to ABAP Dictionary types (not "LIKE" or =
"STRUCTURE")'. Is this the same message you're seeing? =20
If so, one alternate approach would be to move the reference to =
<CNTN01> to either a function module or a FORM routine, and then CALL =
FUNCTION or PERFORM that code from within an ABAP Objects method. =20
I hope this is useful to you.
Sky Kimball=20
SAP America, Inc.=20
E schuyler.kimball at sap.com=20
http://www.sap.com=20
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of =
Schmidinger, Heinz (Unaxis IT BZ)
Sent: Wednesday, July 14, 2004 10:25 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: New Includes to work with BAPIs???
Hi Ute,
I'm on a 47C too and use the Include <cntn01> without any problem.
Look to SE38 if <cntn01> is in status active.
maybe it helps.
regards=20
heinz
-----Urspr=FCngliche Nachricht-----
Von: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Im Auftrag von =
"Schr=F6der, Ute Marion" Gesendet am: Mittwoch, 14. Juli 2004 15:28
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: New Includes to work with BAPIs???
Hello,
I=B4m facing the problem,
that I have to build a workflow concerning material managment. A =
Web-Tranaction has been built, based on BAPIs. Anyway, if I try to =
include the container macros
INCLUDE <cntn01>. =20
I get an error message, that references with like a no longer valid.
I assume there are new includes to work with the technology of the WAS. =
Can anyone please point me in the right direction?
Thanks
Ute
P.S. We are on release 4.7
More information about the SAP-WUG
mailing list