Category Archives for ABAP

SALV hide field/column

The SALV hide column/field or cell functionality is much the same as changing the header text you simply use the column variable and set_visible to false to hide it. If you install the example SALV report

Continue reading

Set SALV color values

The below ABAP code uses the CL_SALV_TABLE class to create an ABAP ALV report and use the SALV color options to set the row, column or field colours. The report first selects data from database table SFLIGHT

Continue reading

Stop SAP ABAP parameter values converting to uppercase

You may have noticed that with a standard ABAP parameter which is type char/text/string always converts the entered value to uppercase. So if the user enters the text in Uppercase, lowercase or a mixture

Continue reading

BSEG select performance improvements

If you are trying to select document number details (i.e. BELNR) from table BSEG based on customer number (i.e. KUNNR) you are going to find the performance of this to be very slow and inefficient. You

Continue reading

SALV_DEMO_TREE_METADATA

SALV_DEMO_TREE_METADATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Check out the submitted Contribute related to this

Continue reading

SALV_DEMO_TREE_SELECTIONS

SALV_DEMO_TREE_SELECTIONS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Check out the submitted Contribute related to this

Continue reading

SALV_DEMO_TREE_SETTINGS

The report SALV_DEMO_TREE_SETTINGS demonstrates the SALV TREE functionality cl_salv_tree (Fullscreen Tree) with a focus on setting a number of specific properties of items and nodes

Continue reading

SALV_DEMO_TREE_SIMPLE

The SALV_DEMO_TREE_SIMPLE report demonstrates the basic usage of the Tree in ALV OM functionality implement by method cl_salv_tree (Fullscreen Tree, Tree) Note

Continue reading

SAP date_after_range error

If you are using SAP functionality to check a date, for example maybe you are using the below function module to check if a date is a working day or not you may get the date_after_range error.

Continue reading

ABAP predefined data types such as Char, Date, Time, integer

Simple ABAP code to demonstrate the ABAP predefined data types such as Char, Date, Time, integer. Note you would usually have all the WRITE statements after all the data declarations but just makes it

Continue reading
1 2 3