当前位置:网站首页>一个 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.
执行后的效果:


边栏推荐
猜你喜欢
随机推荐
Systemui status bar to add a new icon
Yann LeCun转推:参数减少50倍,性能还更好,MetaAI推出Atlas信息检索模型
pm2 static file service
fastposter v2.9.1 程序员必备海报生成器
Lilac Garden
[Letter from Wu Enda] The development of reinforcement learning!
无线网络、HTTP缓存、IPv6
Introduction to program debugging and its use
Basic use of Go Context
pm2之静态文件服务
DB2查询2个时间段之间的所有月份,DB2查询2个时间段之间的所有日期
数字藏品平台系统开发实战
Redis -- Nosql
阿里五位MySQL封神大佬耗17个月总结出53章性能优化法则
Websocket realizes real-time change of chart content
Pytest framework optimization
Mysql语句分析、存储引擎、索引优化等详情
2022年网络安全培训火了,缺口达95%,揭开网络安全岗位神秘面纱
Digital Collection Platform System Development Practice
王学岗—————————哔哩哔哩直播-手写哔哩哔哩硬编码录屏推流(硬编)(26节课)









