on 08-27-2008 7:11 AM
Hi Everybody
can we over write sy-primm. after printing the spool i want to delete the spool. if possible plz do provide code.
thnx n Regards
Fozia
Hi
add following codes then check
TABLES: pripar_dyn.
DATA: params LIKE pri_params,
days(1) TYPE n VALUE 2,
count(3) TYPE n VALUE 1,
valid TYPE c.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = 'LP01'
copies = count
list_name = 'TEST'
list_text = 'SUBMIT ... TO SAP-SPOOL'
immediately = 'X' " Print Immediatlly
suppress_shading = 'X' " Normal Dot Matrix Printing without shading/color
release = 'X' " Delete After Print
new_list_id = 'X'
expiration = days
line_size = 79
line_count = 23
layout = 'X_PAPER'
sap_cover_page = 'X'
cover_page = 'X'
receiver = 'ABAP'
department = 'System'
no_dialog = ' '
IMPORTING
out_parameters = params
valid = valid.
Vikas Rao
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thnx for the reply i have written a demo code
TABLES: SYST,
PRIPAR_DYN.
WRITE 'THIS IS THE FIRST LINE'.
WRITE / 'THIS IS SECOND LINE'.
WRITE: / 'THIS IS THIRD LINE',
' I AM ALSO 3RD LINE'.
syst-PRIMM = 'X'.
PRIPAR_DYN-primm2 = 'X'.
after setting the print immediate option enabled i have to set print immediate option manually it is not setting as default.
thnx n Regards
Fozia
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
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.