Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

issue in using REUSE_ALV_COMMENTARY_WRITE

Former Member
0 Likes
1,007

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

7 REPLIES 7
Read only

Former Member
0 Likes
950

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'.

Read only

0 Likes
950

hi ,

i think we can't use write statement to print on top-of-page in alv_grid_dispaly.

regards,

raja.

Read only

0 Likes
950

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.

Read only

0 Likes
950

hi deepak,

thanks for your response, i tried with your code still it is not working.

regards,

raja

Read only

former_member1125862
Participant
0 Likes
950

Hi,

I dont see any difference between the o/p and the desired output.

Let me know whats the difference.

Thanks & Regards,

kruthik

Read only

0 Likes
950

sorry

the desired output :

Date                                       : 17.06.2011 
Total No. of Records Selected              : 33 .

Read only

Former Member
0 Likes
950

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.