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

Simple Examples on ABAP Objects without using include or function modules

Former Member
0 Likes
931

Hi,

I am new to ABAP. I need simple example codes on ABAP Objects. It should not have Includes or Function Modules. Just simple codes, using local & global classes, interfaces etc. I searched the forum and even <<the site that shall not be mentioned>>, but did not find a solution. Kindly help please.

Regards,

Smruthi.

Edited by: Matt on Mar 1, 2009 1:20 PM - forbidden site reference removed

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
828

Hello Smruthi

If you go to the Forum Search and choose the forum ABAP Objects then serach for ZUS_SDN and you will find many of my simple sample reports.

These reports usually do not contain any includes but they may call function modules which makes perfectly sense. For example, if you are still doing a direct table SELECT instead of using an available BAPI (or class) to get a business object then this is a clear sign of poor (=non-ABAP-OO) programming.

Regards

Uwe

6 REPLIES 6
Read only

amit_khare
Active Contributor
0 Likes
828

If you have access to SAP then simply check BCALV* objects in SE38.

Read only

0 Likes
828

that does not show objects examples.. I dont want ALV code.. I want simple code..

Read only

Former Member
0 Likes
828

hi,

Check the demo program

DEMO_ABAP_OBJECTS

DEMO_ABAP_OBJECTS_CONTROLS

DEMO_ABAP_OBJECTS_DIALOG_BOX

DEMO_ABAP_OBJECTS_EVENTS

DEMO_ABAP_OBJECTS_GENERAL

DEMO_ABAP_OBJECTS_METHODS

DEMO_ABAP_OBJECTS_SPLIT_SCREEN

Tcode ABAPDOCU -> abap Objects

Edited by: Avinash Kodarapu on Feb 26, 2009 5:40 PM

Read only

0 Likes
828

I suppose I have mentioned SIMPLE EXAMPLES and not COMPLICATED

Read only

0 Likes
828

Kindly [search|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=simple+oops&adv=false&sortby=cm_rnd_rankvalue] in SCN, I'm sure you will find many simple and complex examples as well.

Read only

uwe_schieferstein
Active Contributor
0 Likes
830

Hello Smruthi

If you go to the Forum Search and choose the forum ABAP Objects then serach for ZUS_SDN and you will find many of my simple sample reports.

These reports usually do not contain any includes but they may call function modules which makes perfectly sense. For example, if you are still doing a direct table SELECT instead of using an available BAPI (or class) to get a business object then this is a clear sign of poor (=non-ABAP-OO) programming.

Regards

Uwe