4 Replies Latest reply: Oct 5, 2010 8:36 AM by Uwe Schieferstein RSS

Need business example in OOPS report.

Kumar Gaurav
Currently Being Moderated

Dear Experts,

I have a firm foundation in Object oriented concepts as I have been in J2EE and C++ . Now I am in abap for the last 2 Years But yet I am not able to get myself fully into OO Reports in ABAP.  I tried searching for in the forum and wiki but didn't find the exact answers there. Mostly people talk about OO ALV . And for OO reports the examples given are car and vehicle sort of things and not in terms of FI Documents or Materials and Inventory. Even if you find one, they will suggest using static methods instead of forms. Again in this case I feel this is not the best use of OOPS but just to replace Procedural with Object oriented.

 

I am well aware with the concepts and If I have a UML/ Use Case in front of me I can write the code. But my problem is I am able to frame the UML. I know about MVC architecture but am getting afraid to put into OOPS because the procedural makes it too simple and fast .

 

Say take an example of material. We can either declare a type say ty_material with the required fields or a class say lcl_material with all the fields as attributes.

 

I am not able to express my confusions.

 

I will be really thankful if some one can give me a few REAL OBJECT ORIENTED report that can help me getting started.

 

With Great Hopes,

KG