Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

field symbols and logical databases

Former Member
0 Kudos
97

Hi,

How to use field symbols in an abap HR program with logical database? For most of the reports and interfaces in HR, I have used GET PERNR with logical database to fetch data from the tables. I understand that this method of programming using logical databses, is less coding and improves the performance. I am curious to know the usage of field pointers here. How does this help? Is it necessary from a performance point of view? I would like to look at an example that has LDB and field symbols used in combination. I did not find one in the threads.

Any thoughts and what do you recommend?

Thanks in advance,

VG

1 ACCEPTED SOLUTION

Former Member
0 Kudos
51

Field-Symbols utilize memory more efficiently.Hence Better utilization of memory better is performance.

Memory utilization is one of the factor for performance.

[LDBFIELD-SYMBOLS|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/generictemplatetoAccessLDB]

[Field Symbols|https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/abap%252bsyntax]

Hope this resolves your query.

Regards,

Gurpreet

3 REPLIES 3

MarcinPciak
Active Contributor
0 Kudos
51

Hi Vinu,

Where you want to use field-symbols? Don't know excatly what you mean. Do you want to fetch data using field symbols? LDB is doing it for you (as you have already noticed) and this is the best and easiest way to get data from DB.

If you provide more info where excatly would you like to use these references, maybe we will help you more.

Regards

Marcin

Former Member
0 Kudos
52

Field-Symbols utilize memory more efficiently.Hence Better utilization of memory better is performance.

Memory utilization is one of the factor for performance.

[LDBFIELD-SYMBOLS|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/generictemplatetoAccessLDB]

[Field Symbols|https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/abap%252bsyntax]

Hope this resolves your query.

Regards,

Gurpreet

0 Kudos
51

Thanks for the info folks. The information shared helped me to understand it clearly.

VG