cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms: Printing Selective Pages

Former Member
0 Kudos

My smartform have 5 pages. My aim is print selective pages (ie page 1-3).

In the global definition -> initialization, i wrote the statement below:

OUTPUT_OPTIONS-TDPAGESLCT = '1-3'.

My problem is all 5 pages are still being printed out instead of page1 to page3. Please advice.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

With the specified way , the condition cann't work.Once check it.

In the generated FM you have parameter OUTPUT_OPTIONS-TDPAGESLCT, which is for "Pages selected for printing".

You have to call FM 'SSF_FUNCTION_MODULE_NAME' to get the generated FM name, then call this FM dynamically with the mentioned parameter.

Reagards,

Shiva Kumar

Answers (1)

Answers (1)

Former Member
0 Kudos

HI YTL.

In the driver program

DATA : output-options type ssfcompop.

OUTPUT_OPTIONS-TDPAGESLCT = '1,3'.

Regards,

Sravanthi