Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Print control in Smart forms?

Former Member
0 Likes
821

Dear All:

I have a question in my SMARTFORM page development that i want to calling the smartform many times in my program.

1.IN R/3 RELEASE VERSION: 4.7, it can call Function module--> SSF_OPEN and SSF_CLOSE using parameters of control_parameters to control printing spool.

2.But IN R/3 RELEASE VERSION: 4.6C, the Function module--> SSF_OPEN is doesn't have parameters of control_parameters.

Does anyone know how to control the printing spool in VERSION:4.6C and show me an example?

Any help whould be highly appreciated.

Many thanks in advance.

Regards,

Elvis

2 REPLIES 2
Read only

Former Member
0 Likes
433

Dear All:

I am glad to sloved this question by myself.

IN R/3 RELEASE VERSION: 4.6C ,if you want to control the printing spool.You can doing by follow step:

1. You can define parameter like this DATA: control_parameters TYPE ssfctrlop.

2. Then set the schema for control_parameters-no_open and control_parameters-no_close.

First form output:

control_parameters-no_open = ' '.

control_parameters-no_close = 'X'.

Additional output:

control_parameters-no_open = 'X'.

control_parameters-no_close = 'X'.

Last output:

control_parameters-no_open = 'X'.

control_parameters-no_close = ' '.

Read only

Former Member
0 Likes
433

Hi all,

I use the code in my program for print the smartform several times and it is ok,

Thanks,

Best regards,