Q
Problem solve Get help with specific problems with your technologies, process and projects.

Is there an equivalent to Java's instanceOf-operator in ABAP?

I was orginally a Java programmer and have written almost all OOP languages. I've been writing ABAP for about a year and have been using ABAP OO for most of that time. I'm trying to do some real OO design work for my company but I can't seem to find anything that I use all the time in Java: The instanceOf operator. Does such a thing exist in ABAP? If not, how integrated will Java be in SAP Enterprise, and how much of J2EE will it support? For information about what the instanceOf operator is you can check out this link:
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/other.html
I'm absolutely fascinated by your question, as I've never heard anyone, apart from the people who redeveloped BASIS, using ABAP Objects for real. My experiences is that ABAP Object developed programs are slower than the classic equivalent. Also, without persistent objects, it is difficult to be truly object oriented. In answer to your question, I don't believe such an operator exists, and I can't see how it could with the way objects is implemented in R/3. However, if anyone out there knows differently, I'd be delighted to hear from you!
This was last published in June 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close