on 01-22-2007 7:34 AM
the first: I create a Form, and add a graph window, using color bitmap image, but it only looks ok in print preview, if I select print it, the form can't be print out.
If I delete this graph window, it can be ok in both print preview and print out. Could anyone can tell me the reason and how to print picuture?
the second: in MIGO receive goods of PO, if we select print box, when goods received, system will call form rountine ENTRY_WE01 in program ZSAPM07DR, and this program will use form WESCHEINVERS1 to print the receipt slip immediately without print dialog screen, user need not select a output device. Now I create a program and copy form rountine ENTRY_WE01, change print code use differnt form, I want to change the configuration in NACE, and let system call my program to print receipt slip, how can I print the slip using the right printer without dialog screen?
Hello,
As far as your second question is concerned, you have to fill in the associated values in the 'SSFCTRLOP' structure and the 'SSFCOMPOP' amd pass them to the smartform FM (in your driver program). See the 'SSFCTRLOP' structure.
<u>For Example:</u>
DATA: control type SSFCTRLOP.
DATA/: output type SSFCOMPOP.
control-device = / * printer name */
control-preview = 'X'.
then pass this local structure as a parameter to the form's FM. The exporting parameter for this is, 'CONTROL_PARAMETERS'
Similarly check the 'SSFCOMPOP' structure. The exporting parameter for this is, 'OUTPUT_OPTIONS'.
Hope it helps. Get back to me in case you go wrong.
Regards,
Shehryar Dahar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
r u using Script?
but u want... the dialog do not display am i right?
CALL FUNCTION 'OPEN_FORM'
EXPORTING
* APPLICATION = 'TX'
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMS = ARC_PARAMS
DEVICE = LVF_DEVICE
DIALOG = ' '
FORM = TNAPR-FONAM
LANGUAGE = NAST-SPRAS
OPTIONS = LVS_ITCPO
MAIL_SENDER = LVS_SENDER
MAIL_RECIPIENT = LVS_RECIPIENT
* MAIL_APPL_OBJECT = ' '
* RAW_DATA_INTERFACE = '*'
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC NE 0.
<b> DIALOG = ' '</b>
DIALOG = space
i hope it works
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
nooooo bin,,
these archive a params are for archieving purpus...but you want to print am i right....
then give the values in
<b>OPTIONS..</b>
OPTIONS-TDDEST
OPTIONS-TDPRINTER
OPTIONS-TDNOPREV........so on....
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.