Hi,
I'm trying to schedule VF31 in background, but every time I do so, it dumps a CNTL_ERROR. The problem persists for single and multiple invoices when VF31 is processed in background.
It is working fine when I execute the transaction in foreground!
Please find the error description below:
Error analysis
A RAISE statement in the program "SAPLSTXBC" raised the exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Main Program: SD70AV3A
Source Code Extract
954 ***********************************************************************
955 * FORM PBO_HMTL_CONTROL
956 ***********************************************************************
957 form pbo_html_control.
958
959 set pf-status 'HTML'.
960 set titlebar 'HTML'.
961
962 * container
963 if pdf_my_container is initial.
964 create object pdf_my_container
965 exporting
966 container_name = 'HTML'
967 exceptions
968 others = 1.
969 if sy-subrc <> 0.
>>>> raise cntl_error.
971 endif.
972 endif.
973
974 * html control
975 if pdf_html_control is initial.
976 create object pdf_html_control
I confirmed with basis team that print parameters are correctly set.
Please help in this regard!
Many thanks,
Parth