使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
适用于 SAP 的 Looker 块
本页介绍了您可以从 Cortex Looker 块中针对 SAP 数据获得的数据洞见,并提供了一些有关其部署的额外信息。借助这款适用于 SAP 的 Looker Block,您可以基于 SAP Cortex Framework 更快地深入了解订单到收款、财务和库存数据。
可用的数据洞见
Cortex Framework 中适用于 SAP 的 Looker 块可提供以下数据洞见。
订单到付款
- 订单履单:监控当前的配送状态、突出显示送货延迟的情况,并将待配送订单与当前库存进行比较。
- 订单快照:监控订单的健康状况,包括商品配送效率。
- 订单详情:查看订单的订单项详情。
- 销售业绩:查看产品、部门、销售组织和分销渠道的销售业绩。
- 结算和定价:查看按客户和商品的价格差异。
金融
- 应收账款:分析应收账款总额、逾期应收账款、应收账款天数,以及应收账款金额最高的前几家公司。
- 应付账款:查找应付账款、应付账款周转率、应付账款逾期、应付账款账龄和现金折扣使用率等财务信息。
- 供应商表现:分析供应商表现,包括送货、交货时间、价格差异和采购订单状态。
- 支出分析:查看关键绩效指标 (KPI),例如总支出、活跃供应商数量和已结账单。按采购组织、采购组、供应商国家/地区和材料类型细分的支出明细。
资产负债表:查看截至所选会计年度的资产负债表。
将其与去年同一时间段、上一财政年度或其他财政年度进行比较。并针对用户指定的账号和公司图表显示所选层次结构的多个层级。其中包含使用不同表格样式的两个信息中心。如果将此块与 SAP Finance 测试框架数据搭配使用,则只有公司代码 C006 的余额为零。这是正常现象。
损益表:查看所选会计期间的损益表,可以单独查看,也可以合并查看。将相应时间段与去年同期或上一财政年度同一时间段进行比较,并显示多个级别的总账账号层次结构。其中包含使用不同表格样式的两个信息中心。如果将此块与 SAP Finance 测试框架数据搭配使用,公司代码 C006 最能说明“损益表”。
库存
代码库
如需访问适用于 SAP 的 Cortex Looker 块,请访问其官方 GitHub 代码库:block-cortex-sap。此代码库包含基本视图、探索和信息中心,可帮助您将 SAP 数据无缝集成到 Looker 环境中。此代码库为您提供了坚实的基础,可帮助您根据自己的具体需求创建自定义报告、可视化图表和信息中心。
部署
如需了解如何部署适用于 SAP 的 Cortex Looker 块,请参阅部署适用于 Cortex Framework 的 Looker 块。完成这些说明后,请参阅下一部分中的部署的其他规范。
部署的其他规范
某些 Looker 块需要满足一些规范才能正常运行,具体取决于数据源。本部分介绍了适用于 Cortex Looker Block for SAP 的特殊设置。
需要永久性派生表
用于此代码块的 BigQuery 连接必须启用了永久派生表。如需了解详情,请参阅在连接上启用 PDT。
必需的用户属性
某些信息中心需要多个 Looker 用户属性才能正常运行。用户属性可为每位 Looker 用户提供量身定制的体验。Looker 管理员可以定义用户属性,然后将用户属性值应用于用户群组或具体用户。如需了解详情,请参阅管理设置 - 用户属性。
对于此 Looker Block for SAP,Looker 管理员应创建以下用户属性,并准确设置值,如下所示:
必需的用户属性名称
|
标签
|
数据类型
|
用户访问权限
|
隐藏值
|
默认值
|
locale
|
locale
|
字符串 |
视图
|
否 |
英语 (en )。
|
default_value_currency_required
|
要显示的 SAP 默认币种
|
字符串 |
修改
|
否 |
USD 或所选币种(例如 EUR, CAD or JPY )。
|
client_id_rep
|
用于报告的 SAP 客户端 ID (mandt )
|
字符串 |
修改
|
否 |
输入您的 SAP 客户 ID 或 100 (如果使用提供的测试数据)。
|
sap_use_demo_data
|
使用示例数据 Yes 或 No
|
字符串 |
修改
|
否 |
如果使用提供的测试数据,请输入 Yes 。否则,请输入 No 。
|
sap_sql_flavor
|
SAP:SQL 变种(ECC 或 S4 )
|
字符串 |
视图
|
否 |
根据 SAP 系统的要求输入 ECC 或 S4 。
|
每个信息中心用户都可以按照对用户账号设置进行个性化设置中的说明,对可修改的用户属性的值进行个性化设置。
语言
SAP Explore 会根据用户的语言区域过滤语言,如果未找到语言区域值,则使用英语作为后备。资产负债表和损益表探索会进一步将语言区域限制为也出现在来源表中的语言区域,如果没有匹配项,则使用英语。
从 Marketplace 获取的报告表格可视化
资产负债表和损益表信息中心有两种不同的样式:
- Looker 的表格可视化图表,其中包含小计。
- Looker Marketplace 中的报告表格可视化图表。
报告表格提供专为财务报告设计的易于阅读的表格样式。Looker 管理员必须从 Marketplace 中安装可视化图表,才能使用此表格样式。如需了解如何使用 Looker Marketplace,请参阅 Looker 文档。
其他注意事项
如需优化 SAP 的 Looker 版块的性能和功能,请考虑以下事项:
- BI Engine 优化:在 BigQuery 中启用 BI Engine 优化后,某些计算的性能会有所提升。
- Liquid 模板语言:某些常量、视图、探索和信息中心使用 Liquid 模板语言。如需了解详情,请参阅 Looker 的液体变量参考文档。
- 取消隐藏其他维度和测量参数:为简单起见,系统会隐藏许多维度和测量参数。如果您发现缺少任何有价值的信息,请在相关视图中将该字段的
hidden
参数值更新为 No。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-18。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eThe Looker Block for SAP provides insights into Order to Cash, Finance, and Inventory data within the SAP Cortex Framework, enabling faster analysis of these key areas.\u003c/p\u003e\n"],["\u003cp\u003eThis block offers specific insights such as order fulfillment status, sales performance reviews, accounts receivable and payable analysis, vendor performance tracking, and inventory management.\u003c/p\u003e\n"],["\u003cp\u003eTo properly deploy the Looker Block for SAP, you need to ensure that Persistent Derived Tables are enabled in the BigQuery connection and configure required user attributes like locale, default currency, SAP Client ID, and SQL flavor.\u003c/p\u003e\n"],["\u003cp\u003eThe block includes Balance Sheet and Income Statement dashboards, with specific requirements for Cortex Framework versions and the option to use a specialized Report Table visualization from the Looker Marketplace.\u003c/p\u003e\n"],["\u003cp\u003eFor optimal performance and customization, consider enabling BI Engine Optimization in BigQuery, understanding the use of Liquid templating language, and unhiding additional dimensions and measures in the relevant views as needed.\u003c/p\u003e\n"]]],[],null,["# Looker Block for SAP\n====================\n\nThis page describes the insights you can get from the Cortex Looker\nBlock for SAP data with some additional information for its deployment.\nUsing this Looker Block for SAP, you can gain faster insights into your\nOrder to Cash, Finance, and Inventory data based on\nthe SAP Cortex Framework.\n\nAvailable insights\n------------------\n\nThe Looker block for SAP in Cortex Framework offers the\nfollowing insights.\n\n### Order to Cash\n\n- **Order fulfillment** : Monitor current delivery status, highlight late deliveries, and compare pending deliveries with current stock.\n- **Order snapshot**: Monitor the health of the orders including product delivery efficiency.\n- **Order details**: See line item details for orders.\n- **Sales performance**: Review the sales performance of products, divisions, sales organizations, and distribution channels.\n- **Billing and pricing**: Review price variations by customer and product.\n\n### Finance\n\n- **Accounts receivable**: Analyze total receivables, overdue receivables, days outstanding, and top companies with highest receivables.\n- **Accounts payable**: Find financial information such as accounts payable, accounts payable turnover, overdue payables, accounts payable aging, and cash discount utilization.\n- **Vendor performance**: Analyze vendor performance including delivery, lead time, price variance, and purchase order status.\n- **Spend analysis**: Review Key Performance Indicators (KPIs) like total spend, active vendor count, and cleared invoices. Breakdown spend by purchase organization, purchase group, vendor country, and material type.\n- **Balance sheet**: View the balance sheet as of a selected fiscal period.\n Compare it to the same period last year, the previous fiscal period, or a\n different fiscal period. And display multiple levels of the selected hierarchy\n for a user-specified chart of accounts and company. Two dashboards using\n different table styles are included. If using this block with the SAP Finance\n test harness data, only company code C006 balances to zero. This is expected.\n\n | **Note:** Balance Sheet only works with [Cortex Framework 5.3](/cortex/docs/release-notes#release_53) and later.\n- **Income statement**: View the income statement for selected fiscal\n periods, individually or combined. Compare the timeframe to the same timeframe\n a year ago or the preceding fiscal timeframe, and display multiple levels of\n the GL Account hierarchy. Two dashboards using different table styles are\n included. If using this block with SAP Finance test harness data, company code C006\n provides the best illustration of Income Statement.\n\n | **Note:** Income Statement only works with [Cortex Framework 5.4](/cortex/docs/release-notes#release_54) and later.\n\n### Inventory\n\n- **Inventory management**: Review inventory value over time (in total and\n by material type). Highlight other important KPIs including:\n\n - Inventory Turn\n - Days of Supply\n - Obsolete Inventory Value\n - Slow Moving Inventory Value\n\nRepository\n----------\n\nTo access the Cortex Looker Block for SAP, visit its official\nGitHub repository: [**block-cortex-sap**](https://github.com/looker-open-source/block-cortex-sap).\nThis repository contains essential views, Explores and dashboards that enable\nyou to seamlessly integrate SAP data into your Looker\nenvironment. This repository provides a solid foundation for creating custom\nreports, visualizations, and dashboards tailored to your specific needs.\n\nDeployment\n----------\n\nFor instructions about how to deploy the Cortex Looker Block for\nSAP, see\n[Deploy Looker Blocks for Cortex Framework](/cortex/docs/looker-block-deployment). After completing these instructions, see\n[Additional specifications for deployment](#additional_specifications_for_deployment)\nin the following section.\n\nAdditional specifications for deployment\n----------------------------------------\n\nDepending the data source, some Looker Blocks need some\nspecifications to work properly. This section describes special settings\nfor the Cortex Looker Block for SAP.\n\n### Persistent Derived Tables required\n\nThe BigQuery connection used for this block must have\n[Persistent Derived Tables](/looker/docs/derived-tables#persistent_derived_tables)\nenabled. For more information, see\n[Enabling PDTs on a Connection](/looker/docs/db-config-google-bigquery#creating_a_temporary_dataset_for_persistent_derived_tables).\n\n### Required user attributes\n\nSome dashboards require several Looker\n[user attributes](/looker/docs/admin-panel-users-user-attributes)\nto work properly. User attributes provide a customized experience for each\nLooker user. A Looker administrator defines a\nuser attribute and then applies a user attribute value to a user group or\nto individual users. For more information, see [Admin settings - User attributes](/looker/docs/admin-panel-users-user-attributes).\n\nFor this Looker Block for SAP, a Looker Admin\nshould create the following user attributes and\nset the values **exactly** as follows:\n\nEach dashboard user can personalize the values of the editable user attributes\nby following the instructions in [Personalizing user account settings](/looker/docs/user-account).\n\n### Language\n\nSAP Explores filter language based on a user's [locale](/looker/docs/model-localization#assigning_users_to_a_locale)\nor use English as a fallback if no locale value is found. The Balance Sheet and\nIncome Statement Explores further restrict the locale to those also found in the\nsource tables, using English if there are no matches.\n\n### Report Table Visualization from Marketplace\n\nThe Balance Sheet and Income Statement dashboards come in two different styles:\n\n1. Looker's Table Visualization with subtotals.\n2. Report Table Visualization from Looker Marketplace.\n\nThe [Report Table](https://marketplace.looker.com/marketplace/detail/viz-report_table)\nprovides an easy-to-read table style designed especially for\nfinance reports. A Looker Admin must install the visualization from\nthe Marketplace to use this table style. Refer to Looker documentation\nfor [Using Looker Marketplace](/looker/docs/marketplace).\n\n### Other Considerations\n\nFor optimizing the performance and functionality of your\nLooker Block for SAP consider the following:\n\n- **BI Engine Optimization:** Some calculations perform better with [BI Engine Optimization](/bigquery/docs/bi-engine-query) enabled in BigQuery.\n- **Liquid Templating Language** : Some constants, views, Explores and dashboards use liquid templating language. For more information, see Looker's [Liquid Variable Reference](/looker/docs/liquid-variable-reference) documentation.\n- **Unhide additional dimensions and measures** : Many dimensions and measures are hidden for simplicity. If you find anything valuable missing, update the field's `hidden` parameter value to **No** in the relevant views."]]