当前位置:网站首页>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
边栏推荐
猜你喜欢

学习笔记5-梯度爆炸和梯度消失(K折交叉验证)

配置npm

SAP RFC_CVI_EI_INBOUND_MAIN BP主数据创建示例(仅演示客户)

反思|开启B站少女心模式,探究APP换肤机制的设计与实现

Design optimization of MySQL database

超级宝典&编程指南(红蓝宝书)-读书笔记

SAP TRANSLATE使用数据对象掩码示例

菜菜的并发编程笔记 |(五)线程安全问题以及Lock解决方案

Solutions to common problems in visualization (VII) solutions to drawing scale setting

‘npm‘不是内部或外部命令,也不是可运行的程序 或批处理文件
随机推荐
UDP基础学习
ESP32学习-向工程项目添加文件夹
技术小白的第一篇(表达自己)
刨根问底---cocos2d源码的理解与分析
积性函数前缀和——杜教筛
学习笔记7-深度神经网络优化
反思 | 事件总线的局限性,组件化开发流程中通信机制的设计与实现
Meishe technology launches professional video editing solution for desktop -- Meiying PC version
[ACM-ICPC 2018 沈阳赛区网络预赛] J.Ka Chang (分块+dfs序)
colab
P1390 公约数的和(莫比乌斯反演)
npm 安装踩坑
14.事务处理
Mysql持久性的实现
13. User and authority management
【自我激励系列】到底是什么真正阻碍了你?
SAP PI/PO Soap2Proxy 消费外部ws示例
Two threads print odd and even numbers interactively
7. sub query
5.SQL99标准:内连接和外连接