2011 Jun 17 9:55 AM
hi experts,
i used REUSE_ALV_COMMENTARY_WRITE to trigger the top of page event in alv grid display . i am unable to print the seperators Like semicolons in the same column.
my o/p.
Date : 17.06.2011
Total No. of Records Selected : 33
desired output :
Date : 17.06.2011
Total No. of Records Selected : 33 .
i tried with concatenate option but it is not working. please help me.
Thanks&Regards,
raja
hi experts,
i used REUSE_ALV_COMMENTARY_WRITE to trigger the top of page event in alv grid display . i am unable to print the seperators Like semicolons in the same column.
my o/p.
Date : 17.06.2011
Total No. of Records Selected : 33
desired output :
Date : 17.06.2011
Total No. of Records Selected : 33 .
i tried with concatenate option but it is not working. please help me.
Thanks&Regards,
raja
2011 Jun 17 10:00 AM
1) there is no diff in your o/p and desired output :)..
if you want semi colons in same positon, pass the column position in the write statament.
like write : 'Date' , 13 ':' ,15 '17/06/11'.
2011 Jun 17 10:10 AM
hi ,
i think we can't use write statement to print on top-of-page in alv_grid_dispaly.
regards,
raja.
2011 Jun 17 10:13 AM
hi ,
WRITE sy-datum TO wf_dtl DD/MM/YY.
CONCATENATE 'Execution Date :-'(023) wf_dtl INTO wf_nhd.
ls_line-typ = 'A' .
ls_line-info = wf_nhd .
APPEND ls_line TO lt_top_of_page_no_sel.
CLEAR ls_line.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
i_logo = 'KAL1_LOGO'
it_list_commentary = lt_top_of_page_no_sel.
regards
Deepak.
2011 Jun 17 11:14 AM
hi deepak,
thanks for your response, i tried with your code still it is not working.
regards,
raja
2011 Jun 17 10:25 AM
Hi,
I dont see any difference between the o/p and the desired output.
Let me know whats the difference.
Thanks & Regards,
kruthik
2011 Jun 17 11:12 AM
sorry
the desired output :
Date : 17.06.2011
Total No. of Records Selected : 33 .
2011 Jun 18 5:50 AM
you can use html header to create one html table.
have a look at BCALV_TEST_FULLSCREEN_HTML report and html tables.
or you can use 255 ascii character (ALT+ NUMPAD 255) as a separator:
LS_LINE-INFO = 'Date : 17.06.2011'.
APPEND LS_LINE TO LT_TOP_OF_PAGE.
it works for me.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |