2008 Mar 03 11:27 AM
Hi,
i'm using FM REUSE_ALV_GRID_DISPLAY and i'd like to change the default format (print format) of a report. Therefore, when the user presses the print button and the print alv list appears, the print format by default that the user would see, would be the one forced by code. Is this possible?
Thanks
Hi,
i'm using FM REUSE_ALV_GRID_DISPLAY and i'd like to change the default format (print format) of a report. Therefore, when the user presses the print button and the print alv list appears, the print format by default that the user would see, would be the one forced by code. Is this possible?
Thanks
2008 Mar 03 11:31 AM
Hi,
This can be possible if you can find out the code for that particular print button.
And you have to write your own logic.
Its comes under the Enhancements And Modifications.
HTH,
Regards,
Dhruv Shah
2008 Mar 03 11:35 AM
Hi,
Add this piece of code in ur program...
CALL FUNCTION 'SET_PRINT_PARAMETERS'
EXPORTING
LAYOUT = 'X_65_1024/4' "Format u need
DESTINATION = 'TEST'. "Output device
and in Ur ALV
data wa_print type slis_print_alv.
wa_print-NO_CHANGE_PRINT_PARAMS = 'X'.
call function 'reuse_alv..........
Exporting
............
...........
IS_PRINT = wa_print
...............
Cheers,
jose.
2008 Mar 03 11:44 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |