I_BillingDocItemPartnerBasic
Billing Document Item Partner Basic
I_BillingDocItemPartnerBasic is a Basic CDS View that provides data about "Billing Document Item Partner Basic" in SAP S/4HANA. It reads from 2 data sources (I_BillingDocumentItemBasic, I_SDDocumentItemPartner) and exposes 22 fields with key fields BillingDocument, BillingDocumentItem, PartnerFunction. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentItemBasic | BillingDocumentItem | inner |
| I_SDDocumentItemPartner | Partner | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillingDocumentBasic | _BillingDocumentBasic | $projection.BillingDocument = _BillingDocumentBasic.BillingDocument |
| [1..1] | I_BillingDocumentItemBasic | _ItemBasic | $projection.BillingDocument = _ItemBasic.BillingDocument and $projection.BillingDocumentItem = _ItemBasic.BillingDocumentItem |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Billing Document Item Partner Basic | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | ISDBILDOCITPTBC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.representativeKey | PartnerFunction | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | |||
| KEY | BillingDocumentItem | I_BillingDocumentItemBasic | BillingDocumentItem | Item |
| KEY | PartnerFunction | I_SDDocumentItemPartner | PartnerFunction | Partner Functn |
| Customer | I_SDDocumentItemPartner | Customer | Sold-to Party | |
| Supplier | I_SDDocumentItemPartner | Supplier | Supplier | |
| Personnel | I_SDDocumentItemPartner | Personnel | Personnel No. | |
| AddressID | I_SDDocumentItemPartner | AddressID | Ship-to address | |
| ContactPerson | I_SDDocumentItemPartner | ContactPerson | Contact Person Key | |
| AddressPersonID | I_SDDocumentItemPartner | AddressPersonID | Person Number | |
| ReferenceBusinessPartner | I_SDDocumentItemPartner | ReferenceBusinessPartner | Busn. Partner | |
| BPRefAddressIDForDocSpcfcAddr | I_SDDocumentItemPartner | BPRefAddressIDForDocSpcfcAddr | BP Ref. Address Num. | |
| SDDocPartnerAddressRefType | I_SDDocumentItemPartner | SDDocPartnerAddressRefType | Adress ind. | |
| AddressObjectType | I_SDDocumentItemPartner | AddressObjectType | Address Type | |
| VATRegistration | I_SDDocumentItemPartner | VATRegistration | VAT Registration No. | |
| UnloadingPointName | I_SDDocumentItemPartner | UnloadingPointName | Unloading Point Name | |
| _BillingDocumentBasic | _BillingDocumentBasic | |||
| _ItemBasic | _ItemBasic | |||
| _PartnerFunction | I_SDDocumentItemPartner | _PartnerFunction | ||
| _Address | I_SDDocumentItemPartner | _Address | ||
| _BusinessPartnerAddress | I_SDDocumentItemPartner | _BusinessPartnerAddress | ||
| _BPRefAddressForDocSpcfcAddr | I_SDDocumentItemPartner | _BPRefAddressForDocSpcfcAddr | ||
| _DfltAddrRprstn | I_SDDocumentItemPartner | _DfltAddrRprstn |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_BillingDocItemPartnerBasic.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_BillingDocItemPartnerBasic AS
SELECT
cast(Partner.SDDocument as vbeln_vf preserving type ) AS BillingDocument,
BillingDocumentItem.BillingDocumentItem AS BillingDocumentItem,
Partner.PartnerFunction AS PartnerFunction,
Partner.Customer AS Customer,
Partner.Supplier AS Supplier,
Partner.Personnel AS Personnel,
Partner.AddressID AS AddressID,
Partner.ContactPerson AS ContactPerson,
Partner.AddressPersonID AS AddressPersonID,
Partner.ReferenceBusinessPartner AS ReferenceBusinessPartner,
Partner.BPRefAddressIDForDocSpcfcAddr AS BPRefAddressIDForDocSpcfcAddr,
Partner.SDDocPartnerAddressRefType AS SDDocPartnerAddressRefType,
Partner.AddressObjectType AS AddressObjectType,
Partner.VATRegistration AS VATRegistration,
Partner.UnloadingPointName AS UnloadingPointName,
Partner._PartnerFunction AS _PartnerFunction,
Partner._Address AS _Address,
Partner._BusinessPartnerAddress AS _BusinessPartnerAddress,
Partner._BPRefAddressForDocSpcfcAddr AS _BPRefAddressForDocSpcfcAddr,
Partner._DfltAddrRprstn AS _DfltAddrRprstn
FROM I_SDDocumentItemPartner AS Partner
INNER JOIN I_BillingDocumentItemBasic AS BillingDocumentItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BillingDocumentBasic AS _BillingDocumentBasic ON BillingDocument = _BillingDocumentBasic.BillingDocument -- association [1..1]
LEFT OUTER JOIN I_BillingDocumentItemBasic AS _ItemBasic ON BillingDocument = _ItemBasic.BillingDocument AND BillingDocumentItem = _ItemBasic.BillingDocumentItem -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA