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

RFC query

Former Member
0 Likes
690

Hi,

Do anyone knwo how to create RFC destination using code not using SM59.

Regards,

Pranshu

5 REPLIES 5
Read only

Former Member
0 Likes
661
1) Go to transaction SM59.
2) Choose the Connection type.
If u r going to connect with another server, then choose R/3 connections.
3) Then Press Create
4) Give a destination name
5) Enter a connection type
6) ERnter description
7) Press save.

These are the steps to create RFC destinqation.

Pls reward if helpful

Read only

0 Likes
661

Read the question carefull both of you who anwered .....

Read only

Former Member
0 Likes
661

To create the RFC go to TCODE: SM59

Create new destination of type T (TCP/IP)

Make sure you select Registered Server Program option before writing your program ID

Write your program ID (remember it's case-sensitive)

In the gateway host and gateway service write the values of your "Application system" - business system (R/3 System)

Read only

Former Member
0 Likes
661

hi

good

try this

CALL FUNCTION 'BAPI_CHARACT_GETDETAIL' DESTINATION SYST_B

where SYST_B is the target system, while the SAPRFC is executed logging into SYST_A.

Using saprfc_test.php I do not see any way to set a target system, i.e. something to be added to the following:

$fce = saprfc_function_discover($rfc,"BAPI_CHARACT_GETDETAIL");

$rfc_rc = saprfc_call_and_receive ($fce);

thanks

mrutyun^

Read only

0 Likes
661

Sorry Mrutyun,

I dindt understand - how to implement .. am new to ABAP ... juz need more effort from you .. Can you kindly explain ?

Regards,

Pranshu