cancel
Showing results for 
Search instead for 
Did you mean: 

generate smartform for multiple customers

Former Member
0 Kudos

Hi all,

I have to generate an output letter for each customer using smartform .In the report program I am fetching the customer data and I am populating the data into an internal table say ts_customer. i.e ts_customer will contain the data of all the customers in case of multiple customer output. Suppose ts_customer contains 3 records corresponding to 3 customers.But when I am executing the program only the smartform output corresponding to the first customer is getting displayed i.e only one page is getting displayed.As of now I am looping the table ts_customer in the report program. Is it possible to loop the table ts_customer from within the smartform so that the letter corresponding to each customer will be displayed.

Thanks & Regards,

Neethu.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I am calling the smart form Function inside the loop of table ts_customer . But My requirement is smart form should be generated for all the customers . I mean the same page layout should be used

with different values of the customers .

Thanks & Regards,

Neethu.

Former Member
0 Kudos

you are looking at the print preview

when you hit back does th program run again?

Former Member
0 Kudos

Hi,

it is better that u have to handle from the program.

call the function module,

At new customer,

and call smart form,

disable the option Print preview, using output options

endat.

with Regards,

Kiran.G

Former Member
0 Kudos

Hi,

In the main window ,

under the table, loop the customer table.

Regards,

Raj.