..3 Printing program

Use the code of the report Z_SUBTOTALS, but replacing value of the iv_formname importing-parameter for calling FM 'ZXLWB_CALLFORM':    

iv_formname  = 'ROWSPAN' .



Result of the printing program execution:


XLS SAP ABAP