P_BankStatementDetail
P_BankStatementDetail is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (febko, febep) and exposes 14 fields with key fields BankStatementShortID, BankStatementItem.
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PBKSTMNTDETAIL | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankStatementShortID | febko | kukey | |
| KEY | BankStatementItem | febep | esnum | |
| BankStatementDate | febko | azdat | ||
| BankStatementImportDate | febko | edate | ||
| etimeasBankStatementImportTime | ||||
| aznumasBankStatementNumber | ||||
| efartasBankStatementIsManuallyCreated | ||||
| BankStatementApplication | febko | anwnd | ||
| absndasSendingBank | ||||
| BankStatementInternalID | febko | azidt | ||
| TransactionType | febko | vgtyp | ||
| DocumentReferenceID | febep | xblnr | ||
| PaymentTransaction | febep | vorgc | ||
| PaymentTransactionText | febep | vgext |
@VDM.private: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'PBKSTMNTDETAIL' //must start with "P"
define view P_BankStatementDetail //must start with "P_"; same as DDL source name in upper-camelcase notation
as select from febko as header
inner join febep as lineitem
on header.kukey = lineitem.kukey
{
// key DatabaseFieldName //usage of global field names and cast to data element with proper labels is optional
key header.kukey as BankStatementShortID,
key lineitem.esnum as BankStatementItem,
header.azdat as BankStatementDate,
header.edate as BankStatementImportDate,--GFN
header.etime as BankStatementImportTime,--GFN
header.aznum as BankStatementNumber, --GFN
header.efart as BankStatementIsManuallyCreated,
header.anwnd as BankStatementApplication, --GFN
header.absnd as SendingBank,
header.azidt as BankStatementInternalID,
header.vgtyp as TransactionType,
lineitem.xblnr as DocumentReferenceID,
lineitem.vorgc as PaymentTransaction,
lineitem.vgext as PaymentTransactionText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FEBEP",
"FEBKO"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA