From abcd2bb542413fe10844d676f4976f9c8ebf7ea5 Mon Sep 17 00:00:00 2001 From: Ivan Femia Date: Mon, 19 Mar 2012 19:33:13 +0000 Subject: [PATCH] Missed file in latest commit git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@269 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 --- ZA2X/CLAS/ZCL_EXCEL_CONVERTER_EX_RESULT.slnk | 30 +++++++++----------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/ZA2X/CLAS/ZCL_EXCEL_CONVERTER_EX_RESULT.slnk b/ZA2X/CLAS/ZCL_EXCEL_CONVERTER_EX_RESULT.slnk index 1664e60..800eb10 100644 --- a/ZA2X/CLAS/ZCL_EXCEL_CONVERTER_EX_RESULT.slnk +++ b/ZA2X/CLAS/ZCL_EXCEL_CONVERTER_EX_RESULT.slnk @@ -1,22 +1,22 @@ - + class ZCL_EXCEL_CONVERTER_EX_RESULT definition public inheriting from ZCL_EXCEL_CONVERTER_ALV final create public . +public section. *"* public components of class ZCL_EXCEL_CONVERTER_EX_RESULT *"* do not include other source files here!!! -public section. - methods ZIF_EXCEL_CONVERTER~CAN_CONVERT_OBJECT - redefinition . methods ZIF_EXCEL_CONVERTER~CREATE_FIELDCATALOG + redefinition . + methods ZIF_EXCEL_CONVERTER~CAN_CONVERT_OBJECT redefinition . - *"* protected components of class ZCL_EXCEL_CONVERTER_SALV_TABLE -*"* do not include other source files here!!! -protected section. + protected section. +*"* protected components of class ZCL_EXCEL_CONVERTER_EX_RESULT +*"* do not include other source files here!!! *"* private components of class ZCL_EXCEL_CONVERTER_EX_RESULT *"* do not include other source files here!!! private section. @@ -28,13 +28,12 @@ private section. *"* implementation or private method's signature *"* use this source file for any macro definitions you need *"* in the implementation part of the class - - - + + + METHOD zif_excel_converter~can_convert_object. - DATA: lo_result TYPE REF TO cl_salv_ex_result_data_table. TRY. @@ -42,15 +41,14 @@ private section. CATCH cx_sy_move_cast_error . RAISE EXCEPTION TYPE zcx_excel. ENDTRY. - ENDMETHOD. METHOD zif_excel_converter~create_fieldcatalog. DATA: lo_result TYPE REF TO cl_salv_ex_result_data_table, - lo_bs_data TYPE REF TO cl_salv_bs_data_table, - lo_ex_cm TYPE REF TO cl_salv_ex_cm, - lo_data TYPE REF TO data. + lo_bs_data TYPE REF TO cl_salv_bs_data_table, + lo_ex_cm TYPE REF TO cl_salv_ex_cm, + lo_data TYPE REF TO data. FIELD-SYMBOLS: <fs_table> TYPE STANDARD TABLE. @@ -65,7 +63,7 @@ ENDMETHOD. IF lo_result IS BOUND. lo_bs_data ?= lo_result->r_model->r_data. - lo_data = lo_bs_data->get_ref_to_table( ) . + lo_data = lo_bs_data->if_salv_bs_data_source~get_table_ref( ) . ASSIGN lo_data->* TO <fs_table> . lo_ex_cm ?= lo_result->r_model->r_model.