on 04-11-2006 3:37 PM
LS,
Using a function module a programm is archiving documents. Every time the programm have run a spool-job is created but I don't want this. I tried some ITCPO settings but non of them worked. Can someone help me?
Best Regards
Rob Bijsterveld
Rob,
i think it is not related to function module what ever calling but after this function module u r program may generating the spool request check the code once other wise just doble click on the function module and check the code in it whis is generating this spool request
if u find the code just comment those lines of code and activate it again
Regards
naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rob,
What is the Fm you are using?
I think one of the FM interface parameters will have a parameter for your requirement.
REgards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The first one is:
CALL FUNCTION 'OPEN_FI_PERFORM_00002310_P'
EXPORTING
I_BKORM = T_BKORM
I_KOART = 'D'
I_KNA1 = KNA1
I_KNB1 = T_KNB1
I_LFA1 = LFA1
I_LFB1 = LFB1
TABLES
T_FIMSG = t_fimsg
CHANGING
C_FINAA = finaa
C_ITCPO = itcpo
C_ARCHIVE_INDEX = h_archive_index
C_ARCHIVE_PARAMS = h_archive_params.
The second is:
call function 'OPEN_FORM'
exporting
application = 'TX'
archive_index = H_ARCHIVE_INDEX "RTB-08072005+
archive_params = H_ARCHIVE_PARAMS "RTB-08072005+
device = 'PRINTER'
dialog = ' '
form = wk_form
language = he_langu
options = itcpo "functie voor direct printen
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT = ITCPP "RTB-08072005+
exceptions
canceled = 01
device = 02
form = 03
options = 04
unclosed = 05.
Kind regards,
Rob
FORM FILL_ITCPO.
clear itcpo.
itcpo-tdimmed = rimmd. "parameters voor direct printen
itcpo-tddelete = '*'.
itcpo-tddest = 'P942'.
Controle on-line of achtergrond verwerking
if sy-batch is initial.
Indien on-line, alleen printen met print preview
itcpo-tdarmod = '1'.
itcpo-tdpreview = 'X'.
else.
Indien achtergrond verwerking alleen archiveren
itcpo-tdarmod = '2'.
itcpo-tdpreview = ' '.
itcpo-tdnoprint = 'X'.
endif.
itcpo-tdcopies = '1'.
itcpo-tdnewid = ' '.
itcpo-tddataset = 'Z_F01'.
itcpo-tdsuffix1 = 'P942'.
itcpo-tdsuffix2 = t_knb1-bukrs.
itcpo-tdlifetime = '7'.
itcpo-tdcover = 'D'.
ENDFORM.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.