Posts Tagged ‘abap’

View Elements – Custom Data Explorer

Posted in SAP Dynpro on June 6th, 2009 by asabau – Be the first to comment

Custom data explorer is structured as one screen (screen number 100) with three subcreens: table search (150), table query where clauses (200), table data (300). Each screen is a view inside MVC. These views are totally independent of each other actions, they’re just coded to reflect model current data and dispatch controller events based on user commands. Data storage and data handling happens in model and controller. read more »

Controller Overview – Custom Data Explorer

Posted in SAP Dynpro on May 31st, 2009 by asabau – Be the first to comment

Controller is responsible for updating model data based on events received from views/abap screens. It does this by defining the events it will listen to (the abap screen will dispatch these) and by registering method listeners for each controller event type. read more »

Model Overview – Custom Data Explorer

Posted in SAP Dynpro on May 30th, 2009 by asabau – Be the first to comment

Model acts as a central location to store data from ddic based on commands triggered by controller. It is crucial that only one instance of model exists through out the report execution ensuring all views and the controller itself access the same data. Because of this we don’t allow for a model instance to be created outside the model class. read more »

MVC Package Structure – Custom Data Explorer

Posted in SAP Dynpro on May 24th, 2009 by asabau – Be the first to comment

In most programming languages (that I’ve used anyway) packaging is directly related to directory structure. ABAP is different in this aspect and has its own particularities. Since almost everything related to SAP is stored within a database, including source code, we can’t talk about defining package structures with the help of directory structures. We have to manually create them. read more »

MVC Class Structure – Custom Data Explorer

Posted in SAP Dynpro on May 23rd, 2009 by asabau – Be the first to comment

Using an MVC approach you have a model holding all data, a controller manipulating the data and a view displaying the data. This way you can isolate business logic (controller) from business data (model) and  display logic (view). Each of the three elements can be developed and tested independently. For example,  making a change in business logic won’t affect in any way the existing model or views. It allows you to  easily maintain or enhance existing applications. read more »

Dynpro MVC Implementation – Custom Data Explorer

Posted in SAP Dynpro, Showcase on May 16th, 2009 by asabau – Be the first to comment
Dynpro MVC Implementation - Custom Data Explorer

read more »