Last active
October 5, 2025 13:39
-
-
Save IhwanID/0b3393bbaf55a74db0332530cfb06fd8 to your computer and use it in GitHub Desktop.
Fiory Analytics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Metadata.layer: #CUSTOMER | |
| @UI.selectionPresentationVariant: [{ | |
| qualifier: 'Default', | |
| presentationVariantQualifier: 'Default', | |
| selectionVariantQualifier: 'Default' | |
| }] | |
| @UI.presentationVariant: [{ | |
| qualifier: 'Default', | |
| visualizations: [{ | |
| type: #AS_CHART, | |
| qualifier: 'ChartDefault' | |
| }] | |
| }] | |
| @UI.chart: [{ | |
| qualifier: 'ChartDefault', | |
| title: 'Gross Amount / Product Category', | |
| chartType: #COLUMN, | |
| dimensions: ['ProductCategory'], | |
| measures: ['GrossAmount'] | |
| }] | |
| @UI.selectionVariant: [{ | |
| qualifier: 'Default', | |
| text: 'Default' | |
| }] | |
| annotate entity ZTest_Analytical_Ihwan | |
| with | |
| { | |
| @UI.lineItem: [{ position: 10 }] | |
| @EndUserText.label: 'Sales Order' | |
| SalesOrder; | |
| @UI.lineItem: [{ position: 20 }] | |
| @EndUserText.label: 'Sales Order Item' | |
| SalesOrderItem; | |
| @UI.lineItem: [{ position: 30 }] | |
| @EndUserText.label: 'Product' | |
| Product; | |
| @UI.lineItem: [{ position: 40 }] | |
| @EndUserText.label: 'Product Category' | |
| @UI.selectionField: [{ position: 10 }] | |
| ProductCategory; | |
| @UI.lineItem: [{ position: 50 }] | |
| @EndUserText.label: 'Customer' | |
| Customer; | |
| @UI.lineItem: [{ position: 50 }] | |
| @EndUserText.label: 'Gross Amount' | |
| GrossAmount; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AbapCatalog.viewEnhancementCategory: [#NONE] | |
| @AccessControl.authorizationCheck: #NOT_REQUIRED | |
| @EndUserText.label: 'Sales Order Analytical Data Model' | |
| @Metadata.ignorePropagatedAnnotations: true | |
| @ObjectModel.usageType:{ | |
| serviceQuality: #X, | |
| sizeCategory: #S, | |
| dataClass: #MIXED | |
| } | |
| @Metadata.allowExtensions: true | |
| @Analytics.query: true | |
| @OData.publish: true | |
| define view entity ZTest_Analytical_Ihwan as select from SEPM_P_SalesOrderItemCube( P_DisplayCurrency: 'EUR') | |
| { | |
| key SalesOrder, | |
| key SalesOrderItem, | |
| Product, | |
| ProductCategory, | |
| ProductType, | |
| @AnalyticsDetails.query.display: #TEXT_KEY | |
| Customer, | |
| @Semantics.amount.currencyCode: 'Currency' | |
| GrossAmountInDisplayCurrency as GrossAmount, | |
| DisplayCurrency as Currency | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment