什么是数据声明中%符号的含义?

问题描述 投票:6回答:1

我在ABAP代码中找到了这个数据声明。有谁知道这个%的意思?

Data: %rlmob type str_mob 
abap
1个回答
14
投票

除了ABAP Objects("The name must start with a letter or an underscore (_). Only outside of ABAP objects can the name also start with a different character.")之外的任何其他角色。建议使用ABAP对象,因此不推荐使用%。从历史上看,SAP也经常使用它来命名“系统”(即非常低级别的SAP程序)变量,类型和任何其他类型的符号。

© www.soinside.com 2019 - 2024. All rights reserved.