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

Interface without Attributes and Methods

Sivakumar_Subramaniam
Product and Topic Expert
Product and Topic Expert
0 Likes
428

Hi Experts.,

What is the use of having an interface without Attributes and Methods.

I saw the interface IF_MODEL_MM in standard, wondered what would be the purpose of this interface .

Kindly guide me regarding this ..

Thanks & Regards.,

S.Sivakumar

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
365

Hello Sivakumar

Such naked interfaces may be used to mark a class for special purpose. For example if you add interface IF_SERIALIZABLE_OBJECT to your class then you can serialize instances of this class.

I am not sure about the function of IF_MODEL_MM but looking at the implementing classes is seems to have an important (yet unknown) function as well.

Regards

Uwe

Read only

0 Likes
365

Hi Uwe Schieferstein .,

I am at the Starting Point of doing a classical dynpro program via Abap Objects which address all controls with MVC Architecture .So i debugged the standard ME21n transaction to find out how i can start with. I came across this interface which has no Attributes and Methods.I wondered y .Thats y i posted a Question .I also seen a lot of Standard classes

CL_TABLE_VIEW_MM

CL_BASIC_MODEL_VIEW_MM

CL_COMPOSITE_SCREEN_VIEW_MM

CL_SCREEN_VIEW_MM

CL_TABLE_VIEW_MM

CL_TABSTRIP_VIEW_MM

CL_TC_BUTTON_VIEW_MM

CL_TC_ITEM_VIEW_MM

CL_TOGGLE_VIEW_MM

CL_VALUE_MODEL_VIEW_MM

and much more for Model and Controllers ..Can u plz guide me how i can make use of this classes effictively in my custom module pool programming ..

Thanks&Regards.,

S.Sivakumar