cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Printing multiple lines of line item in a smartform?

Former Member
0 Kudos

Hi Experts,

I have a query regarding printing multliple line items in a smartform. In this form i dont have control on the font size because the client is using some generic type format to print the data in EPSON LQ 590.

Here this generic type drivers, it has his own default font.

If i print using the normal EPSON LQ 590 drivers, alignment is perfectly fine. But in generic case its totally different.

My query is in my item row there are 7 columns. If one of the column exceeds the space which i have assigned for that particular cell, it should go to next line automatically. How should i do this?

Then there should be a line space between 2 rows of data. How should i do this?

Please help me on this.

Another query is date is getting displayed as 19.07.2009, due to the space problem in that particular cell i need to display as 19.07.09. Please tell me how should i do this also?

Waiting for the reply.

Thanks and Regards,

Abdur Rafique

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Use smartstyles for the same to mke sure it goes into next line. Also you can set space between 2 lrows to one line.

For the date issue..use the following piece of code...



DATA: w_date TYPE sy-datum,
            w_char TYPE char8.

CONCATENATE w_date+6(2) w_date+4(2) w_date+2(2) INTO w_char SEPERATE BY '.'.