Skip to Content

creating / consuming RFC s

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2008 at 06:54 PM

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

    Neha

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 02:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.