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

ABAP Object Services

Former Member
0 Likes
726

Hallo Friends,

It would be nice if some one let me know, what ABAP Object Services is ??

Is it something related to ABAP Object ---> Database mapping !?

It would be very nice if some one point out any good resource in this regard, !!

Many thanks!

Haider Syed

7 REPLIES 7
Read only

Former Member
0 Likes
687

From the Help documentation:

Object Services represent a software layer, programmed in ABAP Objects, between the ABAP application program and the ABAP runtime environment. This layer helps you manage objects in the application program.

I believe it is mainly used with Persistant Objects, i.e. Objects that can be stored in the database.

Help is available at

http://help.sap.com/saphelp_47x200/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm

Read only

0 Likes
687

hi

Is it something like object - Relational mapping ?

I have went through to this documentation, would be great if some one share, other document then (SAP Library).

Many thanks!

Haider Syed

Read only

0 Likes
687

It's new for me as far as I use 4.6c. After short investigation of the docu I could say - yes, this is what the OO programmers expect from object-relational mapping to do. And for me the documentation, mentioned by Charles, is quite helpfull - even mapping is described there. I didn't met such terms as 'setter' & 'getter', which describe how an attribute of an object is set/get, however.

I would suggest to try it, if possible.

As for me - as a OO fan (smalltalker), I must force my bosses to switch to 4.7 or to switch to another company (which is more likely) with 4.7, in order to work with this, which I want

Regards,

Ivaylo

Read only

0 Likes
687

Hi

Is Persistence services is somethig like "Hilbernate" in java ??

Any comments !

Haider Syed

Read only

0 Likes
687

Persistence Services is simply the ability to save an Object in the database and then retrieve the object from the database. The attributes of an object are saved in a database table that you designate. You can use an existing table or create a new table to meet your needs. You are forced to decide what the keys of an object are so that you can create a unique entry in a database table.

This is a 4.7 feature. It is not available in 4.6C.

Read only

Peter_Inotai
Active Contributor
0 Likes
687

Check this cool weblog:

/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql

Peter

Read only

0 Likes
687

Really cool!

Question:

Where to find a documentation how to build classes in SAP - beside build-in help, which is not enough, I didn't found info how to use class builder and what (for example) is the meaning of different class categories, etc.

Reference to any book, SAP-cource, white paper, etc. whould be highly appreciated.

All these for 4.6c.

I'm at the begining of a little project and really like to try persistence mapping in SAP as much as possible, as far as I have 6 years experience in object persisntence, and am missing it a lot in SAP.

Regards,

Ivaylo