12-03-2014 10:44 AM
Hi All,
I am call report program from another program using below statement.
submit XXX WITH SELECTION-TABLE rspar_tab EXPORTING LIST TO MEMORY and return.
Called program has 2 containers. 1 for ALV and another where container is filled using HTML data and shown
CALL METHOD ref_html->load_data
EXPORTING
type = 'text'
subtype = 'html'
IMPORTING
assigned_url = w_url
CHANGING
data_table = html
EXCEPTIONS
dp_invalid_parameter = 1
dp_error_general = 2
cntl_error = 3
OTHERS = 4.
IF sy-subrc EQ 0.
CALL METHOD ref_html->show_url
EXPORTING
url = w_url.
I am getting dump '
A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the exception condition "CNTL_ERROR".
I can't change the called program.
Is there anyway to get data from program.
Thanks
12-03-2014 10:49 AM
12-03-2014 10:53 AM
Hi
Try this class to get runtime data. Please search it for detail.
cl_salv_bs_runtime_info=>set()
SUBMIT xxx.
cl_salv_bs_runtime_info=>GET_DATA().
regards,
Archer
12-03-2014 11:15 AM
Version is 720 and in calling program i am using
cl_salv_bs_runtime_info=>set(
EXPORTING display = abap_false
metadata = abap_false
data = abap_true ).
Thanks