| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Working with InterfacesBy Vikram Chellappa, Mouri Tech Solutions In ABAP interfaces are implemented in addition to, and independently of classes. An interface only has a declaration part, and do not have visibility sections. Components (Attributes, methods, constants, types) can be defined the same way as in classes.
Go to SE24 provide interface name. Interface name start with ZIF_
Press create button.
Provide description. Save it.
Save it.
Provide the method name.
Provide the parameters for this
method.
The screen is like this.
Then save it, check it, activate
it. We cannot implement the method of
this interface. Provide the name in the class.
Create it.
Save it. Go to interface tab. Provide the interface name.
Save it. Then go to the methods tab. Then we can see the interface
method name in the class method.
Then double click on the method
then write the logic here.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||