当前位置:网站首页>一个 ABAP Development Tool 自定义 service endpoint 的测试工具
一个 ABAP Development Tool 自定义 service endpoint 的测试工具
2022-08-10 14:59:00 【汪子熙】
源代码如下:
REPORT ZADT_CLIENT.
DATA: lv_request TYPE SADT_REST_REQUEST,
lv_response TYPE SADT_REST_RESPONSE,
lv_header LIKE LINE OF lv_request-header_fields.
lv_request-REQUEST_LINE-method = 'GET'.
lv_request-REQUEST_LINE-uri = '/sap/bc/adt/oo/classes/zcl_crm_hana_tool'.
lv_request-REQUEST_LINE-version = 'HTTP/1.1'.
lv_header-name = 'X-sap-adt-profiling'.
lv_header-value = 'server-time'.
APPEND lv_header TO lv_request-header_fields.
CALL FUNCTION 'SADT_REST_RFC_ENDPOINT'
EXPORTING
request = lv_request
IMPORTING
response = lv_response.
BREAK-POINT.
执行后的效果:
边栏推荐
- 使用Uiautomator2进行APP自动化测试
- “蔚来杯“2022牛客暑期多校训练营7
- 老板加薪!看我做的WPF Loading!!!
- 华为云DevCloud获信通院首批云原生技术架构成熟度评估的最高级认证
- Zhaoqi Technology Innovation High-level Talent Entrepreneurship Competition Platform
- SYM32——RTC实时时钟程序讲解
- Appium for APP automation testing
- Websocket realizes real-time change of chart content
- scala 10种函数高级应用
- 丁香园
猜你喜欢
Containerization | Scheduled Backups in S3
Mysql statement analysis, storage engine, index optimization, etc.
scala集合
12海里、24海里、200海里的意义及名称
机器学习总结(一)
storage of data in memory
【MindSpore易点通机器人-02】设计与技术选型
Meaning and names of 12 nautical miles, 24 nautical miles and 200 nautical miles
metaForce佛萨奇2.0系统开发功能逻辑介绍
JS entry to proficient full version
随机推荐
systemui shield notification bar
1004 (tree array + offline operation + discretization)
640. 求解方程 : 简单模拟题
网络工程师的背包(EDC总结推荐)
const-modified pointer variable (detailed)
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 7
格式化输出当前时间
Data Types and Integer Storage
Digital Collection Platform System Development Practice
王学岗————直播推流(软便)03x264集成与camera推流
无线网络、HTTP缓存、IPv6
systemui屏蔽通知栏
pm2之静态文件服务
pm2 static file service
PyTorch 多机多卡训练:DDP 实战与技巧
Understanding_Data_Types_in_Go
TCP为什么是三次握手和四次挥手?
LeetCode_2598_剑指Offer Ⅱ 091.粉刷房子
XML基本学习
It is reported that the original Meitu executive joined Weilai mobile phone, the top product may exceed 7,000 yuan