on 12-30-2007 6:51 AM
Hi Experts,
I need one help regarding the print layout set while excuting program to print.
One Pop-Up comes where we used to give the Printer name , Output Options etc....
Requirement is : not to give this pop-up and pass these user-options and printer name directly in program.
In short i want to know how to use Control Prameters and user-options in Program.
Plz. do help.
Regards,
Rahul Srivastava
DATA :cs_composer_param TYPE ssfcompop
cs_composer_param-TDDEST = 'Printer name'.
cs_composer_param-TDCOPIES = 'No of copies'
specify these fields and pass cs_composer_param to 'OUTPUT OPTIONS' while calling the smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pass the following to your smartform function module control parameters.
CON_PAR-in-dialog = ' '.
CON_PAR-in-tddest = 'LOCL'
CON_PAR-dialog = ' '.
CON_PAR-tdnewid = ' ' .
CON_PAR-tdpreview = ' '.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you need parameter " CONTROL_PARAMETERS"
CALL FUNCTION fn_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
CONTROL_PARAMETERS-in-dialog = ' '.
CONTROL_PARAMETERS-in-tddest = 'PRINTER'
CLEAR CONTROL_PARAMETERS-dialog.
CLEAR CONTROL_PARAMETERS-tdnewid.
CLEAR CONTROL_PARAMETERS-tdpreview.
With the function module LOAD_PRINT_PARAMETERS you can get the information from the user (printer), but it must be customized.
Hope you can use it,
Manuela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.