Posted on Apr. 14, 2010 at 11.48 AM - Kuala Lumpur, Malaysia
Last time it's kind of difficult if we want to retrieve fields that belong to a structure or table. However with the introduction of RTTI in the ABAP Object world, this can be easily done.
What is RTTI?
As of SAP Web AS 6.10, ABAP Objects enables us to query type attributes at runtime using standard SAP classes. This concept is called as Run Time Type Identification (RTTI). Since SAP Web AS 6.40 it has been enhanced further to enable us to create runtime object, which is called Run Time Type Creation (RTTC). The combination of both concepts forms Run Time Type Service (RTTS).
This is an example on how to use RTTI service to get the fields which belong to a certain structure object.
Great!
Life is beautiful! Let's make it meaningful and colorful!