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

ALV

Former Member
0 Likes
765

Hi.

what is the use of I_END_OF_LIST_GRID in FM REUSE_ALV_COMMENTARY_WRITE.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
724

hi

It is mainly used to write footer comments.

FORM END_OF_LIST.

DATA: list_end_of_list TYPE slis_t_listheader.

  • build footer comments

PERFORM BUILD_FOOTER USING list_end_of_list[].

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

  • I_LOGO = 'ENJOYSAP_LOGO' "optional

IT_LIST_COMMENTARY = list_end_of_list

<b> I_END_OF_LIST_GRID = 'X'.</b>

ENDFORM. "END_OF_LIST

<b>reward points for useful ans</b>

Regards

Aarti

5 REPLIES 5
Read only

sharadendu_agrawal
Active Participant
0 Likes
724

Simply its used to write the comments at the end of the ALV display. Generally it is used to write the coments or summary of the Display.

Cheers,

Sharadendu

Read only

Former Member
0 Likes
724

Hi Prajwal,

I don't think it is used anymore. It might have been used earlier, but if you go and look at the code of this FM you wil lfind the code is commented for this parameter.

Regards,

Atish

Read only

Former Member
0 Likes
724

hi,

The FM

'REUSE_ALV_COMMENTARY_WRITE'

is used to write headings and upload LOGOS in ALV GRID.

Only the parameters

it_list_commentary 
i_logo

is mainly used with this FM.

Regards

Reshma

Read only

Former Member
0 Likes
725

hi

It is mainly used to write footer comments.

FORM END_OF_LIST.

DATA: list_end_of_list TYPE slis_t_listheader.

  • build footer comments

PERFORM BUILD_FOOTER USING list_end_of_list[].

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

  • I_LOGO = 'ENJOYSAP_LOGO' "optional

IT_LIST_COMMENTARY = list_end_of_list

<b> I_END_OF_LIST_GRID = 'X'.</b>

ENDFORM. "END_OF_LIST

<b>reward points for useful ans</b>

Regards

Aarti

Read only

0 Likes
724

thanks to all.