Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call BAPI from remote R/3 system

Former Member
0 Likes
1,488

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 !!

4 REPLIES 4
Read only

Former Member
0 Likes
915

Hi Vishal,

I think you just need the RFC connection(SM59) to be defined between these two systems.

Cheers

VJ

Read only

0 Likes
915

Okay..but what code we have to write to trigger the BAPI that exist in another system ???

Thanks

Vishal

Read only

0 Likes
915

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

Read only

0 Likes
915

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