当前位置:网站首页>ABAP dynamic inner table grouping cycle
ABAP dynamic inner table grouping cycle
2022-07-07 03:59:00 【Miserable youth】
stay ABAP When dynamic inner table grouping loop is used in , If direct at end of or group by Will report a mistake .
At end of :
LOOP AT <dy_table> ASSIGNING <dyn_wa>.
AT END OF belnr.
ENDAT.
ENDLOOP.

Group by:
LOOP AT <dy_table> ASSIGNING <dyn_wa> GROUP BY ( belnr = <dyn_wa>-belnr ) ASCENDING ASSIGNING FIELD-SYMBOL(<group>).
ENDLOOP.

This is because <dyn_wa> It's a generic type , Only assignging Type only after .
resolvent :
LOOP AT <dy_table> ASSIGNING <dyn_wa>.
ASSIGN COMPONENT 'BELNR' OF STRUCTURE <dyn_wa> TO <fs_belnr>.
AT END OF <fs_belnr>.
ENDAT.
ENDLOOP.
Close test effectively .
边栏推荐
猜你喜欢

【开发软件】 tilipa开发者软件

Kalman filter-1

Construction of Hisilicon universal platform: color space conversion YUV2RGB

【DPDK】dpdk样例源码解析之三:dpdk-l3fwd_001

Introduction to opensea platform developed by NFT trading platform (I)

23. (ArcGIS API for JS) ArcGIS API for JS ellipse collection (sketchviewmodel)

Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation

Huawei and Xiaomi "copy each other"

PHP lightweight Movie Video Search Player source code

A 股指数成分数据 API 数据接口
随机推荐
SSL证书部署
手机号国际区号JSON格式另附PHP获取
API data interface of A-share index component data
卡尔曼滤波-1
[development software] tilipa Developer Software
Force buckle ----- path sum III
U.S. Air Force Research Laboratory, "exploring the vulnerability and robustness of deep learning systems", the latest 85 page technical report in 2022
[security attack and Defense] how much do you know about serialization and deserialization?
维护万星开源向量数据库是什么体验
25. (ArcGIS API for JS) ArcGIS API for JS line modification line editing (sketchviewmodel)
How to customize the shortcut key for latex to stop running
Arduino droplet detection
Probability formula
Implementation of binary search tree
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
termux设置电脑连接手机。(敲打命令贼快),手机termux端口8022
接口数据安全保证的10种方式
学习使用js把两个对象合并成一个对象的方法Object.assign()
Gpt-3 is a peer review online when it has been submitted for its own research
使用 TiDB Lightning 恢复 GCS 上的备份数据