on 2010 Feb 03 11:01 AM
Hi All,
We have developed one report which displays process order progress report. There is printing issue related to this report. In the print preview details can be seen clearly but as I click print, the system just print the single line.
I tried printing of this report by changing the format as "X_65_1024/4", it is printed correctly.
Just wanted to know the possible reason why this value got changed automatically? Also how can I reset this value default for the particular user.
Please provide inputs.
Regards,
Sachin
Hi,
Use GET_PRINT_PARAMETERS function module to get the default print setting. If you want to change format you can change.
Please see the example code.
DATA: VAL,
PRIPAR LIKE PRI_PARAMS,
ARCPAR LIKE ARC_PARAMS.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
LAYOUT = 'X_65_255'
LINE_COUNT = 65
LINE_SIZE = 255
IMPORTING
OUT_PARAMETERS = PRIPAR
OUT_ARCHIVE_PARAMETERS = ARCPAR
VALID = VAL.
NEW-PAGE PRINT ON NEW-SECTION
PARAMETERS PRIPAR
ARCHIVE PARAMETERS ARCPAR
NO DIALOG.
IF VAL <> SPACE.
LOOP AT IT_DETAILS.
......
ENDLOOP.
ENDIF.
NEW-PAGE PRINT OFF.
Thanks
Abhijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.