New Includes to work with BAPIs???

Alon Raskin araskin at eOutlook.com
Wed Jul 14 11:25:32 EDT 2004


You can use include CNTN01_OO.
=20
Alon
 
________________________________
 
From: SAP Workflow on behalf of Kimball, Schuyler
Sent: Wed 14/07/2004 16:08
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: New Includes to work with BAPIs???
 
 
 
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
SAP America, Inc.
 
E schuyler.kimball at sap.com
http://www.sap.com
 
 
 
-----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
 
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