cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms

Former Member
0 Kudos

Hi,

I am working on a smartform program.Here the o/p looks like this.

item material/description quantity

**text**

10 YEAJ44DR750G AC Chiller 1

20 2286 Spring Hel compr 1

Now I want to add some text under material/description.But this text should not repeat after each line item.It should be printed only once under material/description column as shown in the example.How can I do this.Should I create a template for this?

Accepted Solutions (1)

Accepted Solutions (1)

valter_oliveira
Active Contributor
0 Kudos

Hello.

Are you writing those line items in MAIN window, inside a Table? If yes, just put that text in the header block of the table. If I understood you right, you want the text to appear before the line item appear, and just once?

If you want it to appear once, at the end of the table, just use section footer of the table.

Best regards.

Valter Oliveira.

Answers (2)

Answers (2)

Former Member
0 Kudos

data <f1> type string .

<f1> = 'TEXT".

after printing clear the variable...........

use this field in editor &<f1>&

try this....................

Regards

Anbu

Former Member
0 Kudos

hi

if u r using the internal table events to the internal table u ve assigned to the window .

then plz use that events in the key feild of internal table in the program.

for example..

data: begin of itab occurs 0,

vbeln type vbeln, " this becomes the key feild of itab

ernam type ernam,

end of itab.

loop at itab.

at end of vbeln.

...........

..........

end at.

endloop.

plz donot use this internal table events on the "ERNAM.

becoz this is not the key feilds.

otherwise assign a sructure like itab

do the operation.. in this.

agan assign it to itab..