SAP RFC 接口

11 篇文章 2 订阅


SAP一共有5种接口
有RFC,还有BAPI,还有IDoc, 还有SOAP,还有REST, 其中RFC用的最多,最广。

Lists high-level tasks to complete on the SAP system to create an RFC. Each task may involve very detailed procedures. As a result, we recommend contacting your SAP administrator to complete these tasks, or refer to the SAP guidance.

1.Create an RFC

1.Start the SAP GUI.

2.Go to Transaction SE37 (Function Builder), enter the RFC name, and click Create.

3.Enter an existing function group under which the RFC will be created, a short description for the RFC, and click Save.

4.In the Attributes tab, select the Remote-Enabled Module radio button.

5.In the Import tab, enter the import parameters. These parameters are used for passing the external data to the function module.

6.In the Export tab, enter the export parameters.

7.In the Changing tab, enter the changing parameters.

8.In the Tables tab, enter the table names.

9.In the Exceptions tab, enter the exceptions to handle errors.

10.In the Source Code tab, enter the source code (logic) for the RFC.

11.Click the Activate icon on the toolbar to activate the function module.

2.Create an RFC destination

1.Start the SAP GUI.

2.Go to Transaction SM59 (Display and Maintain RFC Destinations).

3.From the menu bar, click Create.

4.Enter the RFC destination, connection type, description, and then press Enter.

5.Select the Registered Server Program radio-button, enter the program ID, gateway host, and gateway service.

6.Save the RFC destination.

3.Send an RFC from an SAP system

1.Start the SAP GUI.

2.Create a logical system using BD54 transaction.

3.Create an RFC destination in TCP/IP connections using SM59 transaction.

4.Create a port using WE21 transaction and attach it to the RFC destination created in the last step.

5.Trigger an RFC by using SE37. This RFC must contain the logic to make an RFC call to an external application and then receive a response from that application.

参考
webservice
SAP API

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值