Quantcast
Channel: Tricktresor » Tricktresor
Viewing all articles
Browse latest Browse all 2

Generic Programming

$
0
0

Alles, was irgendwie mit universeller Programmierung zu tun hat. RTTI, RTTS, RTTC, Create Data, Create Table, Field-Symbols, CL_ABAP_TYPEDESCR, CL_ABAP_TYPEDESCR, CL_ABAP_STRUCTDESCR, CL_ABAP_COMPLEXDESCR, CL_ABAP_REFDESCR, CL_ABAP_ELEMDESCR, CL_ABAP_DATADESCR, CL_ABAP_OBJECTDESCR, CL_ABAP_INTFDESCR, CL_ABAP_CLASSDESCR

Generic class for inserting, updating and deleting records

Purpose of this class is to store and process records that need to be modified in database tables. When the user is working on an object that contains header and detail records, a 'Save' means that records need to be modified in different tables. Imagine that the application shows a grid where the user can insert, update and delete records; the logic for saving these changes can be a bit complex.

This class should provide the necessary functions for this kind of functionality. It holds a table with the database tables and records that we need to update. Methods are available to add entries to this table and this means that during a process, the required database updates are collected until the actual database update takes place. When the application has finished the process, it calls the method that performs the database update.

http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+OO+-+Generic+class+for+inserting%2C+updating+and+deleting+records

Advanced and Generic Programming in ABAP

Session from SAP TechEd '04 -- Shows you  how to add  dynamic  elements to your ABAP programs and make  them more  flexible with regard to changing  requirements.  You will learn how to write generic services  that  can deal with dynamically structured data that  was unknown at design time. Also, a brand- new  Dynamic Type Creation tool enables you to  create  types on-the-fly, without the need for  program  generation.

http://scn.sap.com/docs/DOC-22613


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images