sapyard.com/a-to-z-of-ole-excel-in-abap-7-4/
A to Z of OLE Excel in ABAP 7.4
SAP users, both business and end users always need to download the output of a report to spreadsheet and do their analytics. The standard excel output from a report is very simple process but it is…
sapyard.com
이보다 더 자세할 수 없다. 따라해보면 쉽게 가능하다.
OLE 는 기본적으로 다운로드가 한 셀씩 그리느라 느린데.. 이것은 CLIPBOARD EXPORT 를 사용해서 Internal Table 을 한방에 붙여 넣음으로서 속도를 개선 할 수 있다. 이때 중간에 팁이 좀 필요한데 그것은 Horizonal Tab 을 넣어서 데이터를 Concatenate 로 한줄로 붙여 주어야 하는 것이다. 그래야 Excel 에 Copy & Paste 할 때 셀별로 잘려서 들어간다.
이걸 이해 못해서 한참을 해멘 바보가 여기있다. OLE 는 참 좋은 것 같은데 느리다 느려..
'SAP > ABAP' 카테고리의 다른 글
저장하기 전에 ALV Data Changed Event 강제로 수행하기 (0) | 2020.10.05 |
---|---|
SAP 에서 통화키 적용하여 금액 표시하기 (0) | 2020.10.05 |
Dynamic Internal Table 에서 Cell Tab, Color Tab 만들기 (0) | 2020.10.05 |
ALV 에서 fieldcatalog 속성으로 Material No Internal No 에서 External No 로 표시하기 (0) | 2020.10.05 |