ALV tutorial 03 – ICON column

SAPIn this example I’ll show how to add a column which will hold a user defined icon to the ALV grid. Continue reading

ALV tutorial 02 – PF-STATUS, GUI title and exception lights

SAPIn this step we’ll customize our ALV with custom PF-STATUS (buttons, menu, …), GUI title and we’ll also add a column with exception lights (Red/Yellow/Green) Continue reading

Add leading spaces to a string in ABAP

SAP

If you have a requirement where some strings need to be aligned at some column and these strings have a common label so the output is two columns where the label is in the first column, values in the second, you can use the following piece of code as an example to create such list. Continue reading

Automatic assignment of INCMD groups to models in APO

SAP

It is possible to maintain interchangeability groups in APO manually with transaction /INCMD/UI but this is not practical in case we would like to automate some actions like assignment of INCMD groups to models.

Continue reading

How to log events in ABAP using application log with additional (CONTEXT) fields

SAPIn this step-by-step guide I’d like to show you how to create an application log which can be easily extended with your extra fields containing additional information.  Continue reading

How to display a popup with items for selection in ABAP

SAPIn case you’d like to display a popup with list of values where user can select one or more values than follow the code snippet
Continue reading

Events in database table maintenance view

SAPI needed to create a database table where there will be no key fields (all fields to be editable during table maintenance) but at the same time I needed some easy way how to identify each table row with unique key. And I found a solution using automatically generated GUID during row addition handled by maintenance view events. Continue reading

How to find transaction for a maintenance view

SAPSometimes I have a maintenance view and I need to find out if a transaction is assigned to it. It is usually not possible to find it with “where-used” list. So another approach needs to be used Continue reading