Skip to Content
avatar image
Former Member

generate smartform for multiple customers

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 25, 2008 at 12:03 PM

    Hi,

    In the main window ,

    under the table, loop the customer table.

    Regards,

    Raj.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 25, 2008 at 12:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 25, 2008 at 12:19 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded