on 08-27-2008 6:21 AM
Hi,
The scenario is, custom smartform is called from a program.customer number is a selection parameter. For individual customer number, the form is getting printed.
But the requirement is, if range of customers is taken, individual receipt for each customer is to be printed.
How to handle this ? Please guide.
Rgds,
khadeer.
Khadeer,
You have to call the fucntion module of the Smartform in the loop to print n number of outputs.
Example.
Get the data in internal table .
and
Loop at internal table
pass the relavent data to the table type/ table used in FM Of smartform.
Call the function module of smartform
Endloop.
For each customer everytime the function module is called and the output will as per your requirement.
Regards...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In driver program create the selection parameter
for your customer number.
Then call the ssf_function_module_name..
call the function module which has been generated
by the smartform.
Create a smartfrom in this form interface
declare the internal table.
In main window use loop at
create a command node for the individual receipt
for each customer give the condition.
Regards,
sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi khadeer basha
suppose in input now you are having parameter, for range use Select-options.
then select the customer from customer table based on input selct-option
then you have to call the SSF_FORM_NAME (smartform callable statement) with in that internal table
regards
Deva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.