cancel
Showing results for 
Search instead for 
Did you mean: 

How To print Lineitems

Former Member
0 Kudos

HI Gurus,

Am developing a smartform for SD. I have only two different lineitems with the names MIU & MIU-111.

My requirement is to print the total count of 1st Line item in Quantity row as 4. (If MIU Has repeated 4 entries )

like wise the other line item should be printed as 5 or as per the invoice.( if MIU-111 has repeated).

how can i achieve the above requirement?. pls help me Gurus.

Thanks &

Regards,

D.BharathiRaja.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

U create two count variable for each of the line items and increment each item ur line item is accessed. i guess ur smartforms wud already be in loop for the line items so just include code lines for counting the variables and print it.

u cud also do one thing write a routine in ur form routines which loops on ur line items and gives u a count into some global variables then print these variables in the required text element.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use loop node and One number varaible for number of timesline item will display.

Regards

Jana

Former Member
0 Kudos

Hi,

can you pls eloborate what you said?. i am not able to understand.

Regards,

D.Bharathiraja.