Anybody who has developed applications using SAP WD ALV component SALV_WD_TABLE, know’s how many lines of code is required to configure ALV to specific requirements. There’s getting instance of ALV model and then calling all sort of API methods to fine tune standard ALV like- sequence the columns, hide, rename the column header, set lead selection behaviors, set column width, editable ALV or not, set cell editors and many more. For complex scenarios - set cell variant, map column properties with other field value(from context).
Now think of a solution which provides an ALV configurator which can be used to do all the above configurations so that developer doesn’t have to write that boilerplate code. The whole functionality is delegated to an external application. Your ALV instance automatically adjusts itself to the values set in the configurator.
Let’s say during UAT phase of your project - user wants to re-sequence the columns and also update column headings - you just have to make changes in the configurator. This can be done by functional consultant on the project - no developer involved - no source code change.
The architecture of this solution supports abstracting the common ALV functions like - showing record count, custom excel export, etc so that they can be easily provisioned.
Here’s the overview diagram of the solution.
With all said - the implementation is of proto-type (beta) quality and not any where near to production quality. I am making this open source on GITHUB so as to involve WD ABAP community to contribute, provide feedback/suggestions and use freely.
Please raise github issues on the repository for better tracking.
You can find more details in the github repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |