on 12-31-2008 8:45 AM
I schedule a job in backgroung proces(smartform).
Whwn i click on the spool to see the output , there is error "NO FRONTEND AVAILABALE" .
how can i see my output of the back ground job (smartforms).
i am executing the process like
1. tcode run
2. F9 ( FOR BACKGROUND PROCESS)
3. se37 to see the job proceesing
4. click on spool
5. but no ouput i can see
i don't know why??
Hi Ajay,
Please search form with '
Mulitple Purchase order Print in SAP Script'
the thread shows below.
If your requirement is to print multiple PO's then i think you need to develop a Program .
In that in your final internal table you can loop it and print...
And also these setting need for background job.
If you have smartforms you can set following parameters
CALL FUNCTION LV_FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = CONTROL
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = OUTPUT_OPTIONS
USER_SETTINGS = ' '
VEHICLE = VEHICLE
LV_BAR = LV_BAR
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
IT_FINAL = IT_FINAL
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CONTROL-PREVIEW = 'X'. "Preview the output of Smartform
CONTROL-NO_DIALOG = 'X'. "Don't show Dialog
OUTPUT_OPTIONS-TDDEST = 'X' or space. "Spool: Output device(depend on requirement)
OUTPUT_OPTIONS-TDNOPRINT = ' '. "No printing from print preview
OUTPUT_OPTIONS-TDCOPIES = 1. " number of print copies
OUTPUT_OPTIONS-TDIMMED = 'X'. " Print Immediately (Print Parameters)
OUTPUT_OPTIONS-TDDELETE = 'X'. " delete the request after printing
OUTPUT_OPTIONS-TDLIFETIME = '5'. " spool retention period
OUTPUT_OPTIONS-TDCOVER = ' '. " no cover print
If you want immediate output while setting background set printer property time of print "Immediate"
Hope this will help to you.
Thanks,
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
are you able to see it foreground. if yes can you please post your code..
thanks,
anupama.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.