I_AcctDocCustomer
Customer Number for Accounting Document
I_AcctDocCustomer is a Composite CDS View that provides data about "Customer Number for Accounting Document" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 9 fields with key fields CompanyCode, FiscalYear, AccountingDocument.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IACCTDOCCUST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Customer Number for Accounting Document | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocument | AccountingDocument | ||
| Customer | ||||
| Supplier | ||||
| BusinessPlace | ||||
| BillingDocument | ||||
| SpecialGLCode | ||||
| IsNegativePosting |
@AbapCatalog.sqlViewName: 'IACCTDOCCUST'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Customer Number for Accounting Document'
define view I_AcctDocCustomer
as select from I_OperationalAcctgDocItem
{
key CompanyCode,
key FiscalYear,
key AccountingDocument,
max(case when Customer is not null then Customer else '' end) as Customer,
max(case when Supplier is not null then Supplier else '' end) as Supplier,
max(case when BusinessPlace is not null then BusinessPlace else '' end) as BusinessPlace,
max(case when BillingDocument is not null then BillingDocument else '' end) as BillingDocument,
max(case when SpecialGLCode is not null then SpecialGLCode else '' end) as SpecialGLCode,
max(case when IsNegativePosting is not null then IsNegativePosting else '' end) as IsNegativePosting
}
group by
CompanyCode,
FiscalYear,
AccountingDocument
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_OPERATIONALACCTGDOCITEM"
],
"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