当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
直观理解熵
‘npm‘不是内部或外部命令,也不是可运行的程序 或批处理文件
6. Aggregation function and grouping statistics
页面动态显示时间(升级版)
[COCI]Lampice (二分+树分治+字符串哈希)
嵌入式相关面经(一)
2022.3.14 阿里笔试
Background management system framework, there is always what you want
kaggle-房价预测实战
[LNOI2014]LCA——树链剖分——多点LCA深度和问题
基于可视化结构的身份证号码校验系统-树莓派实现
快速下载vscode的方法
数论之阶与原根讲解
OpenGL超级宝典初步配置(freeglut、glew、gltools、glut)
keytool: command not found
10.更新操作
On BFC (block formatting context)
The difference and application of VR, AR and MR, as well as some implementation principles of AR technology
【TED系列】如何与内心深处的批评家相处?
Educational Codeforces Round 81 (Rated for Div. 2)