Application Development and Automation 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: 
Read only

what is RTTS?

Former Member
0 Likes
2,264

HI FRIENDS,

WHAT IS RTTS ?

HOW CAN WE USE IN ABAP PROGRAMING?

HI FRIENDS,

WHAT IS RTTS ?

HOW CAN WE USE IN ABAP PROGRAMING?

5 REPLIES 5
Read only

matt
Active Contributor
0 Likes
1,899

Welcome to SCN. Please take the time to read the Rules of Engagement. In future, please make sure you do not post in ALL CAPITALS. Also, I've rejected your other posting, as it was not appropriate to this forum, and did not have a meaningful subject.

Read only

Former Member
0 Likes
1,899

hi,

RTTS is for ABAP Runtime Type Services (RTTS). it allows you to do many things dynamically at runtime. you can check class "cl_abap_structdescr" and also check the following link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b332e090-0201-0010-bdbd-b735e96f...

thanks,

Read only

Former Member
0 Likes
1,899

hi,

RTTS is run time type services. Combination of RTTC and RTTI in a class hierarchy. The RTTS methods get information on data types and classes of objects, or create new data types in the form of type objects. The RTTSs are implemented as a hierarchy of type classes from which type objects can be created.

RTTC Run Time Type Creation - Creating data types during runtime of the program

The RTTS are implemented through a hierarchy of type classes that contain the methods for RTTC (Run Time Type Creation) and RTTI (Run Time Type Identification). With the help of these system classes it is possile

- To determine type information of existing instances and type names of the ABAP type system at runtime.

- To define new data types at runtime.

thanks

sachin

Read only

Former Member
0 Likes
1,899

HI

RTTS stands for runtime type services

it can be used in ABAP programming for dynamic table creation.

regards

Aakash

Read only

shivani08
Participant
0 Likes
1,899

RTTS(Runtime Type Services) is used to define or create variables at dynamically.

RTTS is made of 2 components.

RTTC(Runtime Type Creation) is used to create new variables with any definitions. And we can create the variables by using abap statement 'CREATE DATA ..... TYPE DATA....'.

RTTI(Runtime Type Identification) is used to get the definition of existing variables or types.

We can call RTTI and RTTC by using methods in CL_ABAP_*DESCR classes.

Regards,

Shivani Vollala,

Please reward points if it helpful.