Quantcast
Channel: SCN : Popular Discussions - Code Exchange
Viewing all articles
Browse latest Browse all 1399

[abap2xlsx] how to copy worksheets

$
0
0

Hello.

 

First of all, I want to say big thanks to the authors of the abap2xlsx project. I personally think this is the most useful abap project I ever met. (apart from saplink may be)

 

Now, since I am quite new to the framework, I wanted to ask few questions about the functionality:

1. Is there any way to copy the sheet from on into another. Currently I am developing a solution where I have one template worksheet with complex formatting that needs to be copied into multiple sheets (one sheet per selected day) and populated with data. Now, I think I could read all the data and formatting from one sheet into another and achieved the copy this way - but may be I am missing something and there is a simpler way to achieve this.

 

2. Is there any way to remove the worksheet? I see that the method to remove the worksheet is implemented in the zcl_excel_worksheets class, but since it is private, I can only get access to the iterator and iterator does not have the method to remove the worksheet. Again this is required since I want to copy the template into multiple copies and then remove the template sheet

 

I would be highly appreciating your assistance.

 

P.S. Is there any need (and possibility) to participate in this project?


Viewing all articles
Browse latest Browse all 1399

Trending Articles