Skip to Content
author's profile photo Former Member
Former Member

ABAP Objects - real example

Hello everybody,

can someone please navigate me to some "real example" of using abap objects?

I went through demos in sap (I am using SAP R/3 4.6C) in transaction ABAPDOCU, I have a book Horst Keller: Abap Objects (where partially the object orientation is written), I am reading articles in SAP professional journal or on web www.erpsapgenie.com, etc.

This is all nice, but no real example can I find.

What I mean with real example:

For example report, where I select data from database ("select *.." or "get ..." etc.), put this data to internal table, maintenance these data, output these data.

Or: in dialog programming write simple dialog, get data from PBO/PAI, put to into it, write data to database table, etc.

I have tryed the first case: simple, but meaningfull report, and I start to struggle with problems - if I will have internal table it should be variable of given class, and the table will be in interfase? Or it should be in some "global class main" - but - it is recomended to have as possible protected/private data - so if I will have global data it is worse programming behaviour the to use old procedural approach...

So generally, WHERE are some examples, where all standard behaviour of procedural programming is shown? - like

<i>- put data to internal table/get if from it,

- communication with dialog modules/calling selection screen,

<i>- open text file in present. server, </i>

<i>- preparing data for batch input processing, </i>

<i>- exist abap objects equivalent of logical databases or (we, application programmers) have to write it by ourselves? </i>

<i>- where are some real programs in R/3 4.6C, which are written fully object oriented? (but please not in HR module 😔 )</i>

<i>- etc.</i></i></i>

Are these things available to use in version R/3 4.6C?

Thanks a lot,

Alexander Talac.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.