I_AcctgDocHdrForChgDoc
Accounting Document Header for binding to Change Document
I_AcctgDocHdrForChgDoc is a Basic CDS View that provides data about "Accounting Document Header for binding to Change Document" in SAP S/4HANA. It reads from 1 data source (bkpf) and exposes 6 fields with key field DatabaseTable.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| bkpf | AccDocHdr | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IACCDOCHDR4CD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Accounting Document Header for binding to Change Document | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | false | view |
@AbapCatalog: {
sqlViewName: 'IACCDOCHDR4CD',
compiler.compareFilter: true,
preserveKey:true
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #NOT_REQUIRED
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Accounting Document Header for binding to Change Document'
@ObjectModel.usageType: {
serviceQuality: #X,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
@VDM: {
viewType: #BASIC,
private: false
}
define view I_AcctgDocHdrForChgDoc
as select from bkpf as AccDocHdr
{
key cast('BKPF' as farp_database_table_name ) as DatabaseTable,
key case length( bukrs )
when 4 then ( concat(mandt, concat(bukrs, concat(belnr, gjahr) ) ) )
when 3 then ( concat(mandt, concat_with_space(bukrs, concat(belnr, gjahr), 1 ) ) )
when 2 then ( concat(mandt, concat_with_space(bukrs, concat(belnr, gjahr), 2 ) ) )
when 1 then ( concat(mandt, concat_with_space(bukrs, concat(belnr, gjahr), 3 ) ) )
else ( concat(mandt, concat_with_space(bukrs, concat(belnr, gjahr), 4 ) ) )
end as ChangeDocumentTableKey,
AccDocHdr.bukrs as CompanyCode,
cast( AccDocHdr.belnr as farp_belnr_d ) as AccountingDocument,
AccDocHdr.gjahr as FiscalYear,
cast( AccDocHdr.blart as farp_blart ) as AccountingDocumentType,
AccDocHdr.rldnr as Ledger
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"BKPF"
],
"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