on ‎2009 Sep 12 6:30 AM
Hi Experts,
When I am displaying Smart forms, an automatic popus is getting displayed which asks for current Printer.I am using LP01 as default printer.Can I hide this popup so while the user executes the program,he can directly view the Report screen.
regds,
Sam.
Request clarification before answering.
DATA : LF_FORMNAME TYPE TDSFNAME , " Smart Forms: Form Name
LF_FM_NAME TYPE RS38L_FNAM. " Name of Function Module
data : WA_CPARAM TYPE SSFCTRLOP,
WA_OUTPUT TYPE SSFCOMPOP.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = LF_FORMNAME
IMPORTING
FM_NAME = LF_FM_NAME.
WA_CPARAM-PREVIEW = 'X'.
WA_CPARAM-NO_DIALOG = 'X'.
WA_CPARAM-DEVICE = 'PRINTER'.
WA_OUTPUT-TDNOPRINT = 'X'. "No printing from print preview
WA_OUTPUT-TDDEST = 'LOCA'. "or 'LP01'. "Spool: Output device
CALL FUNCTION LF_FM_NAME
EXPORTING
CONTROL_PARAMETERS = WA_CPARAM
OUTPUT_OPTIONS = WA_OUTPUT
USER_SETTINGS = SPACE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.