‎2009 May 25 9:04 AM
Hi,
In the spool when tried to view the spool details only 5 field details are getting dipslayed instead of 10.How to get the 10 field details.What is the issue.
I have used the code as
DATA : lc_valid TYPE c.
CONSTANTS : C_FLAG_OFF(1) TYPE C VALUE ' ',
C_FLAG_ON(1) TYPE C VALUE 'X',
c_mode type sycallr value 'CURRENT'.
data: v_set_print like pri_params.
v_set_print-paart = 'X_65_80'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
IMMEDIATELY = c_flag_off
MODE = c_mode
NEW_LIST_ID = c_flag_on
NO_DIALOG = c_flag_on
LAYOUT = v_set_print-paart
IMPORTING
out_parameters = wa_params
valid = lc_valid
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4
and then passing the wa_params value to FM job_submit.How to get all the fields.Please help
‎2009 May 25 9:10 AM
Set the paper format to X_65_255.
*v_set_print-paart = 'X_65_80'.
v_set_print-paart = 'X_65_255'.Hope this will work.
‎2009 May 25 9:10 AM
Set the paper format to X_65_255.
*v_set_print-paart = 'X_65_80'.
v_set_print-paart = 'X_65_255'.Hope this will work.
‎2009 May 25 9:12 AM
Hi, Can you try like this, so that you will get all fields filled in WA_PARAMS
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
report = sy-cprog
no_dialog = 'X'
IMPORTING
out_parameters = wa_params
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
‎2009 May 25 9:20 AM
Hi,
I tried same as ur code
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
report = sy-cprog
no_dialog = 'X'
IMPORTING
out_parameters = wa_params
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
still am getting the required o/p.The value of LINCT is 65,LINSZ is 80 and PAART is X_paper in wa_params.Please let me know do i need to change anything.Please help
Edited by: saranya srithar on May 25, 2009 10:22 AM
‎2009 May 25 9:13 AM
use pattern to create the function module call in se38 transaction.
Your issue is not clear
‎2009 May 25 9:18 AM
I hink in the statement
v_set_print-paart = 'X_65_80'.
change the lenght and width
‎2009 May 25 9:22 AM
hi
go to sp02 .
and tick ur corresponding spool no.
and press shift + F4 ( display in maximum width)
. it will display all the columns.
regards
surender.s
‎2009 May 25 11:26 AM
Set the paper format to X_65_255.
v_set_print-paart = 'X_65_80'.
v_set_print-paart = 'X_65_255'.
Use the bellow function module for spool purpose:
GET_PRINT_PARAMETERS
regards,
Munibabu.K