cancel
Showing results for 
Search instead for 
Did you mean: 

to skip lines in the template and print a dynamic value

Former Member
0 Kudos

I have a template of 14 lines(constant). This template is inside a loop from which data is populates for the entries in the template. i want to display the first record in the 1st row . second record in 7th row. Third in 13th and Fourth in 14th. There can be atmost four records or less than that. kindly help me to solve this problem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mullai,

Since it is in loop, depending on the sy-tabix we can print the four records

in the corresponding 1st, 7th,13th and 14th and give the condition like

tabix = '1', tabix = '2', tabix = '3', tabix = '4' in those table lines.

hope u understadn the logic. if u have any question revert back..

Thanks

Dinakar.

Former Member
0 Kudos

actually when it comes inside the loop once, it contains only one record at a time .so it prints the first record and all the empty lines in the template and for the next time again it prints the second record along with all empty lines and so on..

Answers (0)