cancel
Showing results for 
Search instead for 
Did you mean: 

Form Printing

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188005
Contributor
0 Kudos

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...

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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