From d39c4c26fd48665cb5b984c1c265bfe47c1c062e Mon Sep 17 00:00:00 2001 From: Gregor Wolf Date: Wed, 25 Apr 2012 19:28:03 +0000 Subject: [PATCH] Extended report ZDEMO_EXCEL8 to check the #151 correction git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@304 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 --- ZA2X/PROG/ZDEMO_EXCEL8.slnk | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ZA2X/PROG/ZDEMO_EXCEL8.slnk b/ZA2X/PROG/ZDEMO_EXCEL8.slnk index d732bc3..ea52caa 100644 --- a/ZA2X/PROG/ZDEMO_EXCEL8.slnk +++ b/ZA2X/PROG/ZDEMO_EXCEL8.slnk @@ -1,5 +1,5 @@ - - + + @@ -49,6 +49,19 @@ START-OF-SELECTION. lo_worksheet->set_cell( ip_row = 7 ip_column = 'C' ip_value = 'Ananas' ). lo_worksheet->set_cell( ip_row = 8 ip_column = 'C' ip_value = 'Grapes' ). + " Define another Range with a name longer than 40 characters that + " tests the fix of issue #151 Ranges can be only up to 40 chars + + lo_range = lo_excel->add_new_range( ). + lo_range->name = 'A_range_with_a_name_that_is_longer_than_40_characters'. + lo_range->set_value( ip_sheet_name = lv_title + ip_start_column = 'D' + ip_start_row = 4 + ip_stop_column = 'D' + ip_stop_row = 5 ). + lo_worksheet->set_cell( ip_row = 4 ip_column = 'D' ip_value = 'Range Value 1' ). + lo_worksheet->set_cell( ip_row = 5 ip_column = 'D' ip_value = 'Range Value 2' ). + *** Create output lcl_output=>output( lo_excel ).