cancel
Showing results for 
Search instead for 
Did you mean: 

Display msg after tables entries

Former Member
0 Kudos

I have an internal table LIPS-vbeln ,, LIPS-erdat ,, lips-lfimg.

Say if it has 4 row of data then after 4 rows it should print a msg as 'End of entries'

If it has 10 the same thing should happen after 10 lines.

How can i do this ?

Thanks in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks Narasimha that solved my problem

former_member195698
Active Contributor
0 Kudos

You could have done that after your ENDLOOP statement. No need of checking the last row.

former_member195698
Active Contributor
0 Kudos

What do you mean by 'after 4 rows'.... what exactly is your requirement?

When is the event triggering the printing.....

Simha_
Employee
Employee
0 Kudos

Hi,

Just use decscribe statement do read the number of entries in the internal table.

While looping u can check if it is the last row, then u can display a message.

Chers,

SImha.