‎2009 Feb 26 12:06 PM
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
‎2009 Feb 27 4:41 AM
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
‎2009 Feb 26 12:09 PM
If you have access to SAP then simply check BCALV* objects in SE38.
‎2009 Feb 26 12:25 PM
that does not show objects examples.. I dont want ALV code.. I want simple code..
‎2009 Feb 26 12:09 PM
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
‎2009 Feb 26 12:25 PM
I suppose I have mentioned SIMPLE EXAMPLES and not COMPLICATED
‎2009 Feb 27 1:33 PM
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.
‎2009 Feb 27 4:41 AM
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