{"id":13698366,"url":"https://github.com/bizhuka/xtt","last_synced_at":"2025-09-13T10:36:38.666Z","repository":{"id":41045451,"uuid":"120720998","full_name":"bizhuka/xtt","owner":"bizhuka","description":"ABAP template engine for Excel, Word, Html \u0026 Pdf","archived":false,"fork":false,"pushed_at":"2024-05-04T10:02:13.000Z","size":1940,"stargazers_count":37,"open_issues_count":1,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-06T21:51:45.961Z","etag":null,"topics":["abap","abapgit","office","sap","template","xml"],"latest_commit_sha":null,"homepage":"https://bizhuka.github.io/xtt/","language":"ABAP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bizhuka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-08T06:31:13.000Z","updated_at":"2025-02-09T01:54:37.000Z","dependencies_parsed_at":"2024-03-20T11:52:26.022Z","dependency_job_id":"12f3f08a-7880-436f-a909-b1c36bad2741","html_url":"https://github.com/bizhuka/xtt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bizhuka/xtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizhuka%2Fxtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizhuka%2Fxtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizhuka%2Fxtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizhuka%2Fxtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bizhuka","download_url":"https://codeload.github.com/bizhuka/xtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizhuka%2Fxtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274949581,"owners_count":25379446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abap","abapgit","office","sap","template","xml"],"created_at":"2024-08-02T19:00:44.967Z","updated_at":"2025-09-13T10:36:38.625Z","avatar_url":"https://github.com/bizhuka.png","language":"ABAP","funding_links":[],"categories":["Categories"],"sub_categories":["🗒️ eMail \u0026 Document Processing"],"readme":"Now full documentation available here https://bizhuka.github.io/xtt\n\n### Xml template toolkit\n\nXTT helps you to automate your reporting routine in SAP\n\n- Get existing report from your customers\n- Use preferable editor (MS Excel, Word or Adobe LiveCycle Designer) and replace some parts of it with markers inclosed in curly brackets\n- Link all formulas, charts and pivot tables to this marksers\n- In abap call **`merge()`** method to pass all data including nested strucures, tables and trees\n- Use **`download( ) | send( ) | show( )`** method for appropreate action\n- That's all!\n\n---\n\n###  Template\n![image](https://user-images.githubusercontent.com/36256417/80579411-6b7c0600-8a23-11ea-8166-d48e63b7d085.png)\n\n### Code\n\n```abap\n\" Template storage class (tr OAOR -\u003e zcl_xtt_file_oaor, external sources -\u003e ZCL_XTT_FILE_RAW)\nDATA(lo_file) = NEW zcl_xtt_file_smw0( 'Z_TEMPLATE_ID.XLSX' ).\n\n\" Excel (Use ZCL_XTT_WORD_DOCX, ZCL_XTT_PDF for word and pdf respectively)\nDATA(lo_xtt) = NEW zcl_xtt_excel_xlsx( io_file = lo_file ).\n\n\" R is a marker in the IV_TEMPLATE\nlo_xtt-\u003emerge( iv_block_name = 'R'\n               is_block = VALUE ts_root(\n                begda = pn-begda\n                endda = pn-endda               \n                t     = lt_alv    \n               ) ).\n\n\" Download to sap_tmp. You could specify path. Show SaveAs dialogue\n\" Call SHOW( ) for inplace mode\nlo_xtt-\u003edownload( ).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizhuka%2Fxtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbizhuka%2Fxtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizhuka%2Fxtt/lists"}