The difference between data references and field symbols
来源:互联网 发布:信息的编程加工教案 编辑:程序博客网 时间:2024/05/17 06:24
An interviewer asked me a question when I had a SAP Labs interview in Shanghai last month. The question is What's the difference between data references and field symbols?I think it must be the deepest question I have ever met.We rarely use data references and field symbols in development due to oo programing is less popular than procedural programing in China's SAP project.Although I had lots of oo expericences in SAP development I never tried to figure out the difference.After I looked for some information in Internet and SAP Help website, I got some new ideas about it.First of all,let's list the semantic concept of them.
Data references are pointers to data objects. You can only dereference a data reference using a special assignment to a field symbol.(From SAP Help website)
Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. (From SAP Help Website)
It clearly defined that data references are pointers and field symbols are placeholders.If you learned C language before you should realize that point is a very import tool.In my opinion,data references are pointer in C and field symbols are similar to the signal "*" .It measn actually you can only manipulate data reference by using its physical memory address.If you want to using its content you must assign it to a relevant field symbol.
I won't prove it in ABAP/4 code until I can log on SAP system.....to be contined
- The difference between data references and field symbols
- Relation between Data References and Field symbols with examples
- SAP DEMO-Field Symbols and Data References
- The Difference Between Ruby Symbols and Strings
- The difference between (()) and ().
- the difference between data mining and meachine learning
- Field symbols & References
- the difference between "./" and "sh"
- difference between data() and c_str() of basic_string
- Difference Between Prefetch Abort and Data Abort
- the difference between the SOURCELIBS and TARGETLIBS
- What is the difference between Simple, Advanced and Parameter data sets?
- What’s the difference between machine learning, statistics, and data mining?
- The difference between Const and ReadOnly
- The difference between Failure and Success
- The difference between Process and Procedure
- The difference between GetDC and GetWindowDC
- The difference between Chinese and American
- pragma once
- 梅花雨日历控件吹云修正(扩展)版
- Delphi是最适合编写ShellCode的工具
- 气愤
- driver class jar location
- The difference between data references and field symbols
- 网页中自动换行的问题
- 在VCL应用中运用MVC模式
- 关于java打印功能的最简单实现的学习笔记
- Windows 环境下顺利利用 OMNET++
- JSF的优势及未来发展趋势
- 开篇题
- 人生如梦游戏间,RPG游戏开源开发讲座(JAVA篇)[5]——一树双花
- CollapsiblePanel控件