cancel
Showing results for 
Search instead for 
Did you mean: 

problem with printing multiple items in variable window

Former Member
0 Kudos

Hi abapers,

i am facing problem in invoice printing that contain multiple line items.I have to print three line items in main window and in other variable window i have to print the same line items along with quantity and material description.

For that i have created three variables to store lineitems data and before the printing goes to next page, i am calling that variable window.But in output it is printing only one item.While debugging, in print program all 3 variables are populating with correct data.Please give me solution for this one.

Message was edited by:

deepak patil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

variable window size is static..

Make sure the length is enough

Former Member
0 Kudos

HI,

wat i understand is u r trying to loop at a variable window .but tht is not suggestable.

write a loop in program lines. read the values in to different variables and the try printing them as text elements that will solve the problem.

or else in other way use a template and that can also solve the problem.

Former Member
0 Kudos

Hi,

Actually we have used the same logic. and it is also not problem with space.

can you give more details regarding template.

thanks

ashish

Former Member
0 Kudos

template is other way of approaching the concept of table but here we dont have the default header footer and main area.

u can define as many number of rows as possible and columns too.

define as many no. of row types as possible. and start including them.