当前位置:网站首页>ABAP CDs realizes multi line field content splicing
ABAP CDs realizes multi line field content splicing
2022-06-11 02:06:00 【DeveloperMrMeng】
Requirements are as follows , When the same vendor maintains multiple phones , Use its content / Splicing

The effect is as follows :

Implementation steps :
1. establish TABLE FUNCTION Type of CDS

2. stay eclipse perhaps HANA studio Create corresponding classes and methods in , And implement the interface IF_AMDP_MARKER_HDB, take ABAP Class to AMDP class , And for the TABLE FUNCTION Create an implementation method

3. Implementation method , Use string_agg Method for content splicing , Don't forget the last SQL Before adding return Parameters

- BY DATABASE FUNCTION: This option marks the method as a table function .
- FOR HDB: Define the database type as HDB(HANA database ).
- LANGUAGE SQLSCRIPT:HANA The language used by the database procedure .
- OPTIONS READ-ONLY: No changes are allowed in the database process .
- USING: Define the database tables that will be used in our table functions 、 View or process .
4. Create a new CDS To call
above .
边栏推荐
- Matlab digital operation function notes
- Task02: linked list
- 记录一下我的刷题实录
- [leetcode] breadth first search level traversal general disassembly template
- Metersphere tutorial: how to assert when the returned result of the interface is null
- [music] playing blue and white porcelain based on MATLAB [including Matlab source code 1873]
- 数据库概述
- Derivation of Kalman filter (KF) and extended Kalman filter (EKF)
- Contest2902 - following Tang Kelian's programming: sequence structure question d: area 201502 question f: persistence of supporting college students in Ludian earthquake
- 【MATLAB】MATLAB图像处理基本操作
猜你喜欢

AI fanaticism | come to this conference and work together on the new tools of AI!
![[leetcode] balanced binary tree](/img/77/a37557295646010326dac024cf869a.jpg)
[leetcode] balanced binary tree

QT widget's simple serial port assistant (qserialport)

2021-2-14 gephi learning notes

MD61计划独立需求导入BAPI【按日维度/动态模板/动态字段】

ACM教程 - 堆排序

---Arrange numbers---

Metersphere tutorial: how to assert when the returned result of the interface is null

Introduction and practice of QT tcp/udp network protocol (supplementary)

面试官:介绍一下你简历中的项目,细讲一点,附项目实战
随机推荐
Task03: building an offline material system
How to change the administrator's Avatar in win11? Win11 method of changing administrator image
Return function of different return values
【MATLAB】图像基本运算(点运算、算术运算、缩放、旋转)
【MATLAB】图像复原
Introduction and practice of QT tcp/udp network protocol (supplementary)
【MATLAB】图像分割
【交通标志识别】基于matlab GUI YCbCr特征提取+BP神经网络交通标志识别【含Matlab源码 1869期】
InfoQ 极客传媒 15 周年庆征文|容器运行时技术深度剖析
Xpath Injection
[Haas hands on] creative case of new video program launch we started the first phase together E01: Internet of things engineers started the remote control manipulator with you
[music] playing city of the sky based on MATLAB [including Matlab source code 1874]
[winning] Title A of the 9th Teddy Cup Challenge
(已解决)Latex--取消正文中参考文献引用的上标显示(gbt7714-2015会导致默认上角标引用)(上角标&平齐标混合使用教程)
Dialog AlertDialog 、SimpleDialog、showModalBottomSheet、showToast Flutter 自定义 Dialog
Battery control of QT widget (qpainter)
Question g: candy
Xpath注入
爱思唯尔---Elseviewer---预印本在线发表通知
Matlab array other common operation notes