on 07-29-2008 8:09 AM
Hi All,
My requirement is to pass page format from SE38,
instead of assign in smartforms.
because here two devise LP01 and LP02.
LP01 for Laser printer
and LP02 for dot matrix printer.
It is correctly print in LP02, because for that page format is correct but when i m print using LP01 page is wide so it will take so many pages and output is not correct.
so how to pass parameter for page format from SE38 to smart form.
I hope u all understand my problem.
pls do the needful.
thanks & rgds,
Arpit Shah
Hi ,
in Smartform we can get multiple page formats for this you need to do setting in Tcode SPAD .
regards
fareed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
populate
st_output_options type SSFCOMPOP
st_output_options-tdprinter = LP01 or LP02
as per ur requirement and pass it to the smartform
CALL FUNCTION v_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = st_control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = st_output_options
USER_SETTINGS = space
TABLES
IS_LABELS = IS_LABELS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
FORM INETRFACE of the smart form->
Output options is of type SSFCOMPOP where we can set the page format option dynamicaly or
In the SE38 program, try to declare a structure of type SSFCOMPOP and populate the value dynammicaly for page format and pass the same to the FM of the SF when called in the program.
Or we can apss the
in the SSFCOMPOP->
TDDEST type RSPOPNAME in this we can give the page format and pass the same to the output options.
check this table for more-
TSP03 (Spool: Name of output device)
Thanks & Regards,
Chandralekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why do u need a different page format?
try this...
create two pages...one for LP01 and another for LP02
double click on the page for LP02 and goto output options. Here select the radio button for landscape.
basic Logic
check if tdprinter = lp01
call page 1
elseif tdprinter = lp02
call page 2
hope it solves ur prob
Arpit,
as far as my knowledge it is not possible.we cannot assing page formate dynamically.
i want if LP01 then page should be print in Landscape mode and if LP02 then it will print in Potrait mode.
how to do it.
for this you may assing two form for respective transaction lp01 and lp02.
i can stay along with you untill you get your answer for assing dynamic page format.
Amit.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
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.