Does anyone know if there is a way to turn off the 'print immediately' option temporary for call transaction that will be executed in background? We do not want to update the batch user setting. The main program will be executed in background which will call a transaction which the bdc has a sy-ucomm = '=SJOB'.
Thus, by using FM SET_PRINT_PARAMATER will not work in this case since the call transaction resets to the user print parameter again when call in background.
Can the BDC screens turns off the print immeidately option? Tried this BDC screen sequence but did not work.
SAPLSPRI 0100 X BDC_OKCODE =EXPT PRI_PARAMS-PDEST <printer ID> SAPLSPRI 0300 X BDC_OKCODE =%_GC 115 22 SAPLSPRI 0300 X BDC_OKCODE =PTON BDC_CURSOR PRIPAR_DYN-PRIMM2 PRIPAR_DYN-PRIMM2 SAPLSPRI 0100 X BDC_OKCODE =SAVE