mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-08 04:43:18 +08:00
force offline mode if not in background
This commit is contained in:
parent
04b143ca2e
commit
3095b2c7c2
|
@ -68,7 +68,7 @@ CLASS zcl_excel_converter_salv_table IMPLEMENTATION.
|
|||
lv_intercept_data_active = is_intercept_data_active( ).
|
||||
|
||||
* First update metadata if we can.
|
||||
IF io_salv->is_offline( ) = abap_false.
|
||||
IF sy-batch = abap_true AND io_salv->is_offline( ) = abap_false.
|
||||
IF lv_intercept_data_active = abap_true.
|
||||
ls_layout_key = lo_layout->get_key( ).
|
||||
ls_vari-report = ls_layout_key-report.
|
||||
|
@ -88,8 +88,8 @@ CLASS zcl_excel_converter_salv_table IMPLEMENTATION.
|
|||
|
||||
*... get the column information
|
||||
wt_fcat = cl_salv_controller_metadata=>get_lvc_fieldcatalog(
|
||||
r_columns = lo_columns
|
||||
r_aggregations = lo_aggregations ).
|
||||
r_columns = lo_columns
|
||||
r_aggregations = lo_aggregations ).
|
||||
|
||||
*... get the layout information
|
||||
cl_salv_controller_metadata=>get_lvc_layout(
|
||||
|
@ -185,7 +185,6 @@ CLASS zcl_excel_converter_salv_table IMPLEMENTATION.
|
|||
|
||||
ENDMETHOD.
|
||||
|
||||
|
||||
METHOD zif_excel_converter~get_supported_class.
|
||||
rv_supported_class = 'CL_SALV_TABLE'.
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user