05-09-2006 6:48 AM
Hello,
I need to start a SAP event from RFC destination. Any ideas, please ?
Points are guaranteed:)
Svetlin
05-09-2006 7:01 AM
Hi Svetlin
If this is SAP to SAP rfc connection .
then create RFC destinate in the source system for the target system using Tcode SM59 .
use this destibnation while calling RFC object .
Example:
suppose You have created destination XYZ in sm59
call function 'ABC'
Exporting
A =
Importing
b =
Tables
Tab =
Excemptions.
Replace the above FM calling statement from following
call function 'ABC' destination XYZ
Exporting
A =
Importing
b =
Tables
Tab =
Excemptions.
The RFC enabled function should be available in both system Source as well as target .
Hope it will help you
regards
Siddharth
Message was edited by: siddharth neekhra
05-09-2006 6:56 AM
can u be a bit clear about ur question, u want to trigger a event in a program in a remote system?
05-09-2006 7:01 AM
Hi Svetlin
If this is SAP to SAP rfc connection .
then create RFC destinate in the source system for the target system using Tcode SM59 .
use this destibnation while calling RFC object .
Example:
suppose You have created destination XYZ in sm59
call function 'ABC'
Exporting
A =
Importing
b =
Tables
Tab =
Excemptions.
Replace the above FM calling statement from following
call function 'ABC' destination XYZ
Exporting
A =
Importing
b =
Tables
Tab =
Excemptions.
The RFC enabled function should be available in both system Source as well as target .
Hope it will help you
regards
Siddharth
Message was edited by: siddharth neekhra
05-09-2006 7:02 AM
Hi,
Is ur current/remote system R/3 or R/2 or Java application..
Regards,
Tanveer.
05-09-2006 7:10 AM
Hi,
I want to trigger a SAP event, maintainted in SAP via tr.code SM62, from external system (non-SAP application). Is there any executable program, as this one starting inbound file Idocs, to trigger a SAP event.
Svetlin
05-09-2006 7:11 AM
HI
GOOD
GO THROUGH THIS LINK I HOPE THIS WILL GIVE YOU SOME IDEA TO SOLVE YOUR PROBLEM.
THANKS
MRUTYUN
05-09-2006 8:42 AM
you can trigger the event using FM BP_EVENT_RAISE but this is not RFC enabled so you cannot call it from other system.
what you could do is wrap this Function with RFC and call the custom RFC
Regards
Raja
05-09-2006 12:52 PM
Hi Raja,
This was one of my suggestions:)
Is there another way ?
Svetlin
05-09-2006 1:02 PM
Hai Svetlin
Go through the following Steps
Sending system side(SEND--800)
-
Create function module by using Tcode SE37 or SE80
goto attributes select remote function
activate
Receiving system side(RECE--000)
-
goto Tcode SM59
here select the R/3 Connections-->click on Create Button
give RFC Desstination : TESTRFC
Connection Type : 3 for Connecting two systems
Description : Some meaningful Description
Press enter
give Target system Name : SEND
Language : EN
Client : 800
user Name : sapuser
Password : xxxxxx
save this connections & click on test connections(f8)
& Remote logon(f7)---> it will open a session
with client 800 that is your sending system
then only your RFC is correct
create a report in SE38 Tcode
data : c1 type i.
data : itab like mara occurs 0 with header line.
call function 'ZRFCFM' destination 'TESTRFC' --->Function Module 'ZRFCFM' your just create at Sending system
exporting
importing
exceptions.
Thanks & Regards
Sreenivasulu P