Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ALV using SALV classes problem

$
0
0


Hi ABAP gurus,

I am in need of help, I have create my ALV using SALV classes which works fine.

But when i want to export to Excel by clicking Microsoft Excel button(Ctrl+Shift+F7) on the PF-Status, it will call Excel in SAP, The header title doesnt appear unlike traditional REUSE_ALV_GRID_DISPLAY. Am I missing any steps? I do not want to change all my code back to using the FM style.

My header already appeared in top of page, but it is missing in excel. Appreciate your help here.

 

My example code for top of page:

lo_h_label = lo_header->create_label( row = 1 column = 1 text = gv_title ).
lo_header->create_header_information( row = 1 column = 1 text = gv_title ).
lo_h_label->set_text( gv_title ).

lo_alv->set_top_of_list( lo_header ).
lo_alv->set_top_of_list_print( lo_header ).

 

Many thanks!

.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>