All Projects → bizhuka → xtt

bizhuka / xtt

Licence: Apache-2.0 license
ABAP template engine for Excel, Word, Html & Pdf

Programming Languages

ABAP
45 projects
HTML
75241 projects

Projects that are alternatives of or similar to xtt

JSON2ABAPType
Creator of ABAP types on a base of JSON structure
Stars: ✭ 40 (+90.48%)
Mutual labels:  sap, abap, abapgit
abaK
ABAP constants done right
Stars: ✭ 26 (+23.81%)
Mutual labels:  sap, abap, abapgit
eui
Easy UI in SAP
Stars: ✭ 34 (+61.9%)
Mutual labels:  sap, abap, abapgit
abap2xlsx
Generate your professional Excel spreadsheet from ABAP
Stars: ✭ 493 (+2247.62%)
Mutual labels:  sap, abap
bw toolbox
📊 🔨 📦 Collection of all tools for SAP BW useful for daily work
Stars: ✭ 24 (+14.29%)
Mutual labels:  sap, abap
nwabap-ui5uploader
This module allows a developer to upload SAPUI5/OpenUI5 sources into a SAP NetWeaver ABAP system.
Stars: ✭ 15 (-28.57%)
Mutual labels:  sap, abap
fundamental-tools
Web applications with ABAP, done simple.
Stars: ✭ 42 (+100%)
Mutual labels:  sap, abap
ABAPFavorites
ABAP Favorites Eclipse Plugin
Stars: ✭ 23 (+9.52%)
Mutual labels:  sap, abap
ABAP-Library
Useful ABAP code snippets
Stars: ✭ 118 (+461.9%)
Mutual labels:  sap, abap
Simple-Data-Explorer
Simple Data Explorer
Stars: ✭ 37 (+76.19%)
Mutual labels:  sap, abap
abap-data-validator
A data validation tool.
Stars: ✭ 28 (+33.33%)
Mutual labels:  sap, abap
SAP-ABAP-Development
SAP ABAP development, customization and enhancement guides
Stars: ✭ 51 (+142.86%)
Mutual labels:  sap, abap
abap mustache
Mustache template engine for ABAP
Stars: ✭ 14 (-33.33%)
Mutual labels:  sap, abap
abapGitServer
Git server implemented in ABAP
Stars: ✭ 56 (+166.67%)
Mutual labels:  abap, abapgit
dotabap.github.io
dotabap.org homepage
Stars: ✭ 19 (-9.52%)
Mutual labels:  abap, abapgit
pdftron-android-samples
PDFTron Android Samples
Stars: ✭ 30 (+42.86%)
Mutual labels:  office
light-odata
OData(V2/V4) Client for javascript/typescript
Stars: ✭ 25 (+19.05%)
Mutual labels:  sap
hadoopoffice
HadoopOffice - Analyze Office documents using the Hadoop ecosystem (Spark/Flink/Hive)
Stars: ✭ 56 (+166.67%)
Mutual labels:  office
JThumbnail
Java thumbnail generator for Office,PDF,HTML,Text,MP3,MPEG and Image documents
Stars: ✭ 24 (+14.29%)
Mutual labels:  office
Golang-Files-Preview
Golang 文件预览支持 office\pdf\cad\achieve\txt\image\video files
Stars: ✭ 53 (+152.38%)
Mutual labels:  office

Now full documentation available here https://bizhuka.github.io/xtt

Xml template toolkit

XTT helps you to automate your reporting routine in SAP

  • Get existing report from your customers
  • Use preferable editor (MS Excel, Word or Adobe LiveCycle Designer) and replace some parts of it with markers inclosed in curly brackets
  • Link all formulas, charts and pivot tables to this marksers
  • In abap call merge() method to pass all data including nested strucures, tables and trees
  • Use download( ) | send( ) | show( ) method for appropreate action
  • That's all!

Template

image

Code

" Template storage class (tr OAOR -> zcl_xtt_file_oaor, external sources -> ZCL_XTT_FILE_RAW)
DATA(lo_file) = NEW zcl_xtt_file_smw0( 'Z_TEMPLATE_ID.XLSX' ).

" Excel (Use ZCL_XTT_WORD_DOCX, ZCL_XTT_PDF for word and pdf respectively)
DATA(lo_xtt) = NEW zcl_xtt_excel_xlsx( io_file = lo_file ).

" R is a marker in the IV_TEMPLATE
lo_xtt->merge( iv_block_name = 'R'
               is_block = VALUE ts_root(
                begda = pn-begda
                endda = pn-endda               
                t     = lt_alv    
               ) ).

" Download to sap_tmp. You could specify path. Show SaveAs dialogue
" Call SHOW( ) for inplace mode
lo_xtt->download( ).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].