09-13-2018 7:37 PM
Hello,
Trying to use set_print_control method of class clsalv_print.
However, the modified print parameters are not applied by the system and the default values are used instead. get/set_print_parameters FM's on the other hand work as expected with the same modified print parameters. Is my usage correct and/or how to set print parameters using the class cl_salv_print.
data(r_print) = r_salv_table->get_print( ).
data(print_params) = r_print->get_print_control( ).
print_params-pri_params = out_parameters. " modified print parameters; format, line size etc
r_print->set_print_control( print_params ).
r_salv_table->display( ).
09-14-2018 5:45 AM