This website is not affiliated with, sponsored by, or approved by SAP AG.

Default print in ALV grid contents using OOP

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Default print in ALV grid contents using OOP

Postby magister » Fri Feb 14, 2014 9:57 am

Hi NeilinOZ,

I'm trying to override the default print in the popup for &RNT code. I'm using the CL_SALV_PRINT class as follow

**& Print Seting
gv_o_print = gv_o_alv->get_print( ).
gv_o_print->init_print_control( CHANGING value = ls_print_ctrl ).
ls_print_ctrl-pri_params-pdest = 'ZWMS'.
ls_print_ctrl-pri_params-armod = '1'.
ls_print_ctrl-pri_params-pexpi = '8'.
ls_print_ctrl-pri_params-prcop = '1'.
ls_print_ctrl-pri_params-prbig = 'X'.
gv_o_print->set_print_control( ls_print_ctrl ).

gv_o_alv->display( ).


But still i'm not get the espected result, can you see some mistake or give me any suggestions ?
Best regards

Martin
magister
 
Posts: 1
Joined: Fri Feb 14, 2014 9:50 am

Re: Default print in ALV grid contents using OOP

Postby Gothmog » Mon Feb 17, 2014 4:24 am

Split from here - please do not raise old topics from their grave, start a new one, referencing the relevant posts if needed.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1943
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home


Return to ABAP

Who is online

Users browsing this forum: No registered users and 3 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.