- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Comparing SAP ABAP Field symbols and data reference with Pointers in C
Field symbol resembles pointer in C but there is one main difference: you can use Field Symbol only to access the values present in it but not the memory address. Similar to a pointer in actual, it stores the memory address of the variable that was assigned to it. You can see the data held by the variable but you cannot fetch the memory address. Similar to a pointer, in case if you make changes to data referenced by field symbol, it changes the value at the original place too.
Data reference too resembles pointer at a high level. You can access memory address too in this case. You can compare two field references to verify whether both of them refer to the same memory reference. But you cannot use increment or decrement operations on the memory address, unlike pointers. Memory allocation can be done dynamically in this case if you use CREATE DATA command.
- Related Articles
- SAP ABAP: Using Elementary data type and reference type with keyword VALUE
- Defining a variable reference in SAP ABAP
- Comparing Pointers in Golang
- Error while selecting into field-symbol in SAP ABAP
- Refreshing list viewer data selectively in SAP ABAP
- Retrieving data from a table in SAP ABAP
- Activation of ABAP table failing with reference error
- Replace Tab with space in SAP ABAP
- Pointers, smart pointers and shared pointers in C++
- Aggregating rows in SAP ABAP with the same name
- Using logarithm in SAP ABAP
- Declare dynamically in SAP ABAP
- Negation logic in SAP ABAP
- Learning SAP HANA and scope with ABAP-HANA or BI-HANA
- Creating a variable with dynamic variable type in SAP ABAP
