abap函数参数中的百分号表示什么?
我遇到过这个 abap 片段,我很难理解。
call function 'com_invoke'
destination pv_wrkdest
exporting
%instid = pv_instance
%method = 'FieldCountGet'
importing
%return = lc_return
fieldcount = pv_fieldcount
exceptions
communication_failure = 1
system_failure = 2
invalid_instance_id = 3
others = 4.
%instid、%method 和 %return 参数中的百分号表示什么?
I have encounters this abap snippet that I have difficulty to comprehend.
call function 'com_invoke'
destination pv_wrkdest
exporting
%instid = pv_instance
%method = 'FieldCountGet'
importing
%return = lc_return
fieldcount = pv_fieldcount
exceptions
communication_failure = 1
system_failure = 2
invalid_instance_id = 3
others = 4.
What does the percent sign indicates in the %instid, %method and %return parameters?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可能只是一个(过时的)命名约定吗? IE 中所有以 % 开头的参数都是“按值传递”还是“按引用传递”?我刚刚尝试在测试 FM 中创建类似的参数,但 SAP 不允许这样做。
Could it just be an (obsolete) naming convention? I.E. are all the parameters that start with % either "Pass by Value" or "Pass by Reference"? I've just tried to create a parameter like that in a test FM and SAP won't allow it.