Category Archives for ABAP

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

Email ABAP report PDF

The below code to demonstrates how to email ABAP report PDF. It generates an ALV output of personal numbers (PERNRS) and then converts this to a PDF document. Its then sends an external email with the

Continue reading

Use logical database selection screen ABAP Code

Simple ABAP code to demonstrate how to manipulate a logical database selection screen which is assigned and setup within menu option Goto->properties. This example SAP ABAP HR report implements the

Continue reading

CL_SALV_TABLE example

Using CL_SALV_TABLE class to create a very simple ABAP ALV report that selects data from database table SFLIGHT and displays it to the user as an ALV grid via the cl_salv_table=>factory method. This

Continue reading

ABAP SUBMIT to execute second SAP report

Below is example code snippet to use the ABAP SUBMIT statement within your SAP report programs so that you can execute a second report with the required values. And control whether the process flow then

Continue reading

ABAP to populate SAP table

As discussed in the previous post there are two basic ways you can add data to an SAP database table, manually using standard SAP transactions or via ABAP code. In that post, we have already discussed

Continue reading

Save layout ALV button missing

If you have implemented your SAP ALV report and all works fine apart from the Save layout ALV button, you can set filters to hide columns etc but you are unable to save this layout as a variant for future

Continue reading