cancel
Showing results for 
Search instead for 
Did you mean: 

creating / consuming RFC s

former_member198060
Participant
0 Kudos

Hello,

I have no experience with RFCs but I need to build an SOA demo application using the inside-out approach.

Could you give me some pointers to good and easy to understand documentation about RFCs in SAP? I'd like to know what they are, what they do, how they are doing it and how to build / find / consume them in an SAP environment.

Hope you can help me out.

Regards,

Peter

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

In SOA, the entire interface and communication will be done over SOAP XML format. Here we need to identify the source and destination as inside-out approach. The Function Module which is going to be used as remotely enabled in the attributes as a primary.

SAP WebAS is 6.2 or less the connectivity url would be different.

Ex.

http://<server>:<port>/sap/bc/soap/wsdl11?services=ZRFC_GOODMVT_CREATE

Here we do not need any web service. This is called Outside-in approach.

SAP Web AS 6.4 and above, the connectivity url would like below

Here web service to be created for RFC

http://<server>:<port>/sap/bc/srt/rfc/sap/ZRFC_WBRIDGE_INTEGRATION?sap-client=301&wsdl=1.1

Once execute those urls from browser, you would get the respective WSDL , which interact with other applications out side.

This is one part of the SOA.

SR

Former Member
0 Kudos

Hi

RFC is Remote enabled Function modules.

You create RFC function modules in the tcode SE37.

Check this link for some info:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2043985f-014c-2a10-a0ba-d081e09e...

Neha

former_member186439
Participant
0 Kudos

For a demo, you can do everything in SE80 using the "Create/Web Service" wizard (available by right-clicking on the function module name). On the Object Type screen select Service Provider. On the Service Provider screen select Existing ABAP Objects (Inside Out). On the Provide Service Definition Details screen give it a name and a description and an Endpoint Type of FUNC Function Module. On the Choose Endpoint screen give it a name and select the Mapping der Namen checkbox. On the Configure Service screen select value PRF_TF_IF_SEC_LOW in the Profile field (this configures User ID and Password security - Basic Authentication). Assign it to a package and a transport. This completes the Wizard work. Back in SE80 the created Service Endpoint need to be Activated using the Activate button.

Be warned this builds everything in the client you are running SE80 in. If you want the web services in a different client, you will need to learn how to use transaction SOAMANAGER.