PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

XTT

An ABAP template engine that merges data, including nested structures, tables and trees, into Excel, Word, HTML and PDF templates prepared in ordinary editors with markers in curly brackets.

Automating a recurring report usually means starting from a report the business already has and rebuilding its layout in code. XTT instead takes that existing report, edited in Excel, Word or Adobe LiveCycle Designer with markers in curly brackets that formulas, charts and pivot tables are linked to, and merges ABAP data, including nested structures, tables and trees, straight into those markers by calling merge(). The result is then downloaded, sent or shown in place by calling download(), send() or show(). It is installed with abapGit, after EUI, the library by the same maintainer that the current versions depend on.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Provides
Document outputABAPDocument outputcapabilityProducing a document a person receives — a printed form, a generated PDF, a filled template — and getting it to a printer or a queue rather than returning it as a payload.

Who is behind it

Birzhan MoldabayevBirzhan MoldabayevPersonMaintains this
In the atlas: maintains 2, contributes to 4
@bizhuka
maintainerMaxim KenzhebayevPersonContributes to this
In the atlas: contributes to 3
@kenzhemax
monty79PersonContributes to this
In the atlas: contributes to 1
@monty79
2 contributors

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
Inside its host
Distributed through
abapGit

Connections1

README

quoted from bizhuka/xtt under Apache-2.0, read
bizhuka/xtt/README.mdOn GitHub

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( ).
Apache-2.0, read
Document output
  1. abap2xlsxLibrary that reads and generates Excel spreadsheets from ABAPfrom ABAP
  2. zcl_docxABAP class filling a tagged Word .docx template with datafrom ABAP
  3. zcl_pdfStandalone ABAP class drawing PDFs without Adobe Document Serverfrom ABAP
  4. SAP Forms Service by AdobeAdobe Document Services on BTP for print and interactive PDFsfrom BTP/BAIP
  5. SAP Print servicePrint queues between cloud applications and local printersfrom BTP/BAIP
  6. @cap-js/printPrints documents held in CAP entities through SAP Print servicefrom CAP
  7. HandlebarsABAPSingle-file Handlebars templating for ABAP 7.40 SP02 and upfrom ABAP
  8. open-abap-pdfStandalone PDF generator written in ABAPfrom ABAP
  9. @salvatorela/cap-plugin-adobe-formsCAP plugin wrapping the SAP Forms service by Adobe on BTPfrom CAP
  10. SAP Spool PDFSubmits an ABAP report to the spool and converts the output to PDFfrom ABAP

Details

Sources3
Added by handdiscovered herechecked
github.com/bizhuka/xtttree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainabap, integration-and-messaging
abaplint
issues under its own abaplint configuration7,223
lines22,874
statements16,295
objects153
files194
analysed, master
abaplint version2.120.84
Flavors1
Standard ABAP
“" Template storage class (tr OAOR -> zcl_xtt_file_oaor, external sources -> ZCL_XTT_FILE_RAW)” — bizhuka/xtt — README, Codechecked
Contributors2

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent