2019 Sep 25 10:43 AM
Hello,
what needs to be done to show an Icon in a maintenance dialog to visualize a certain Status? Is there somewhere an example I can look at?
Kind regards,
Thomas
2019 Sep 25 11:12 AM
Consider using table maintenance events to implement your own logic of converting a certain status to an icon: - SAP Help: Extended Table Maintenance Events
Dominik Tylczyński
2019 Sep 25 11:15 AM
Hello Thomas,
You can use FM ICON_CREATE to create the status icons in the maintenance dialog.
For this you need to write the custom code in the PAI event.
But when ever you regenerate TMG this custom code will be deleted and you need to add manually again.
Thanks
Sampath
2019 Sep 25 2:05 PM
Standard or custom dialog? standard or custom table/view?
If all is custom, one simple solution is to define a custom DDIC domain for the status, with output length 4 (or more if you want to display text and tooltip), define a conversion routine which converts the internal value of the status into the @XX@ code of the icon (run program SHOWICON to have the possible values).
2019 Sep 25 2:29 PM
Hi Thomas,
I think you will have to edit the generated screens and function modules to achieve the same, which is not recommended, because your changes will be overwritten during next regeneration. To show an icon, add an extra column and there you can set the same using module pool.
Regards GK