on 07-09-2007 12:10 PM
Hi,
I have one doubt in Smartforms, I want to print customer details along with the orders for the particular customers. I want to print each customer in different page. How can I do this. When ever new customer number comes it should print in a new page. Can any one help me in this regard.
Thank you
Rajesh
Hi..
U need to run the finction module generated in a loop.
Take the header data into a table and loop it before the function nodule..
Try to declare table types for both the header and details data..
Or refer to SF_EXAMPLE_03..
it shows how to use the select-options in smartforms..
If u are not clear i will send u the code..
Reward points if useful..
Thanks
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the internal table<b> Customer</b> will have customer list .
<b>P_form</b> is the form of the customer details along with the orders for the particular customers
loop at customers
call function 'SSF_FUNCTION_MODULE_NAME'
exporting formname = p_form
* variant = ' '
* direct_call = ' '
* importing fm_name = fm_name
exceptions no_form = 1
no_function_module = 2
others = 3.
endloop.
reward points if it is usefull ....
Girish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.