Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Smartforms issue with displaying line items

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

Former Member
replied

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..

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question