Application Development 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: 

In alv , how can i display message like 'NO records in the table'in spool

Former Member
0 Kudos

When there are no any records , i have to display a message in spool like 'No records exist'.

how can i do this?/

Thanks,

Suresh.

2 REPLIES 2

Former Member
0 Kudos

hi check this..

if the final internal table is empty then you will show like this..

if not it_final[] is initial.

call function reuse_alv_list_display.

elseif.

message s000 with 'no data available for the selection'.

endif..

regards,

venkat

Former Member
0 Kudos

Hi,

check this link

[https://www.sdn.sap.com/irj/sdn/wiki]

reward points if helpful.

Thanks

Prashanth G