cancel
Showing results for 
Search instead for 
Did you mean: 

Print Internal table (type TLINE) into Smartform

Former Member
0 Kudos

Hi guru,

in my custom report I read and modify in foreground by user a standard text, at end I have a internal table of type TLINE as in a example:

TDFORMAT TDLINE

Z2 |

Z2 |,,,,,,,,,,,,,,,,,,Facendo seguito a quanto convenuto verbalmente

I export this internal table in a smartform and I have created a loop with workarea of TLINE. Now my problem is: Which type test I must insert in internal loop for print only text with a correct style Z2 as example above:

Gentile AGOSTA MARIA MADDALENA

Milano, lì 03.06.2011

Rif.

Facendo seguito a quanto convenuto verbalmente

Thank you

Bye

Lorenzo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you could as well save your internal table to some text, making use of FM SAVE_TEXT.

And then use the INCLUDE statement in your form. In some cases thats easier.

Former Member
0 Kudos

Hi Florian, with your solution I have solved the problem.

Thanks

Byw

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

For printing only texts from your internal table,

Loop your internaltable and check for first and second TDFORMAT.

if both are same concatenate them.else add them as a seperate line.

for this you need to have a seperate internal table.

In your style create a paragraph format or character format for the text.

Jshree

Edited by: Jshree on Jun 6, 2011 7:05 AM

Former Member
0 Kudos

Hello

i think you should create as style in smartform in which you should create a paragraph which you want

within loop

Regards,

Abhishek