当前位置:网站首页>SAP pi / PO rfc2restful publishing RFC interface is a restful example (proxy indirect method)
SAP pi / PO rfc2restful publishing RFC interface is a restful example (proxy indirect method)
2022-04-23 07:42:00 【rogerix4】
SAP PI/PO rfc2RESTful Release rfc Interface for RESTful Example (Proxy indirect method )
=>Enterprice Services Builder To configure
- Prepare in advance RFC function
- Imported in advance SLD and NameSpace
1. newly build ESB Object storage directory
- newly build ESB Object storage directory , Save and activate (FOLDER_RFC_TEST)
2. newly build Data Type
- newly build Data Type(DT_RFC_TEST_REQUEST)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
- newly build Data Type(DT_RFC_TEST_RESPONSE)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
3. newly build Message Type
- newly build Message Type(MT_RFC_TEST_REQUEST)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
- newly build Message Type(MT_RFC_TEST_RESPONSE)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
4. newly build Service Interface
- newly build RESTful->RFC send out SI(SI_RFC_TEST_REQUEST)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
- newly build RFC->RESTful receive SI(SI_RFC_TEST_RESPONSE)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
5. newly build Message Mapping
- newly build RESTful->RFC On request Message Mapping(MM_RFC_TEST_REQUEST)
- Correlation field , Save and activate
- Correlation field , Save and activate
- newly build RFC->RESTful On return Message Mapping(MM_RFC_TEST_RESPONSE)
- Correlation field , Save and activate
- Correlation field , Save and activate
6. newly build Operation Mapping
- newly build Operation Mapping(OM_RFC_TEST)
-
Request
-
Response
-
- Activate all inactive objects ,ESB overview
=>Integration Builder To configure
1. newly build IB Object storage directory
- New folder , Save and activate (FOLDER_RFC_TEST)
2. newly build SAP Client Information channels
- Idoc Information channels
- Proxy Information channels
- RFC Information channels
3. newly build Business Component
- newly build Business Component, And click the Save button (BC_RFC_TEST)
-
Receiver
-
Sender New information channel (CC_RFC_TEST_SENDER)
- General
- Channel Selection
- REST Resource
- REST Operation
- General
-
- Save and activate all objects
4. newly build Integrated Configuration
- newly build Integrated Configuration
- Inbound Processing
- Receiver
- Receiver Interface
- Outbound processing
- Inbound Processing
- Save and activate
- ID detailed list
- SAP List of system information channels
=>SAP Implementation processing class
1. Implementation processing class
- Create a proxy class
- Code implementation
method ZPI_II_SI_RFC_TEST_RESPONSE~SI_RFC_TEST_RESPONSE. *** **** INSERT IMPLEMENTATION HERE **** *** CALL FUNCTION 'ZPI_RFC_TEST' EXPORTING IV_INPUT = INPUT-MT_RFC_TEST_REQUEST-INPUT IMPORTING EV_OUTPUT = OUTPUT-MT_RFC_TEST_RESPONSE-OUTPUT. endmethod. "ZPI_II_SI_RFC_TEST_RESPONSE~SI_RFC_TEST_RESPONSE
=>APIPost call
1. APIPost call
- verification
- Body
- Send test
版权声明
本文为[rogerix4]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623503541.html
边栏推荐
猜你喜欢
随机推荐
刨根问底---cocos2d源码的理解与分析
保洁阿姨都能看懂的中国剩余定理和扩展中国剩余定理
LATEX公式注意事项
学习笔记7-深度神经网络优化
3.排序语句
状态同步与帧同步
直观理解熵
两个线程交互打印奇偶数字
如何SQL 语句UNION实现当一个表中的一列内容为空时则取另一个表的另一列
1.查看数据库和表
Nacos/sentinel网关限流和分组 (代码)
经典套路:一类字符串计数的DP问题
组合数求解与(扩展)卢卡斯定理
10.更新操作
Meishe technology launches professional video editing solution for desktop -- Meiying PC version
[ACM-ICPC 2018 沈阳赛区网络预赛] J.Ka Chang (分块+dfs序)
超级宝典&编程指南(红蓝宝书)-读书笔记
如何判断点是否在多边形内(包含复杂多边形或者多边形数量很多的情况)
Date对象(js内置对象)
简单易懂的子集dp