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

sap objects

Former Member
0 Likes
403

what are sap objects & abap objects.

2 REPLIES 2
Read only

Former Member
0 Likes
366

Hi,

ABAP Objects

ABAP Objects is a new concept in R/3 Release 4.0. The term has two meanings. On the one hand, it stands for the entire ABAP runtime environment. On the other hand, it represents the object-oriented extension of the ABAP language.

The Runtime Environment

The new name ABAP Objects for the entire ABAP runtime environment is an indication of the way in which SAP has, for some time, been moving towards object orientation, and of its commitment to pursuing this line further. The ABAP Workbench allows you to create R/3 Repository objects such as programs, authorization objects, lock objects, Customizing objects, and so on. Using function modules, you can encapsulate functions in separate programs with a defined interface. The Business Object Repository (BOR) allows you to create SAP Business Objects for internal and external use (DCOM/CORBA). Until now, object-oriented techniques have been used exclusively in system design, and have not been supported by the ABAP language.

The Object-Oriented Language Extension

ABAP Objects is a complete set of object-oriented statements that has been introduced into the ABAP language. This object-oriented extension of ABAP builds on the existing language, and is fully compatible with it. You can use ABAP Objects in existing programs, and can also use "conventional" ABAP in new ABAP Objects programs.

ABAP Objects supports object-oriented programming. Object orientation (OO), also know as the object-oriented paradigm, is a programming model that unites data and functions in objects. The rest of the ABAP language is primarily intended for structured programming, where data is stored in a structured form in database tables and function-oriented programs access and work with it.

The object-oriented enhancement of ABAP is based on the models of Java and C++. It is compatible with external object interfaces such as DCOM and CORBA. The implementation of object-oriented elements in the kernel of the ABAP language has considerably increased response times when you work with ABAP Objects. SAP Business Objects and GUI objects - already object-oriented themselves - will also profit from being incorporated in ABAP Objects.

SAP objects are contained:

● Within the initial content provided with the portal. See Standard Initial Content.

● Within the business packages delivered by SAP that can be imported into the portal from the Portal Content Portfolio area in the SAP Developer Network (SDN) at www.sdn.sap.com.

The content objects provided by SAP (the initial content) can be found in the Portal Catalog in the following folder: Portal Content/Content Provided by SAP. Objects in this folder belong to the SAP namespace. The ID of the object contains one of the following prefixes:

● com.sap*

● com.sap.pct*

Do not make any changesto objects in the SAP namespace. If you do so, and a new version of the object is then imported into the portal, the object will be overwritten and you will lose all your changes.

...

Features

You have two possibilities for reusing objects provided by SAP and adapting them to your needs:

1. Scenario 1: You use the SAP objects that are delivered without a namespace.

2. Scenario 2: You create a delta link from an SAP object.

Activities

Scenario 1: You use the SAP objects that are delivered without a namespace

As described above, the objects in initial content belonging to the SAP namespace can be found in the Portal Catalog in the following folder: Portal Content/Content Provided by SAP.

You may not use or change these objects.

In parallel, there are copies of these objects in two other folders of the Portal Catalog: Portal Content/Portal Administrators and Portal Content/Portal Users. These folders contain for example:

● the administrator roles

● the standard user role

● the preconfigured page for the navigation areas in the portal

You can change all the objects in these two folders as needed by opening them in the Portal Content Studio for editing. Since the objects are not in the SAP namespace, you can use or change the objects.

You can use the objects in these two folders because they have a delta link relationship to the original objects in folder Content Provided by SAP. The initial content is provided by SAP together with the delta link relationships.

Note the following for the administrator roles:

● If you want to change the preconfigured administration roles, always use the administrator roles in the folder Portal Content/Portal Administrators.

● If you want to assign administrator roles to users, always use the administrator roles in the folder Portal Content/Portal Administrators.

Scenario 2: You create a delta link from an SAP object

You can derive an object from an SAP object with a delta link. You assign the derived object a name in your own namespace. You do this by copying the SAP object from the Portal Catalog and inserting it elsewhere in the Portal Catalog as a delta link. See Creating Delta Links.

In this way you create a reference to a delivered object that is not part of your own namespace (the source object) from an object belonging to your own namespace (the target object).

You can now change "external" contents within your own object by working on the reference object, and not on the original object delivered by SAP. The system records the changes that you make (such as deleting folders or adding folders to role hierarchies) as a delta link.

Result

In both scenarios the advantages of the delta link method become apparent:

● You can make changes to a target object (delta link object) and the source object remains unchanged.

● If the source object is reimported into the portal at a later time with changes to its contents, these changes appear automatically in all the derived target objects.

● When you import the content object again, your changes to the derived (target) object are retained.

Read only

p291102
Active Contributor
0 Likes
366

Hi,

Check this below link.

[http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm]

Thanks,

Sankar M