cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms issue with displaying line items

Former Member
0 Kudos
224

Hi All,

I had a requirement where in which in the main window Five line items and then the corresponding values of line items below in the same main window.

Example :

01 item1_description value1 value2

02 item2_description value1 value2

03 item3_description value1 value2

04 item4_description value1 value2

05 item4_description value1 value2

01 Jass value1 value2

02 Jass value1 value2

03 Jass value1 value2

04 Jass value1 value2

05 Jass value1 value2

if the value increases they go to next page the number of line items displayed will have the corresponding values to

be printed in the same page and in the main window.

Please help me how to do this.

Thanks & Regards,

Durga Naresh

Edited by: NareshBD on May 12, 2011 10:58 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I sense this will be either impossible or quite hard to accomplish.

What i dont understand is: why dont you go for the approach to print all you info regarding one line item into ONE line like:

01 item1_description value1 value2 01 Jass value1 value2

02 item2_description value1 value2 02 Jass value1 value2

03 item3_description value1 value2 03 Jass value1 value2

04 item4_description value1 value2 04 Jass value1 value2

05 item4_description value1 value2 05 Jass value1 value2

that again would make things very easy.

Former Member
0 Kudos

Thanks for the reply

But the client requirement is like that, is there any solution and

one more thing how can we restrict number of rows to display per a page in a table.

if my internal table has 20 records and i want to display 5 per page how to do that

Edited by: NareshBD on May 12, 2011 11:21 AM

Former Member
0 Kudos

Hi Naresh,

In global data better create one variable (Eg. Count). in that table main area under the cell create one prg lines and do the increase counter type the coding.

clear flag.

count = count + 1.

if count = 5." Suppose per page 5 lines item means

flag = 'X'.

endif.

then create command window for goto new page and also check in condition tab flag = 'x' .

Regrds,

Dhina..

Answers (0)