Professional Documents
Culture Documents
sqlViewName: 'ZI_BUPA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Bussiness Partner, Interface View, Basic'
@VDM.viewType: #BASIC
@Analytics: { dataCategory: #DIMENSION,
dataExtraction.enabled: true }
define view ZOFT_I_BUPA as select from snwd_bpa as bp
association[0..1] to snwd_ad as _Address on $projection.AddressGuid =
_Address.node_key {
key node_key as AddressKey,
address_guid as AddressGuid,
bp_id as BpId,
company_name as CompanyName,
_Address
}
@AbapCatalog.sqlViewName: 'ZOFT_PROD_TXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Interface View, basic view, Dimension data'
@AbapCatalog.sqlViewName: 'ZOFT_PRODS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Interface View, Dimension Data, Products'
@AbapCatalog.sqlViewName: 'ZOFT_SALES'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Interface View, Facts, Sales Data'
@VDM.viewType: #BASIC
@Analytics:{ dataCategory: #CUBE, dataExtraction:{enabled: true}}
@ObjectModel:{representativeKey: 'ItemKey'}
@AbapCatalog.sqlViewName: 'ZOFTC_SALES'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Sales Data Analytics'
@VDM.viewType: #COMPOSITE
@Analytics.dataCategory: #CUBE
define view ZOFT_C_SALES_DATA as select from ZOFT_I_SALES {
//ZOFT_I_SALES
key ItemKey,
key OrderGuid,
key ProductId,
key _Product.category as Category,
key _Product._Texts.text as ProductName,
key _Product._Supplier.CompanyName as Supplier,
@Semantics.currencyCode: true
Currency,
@Semantics.amount.currencyCode: 'Currency'
@DefaultAggregation: #SUM
GrossAmount,
@Semantics.amount.currencyCode: 'Currency'
@DefaultAggregation: #MAX
NetAmount
/* Associations */
//ZOFT_I_SALES
@AbapCatalog.sqlViewName: 'ZOFTC_SQUERY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Sales Analytical Query'
@VDM.viewType: #CONSUMPTION
@Analytics.query: true
@AbapCatalog.sqlViewName: 'ZCDSISSUE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Limitation with CDS'
define view ZCDS_ISSUE as select from crmd_partner
association[1] to but000 as _Bupa on $projection.partner_no = _Bupa.partner_guid
{
//crmd_partner
key client,
key partner_guid,
guid,
compressed,
attributes,
kind_of_entry,
cust_attr_db,
cust_rel_db,
partner_fct,
partner_no,
display_type,
no_type,
mainpartner,
relation_partner,
addr_nr,
addr_np,
addr_type,
addr_origin,
std_bp_address,
addr_operation,
calendar,
disabled,
error_flag,
partner_src_sys,
partner_dummy,
comp_prd_db
}
PUBLIC SECTION.
INTERFACEs if_amdp_marker_hdb.
class-methods : get_partner_crm_erp for table function ZOFT_CDS_TAB_FUNC.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.