2006 Apr 28 1:27 AM
Suppose we have 2 R/3 systems(A & B) in same landscape. If we have a BAPI in System A, can we execute/call/trigger the same BAPI from System B ?
What connection we need for this ? Advice Please.
Thank you !!
Suppose we have 2 R/3 systems(A & B) in same landscape. If we have a BAPI in System A, can we execute/call/trigger the same BAPI from System B ?
What connection we need for this ? Advice Please.
Thank you !!
2006 Apr 28 1:36 AM
Hi Vishal,
I think you just need the RFC connection(SM59) to be defined between these two systems.
Cheers
VJ
2006 Apr 28 1:47 AM
Okay..but what code we have to write to trigger the BAPI that exist in another system ???
Thanks
Vishal
2006 Apr 28 1:58 AM
Hi Vishal,
You need to just call the BAPI from the source system passing the RFC created as a parameter and it will call the BAPI in another system using the RFC connection.
You dont have to do anything else.
I hope i have understood your question correctly.
BAPI is just like caliing a FM with an additional RFC paramter which indicates where to call the BAPI.
HOpe this helps
Cheers
VJ
2006 Apr 28 2:00 AM
Vishal,
You will have to maintain a RFC DESTINATION in SM59. The syntax for calling will be the same as that of CALL FUNCTION with a additional clause of DESTINATION.
CALL FUNCTION func
DESTINATION 'SM59 Dest'
Regards,
Ravi
Note : Please mark the helpful answers