This is a sample sales report that offers solutions for various ALV reporting needs.
- Report code is completely portable. It does not require any structure, screen or text elements.
- Using dynamic SQL strings, operations such as summing, averaging, calculating maximum or minimum values based on grouped fields can be performed, and the results are displayed in dynamically generated ALV columns.
- Drill-down capable pivot tables can be created.
- Grid, list, and tree views can be selected.
- Filtered display variant data can be exported to Excel.
- Data can be divided into separate Excel worksheets.
- Variant descriptions formatted in HTML can be stored and added in the body of the sent email.
Complete source code : https://github.com/sozergul/SAP-ALV-Pivot