One Web Table Interface Class Fits All

  • by Jin Freda, BW Developer, Becton Dickinson
  • March 1, 2007
Implement a flexible custom table interface class for enhancing BW Web reports to meet new and changing business requirements.
Key Concept

The table interface is a gateway for modifying ABAP- based object-oriented classes for use with Web templates. You can use the table interface to modify the presentation of a Web template or specific data sets. The key to the technique described in this article is to build all key elements in the custom table interface dynamically rather than hard coding them. This makes your table interface generic and flexible and allows you to avoid changing the coding in your table interface class when requirements change.

Many companies use custom Web reporting table interface classes to modify presentations and data sets. For example, a customer may need a high-level metrics dashboard containing one or multiple metrics summary reports (tables) with active exceptions (colored light bulbs). Each key figure in each table has a different icon. When you click on any one of them, a different detailed report displays. Each report has a different template and possibly a different data provider that may be restricted by a different combined characteristic filter based on the row you select. In the current practice, you hard code the key figure name, template ID, and data provider name, special icons path, and similar details in your table interface class. Therefore, you need to change the code when a requirement changes, but this process is tedious and time consuming.

I’ll introduce you to an innovative one-size-fits-all technique using object-oriented ABAP (ABAP Objects). No matter how often your business requirements change, you can avoid changing the coding in your table interface class by building a filtering string, JavaScript functions, and a hyperlink string, as well as changing a data cell dynamically. This one table interface class fits all needs. This technique works for BW 3.x.

Jin Freda

Jin Freda has worked as BW and ABAP developer the past eight years for Becton Dickson (BD). All digital cockpits at BD worldwide use Jin’s innovative one- size-fits-all web table interface (in manufacturing, quality management, sales, and APO). The project Jin is currently spearheading is for IT finance digital cockpit using this interface. This was just successfully implemented in February 2007 and will be globally expanded soon.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.