Cross-system method call
Kjetil Kilhavn
KJETILK at statoil.com
Mon Sep 25 08:46:06 EDT 2006
Thank you - that one had slipped by me!
Actually we decided "go for the future", i.e. use ABAP objects instead
of BOR. We also changed our design a little so we don't have to make as
many calls across systems. The need for a cross-system call in the first
place is historic (legacy), the details needed are actually stored in
the ECC 6.0 system - I just need to get some information from the other
system first, to know which details to look up.
--
Kjetil Kilhavn, Statoil OFT GBS BAS DEV SAP
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of Veit Unger
Sent: 25. september 2006 14:26
To: SAP Workflow Users' Group
Subject: Re: Cross-system method call
Hi Kjetil,
actually it is possible.
Using the macros you would need to do for example a
"swc_create_remote_object lref_object type key logsys".
After that a normal "swc_call_method..." will do fine.
But there are some prerequisites:
- you need to maintain the logical systems (BD54)
- you need to have a suitable RFC destination (SM59)
- you need to link the logical system to the destination (BD97)
kind regards,
Veit
--
Dipl. WiInf. Veit Unger
IBM Global Business Services / SerCon
Nahmitzer Damm 12 - 12277 Berlin - Germany
Tel.: +49 (0)170-9147650
eMail: veit.unger at de.ibm.com
"Kjetil Kilhavn" <KJETILK at statoil.com>
Sent by: sap-wug-bounces at mit.edu
25.09.2006 10:45
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>
To
"SAP Workflow User's Group" <sap-wug at mit.edu>
cc
Subject
Cross-system method call
We are on version 4.6C in one of our systems, and version ECC
6.0 (basis and cross-app version 7.0) in another system. I have to
create a report which needs data from both of these systems. The report
will be executed on the ECC 6.0 system.
In the spirit of OO the idea I had was to retrieve a table of
(runtime or persistent if I have to) object references from the 4.6C and
then query each object for its details.
I've looked in The Book (Practical Workflow for SAP) a bit, and
it seems that this is not possible. I can understand runtime objects not
being possible since the context is likely to be lost after the first
call (so the handles wouldn't be available), but from what I understand
the other option is not possible either, as it seems only RFC calls are
possible between systems. So why do we have the LOGSYS element in
structure SWOTOBJID? Is there another possibility I haven't discovered?
--
Kjetil Kilhavn, Statoil OFT GBS BAS DEV SAP
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL
and is
intended for the addressee only. Any unauthorised use,
dissemination of the
information or copying of this message is prohibited. If you are
not the
addressee, please notify the sender immediately by return e-mail
and delete
this message.
Thank you._______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060925/033c691a/attachment.htm
More information about the SAP-WUG
mailing list