cancel
Showing results for 
Search instead for 
Did you mean: 

Printing data by side of picture in smartforms

Former Member
0 Kudos

Hello colleagues:

I am having problems with the output of printing using pictures and data.

I have to print picture P1 (3cm heigh x 3 cm width) at left and by side of it a table with N columns and N rows related to picture in left. The first row should be at the same level of line wher picture begins. This way:

PIC1(begin)...CELL1.1....CELL2.1...CELL3.1

PIC1(........)...CELL1.2....CELL2.2...CELL3.2

PIC1(...end)...CELL1.3....CELL2.3...CELL3.3

after that will be a space or line and repeat the cycle with new picture and its corresponding data...

The problem I am having is because the picture is 3cm heigh, the

columns with data appears ONLY AFTER the last line picture has occupied.

This way:

PIC1(begin)...

PIC1(........)

PIC1(...end)

...................CELL1.1....CELL2.1...CELL3.1

...................CELL1.2....CELL2.2...CELL3.2

...................CELL1.3....CELL2.3...CELL3.3

I have tried include the picture printing inside the loop and outside. But anyway, smartforms always consider FIRST LINE FOR TABLE OUTPUT = THE LAST LINE OF PICTURE + 1, and ignores the space by right side of it !.

I was trying using layout and different two tables, but results are the same.

my data suorce are two itabs:

ITAB1:

PIC1 (pict names)

...

PICN

ITAB2

PIC1 (pic names)

CELL1.1

CELL1.2

CELL1.3...(data in cells for pic)

...

PICN

CELLn.1

...

The loops are in nodes like this:...

loop at ITAB1

-> print PICn

loop at ITAB2 where PICn = ITAB1-PICn

->print CELLn.1

->print CELLn.2

->print CELLn.3

endloop.

endloop.

Any help?

Thanks in advance.

Ibrahim Andres.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Ibrahim.

place two different windows. one for picture and one for table place it side by side.

if i understand your question this is the answer or else. sorry.

regards

Muthappan

Former Member
0 Kudos

Hi Muthappan :

thanks for quick response...

The problem is that inside the loop I cant direction the output to one window and to anotherone... The loop is inside the main window...

regards,

Ibrahim

Former Member
0 Kudos

Hi, i have the same need/problem...if anyone has a solution in order to print pictures in one cell and many text at his side.

thx very much

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

When you create table in form design . you can and additional event in conditional tab . There will be different check boxes in that screen. According to your requirement assign check the box.

It may be helpful . i am not sure exactly.

thanks&regards

venkat.

If it is helpful please reward it.

Former Member
0 Kudos

No, it's not that kind of thing. the problem is that i have a table with a line structure in wich the first cell contains a graphic, and in the second cell, multiple line of data that correpond to many lines of my internal table.

when you do such a table what happens : smartforms consider that the picture is one line, so you can have a picture, a text at his side, but i you write nother line of the table after this, it will be written after the end of the picture, and then you have a enormous blanck between the first line of text and the second one.