I_BillingDocItemPartner
Billing Document Item Partner
I_BillingDocItemPartner (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Sales
I_BillingDocItemPartner is a Composite CDS View that provides data about "Billing Document Item Partner" in SAP S/4HANA. It reads from 1 data source (I_BillingDocItemPartnerBasic) and exposes 19 fields with key fields BillingDocument, BillingDocumentItem, PartnerFunction. It has 2 associations to related views. Part of development package VDM_SD_BIL_BD.
SAP Help Documentation
| Category | Billing Documents |
|---|
This CDS view provides the prerequisites for answering questions about billing document partners at item level. Example business questions could include: What are the partner functions specified in a given billing document item? Who is the customer or contact person for a given billing document item? What is the address of a partner in a given billing document item? Note If you want to retrieve data from preliminary billing documents, billing document requests, or invoice lists, you can use the Billing Process Document view (see Related Information below). In addition, you can use the views Billing Document Request , Preliminary Billing Document , and Invoice List .
Prerequisites
Authorizations One of the following business catalogs must be assigned to a user to be able to use this CDS view: Sales - Billing Documents ( SAP_SD_BC_BIL_DOC_PC ) Sales - Billing Document Display ( SAP_SD_BC_BIL_DOC_DISPL_PC )
Structure
Business Objects This view is built on the following business objects: BillingDocument This view is based on the I_SDDocumentItemPartner view. You can use BillingDocument , BillingDocumentItem , and PartnerFunction . Main input parameters This view has no input parameters. Measures and attributes The view contains the following attributes: Billing document number ( BillingDocument ) Billing document item number ( BillingDocumentitem ) Partner function ( PartnerFunction ) Customer number ( Customer ) Supplier account number ( Supplier ) Personnel number ( Personnel ) Contact person number ( ContactPerson ) Partner address ( AdressID )
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Sales |
| Application Component | SD-BIL-BD-2CL |
| Capabilities | Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Sales for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides the prerequisites for answering questions about billing document partners at item level. Example business questions could include:</p> <ul> <li> <p>What are the partner functions specified in a given billing document item?</p> </li> <li> <p>Who is the customer or contact person for a given billing document item?</p> </li> <li> <p>What is the address of a partner in a given billing document item?</p> </li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocItemPartnerBasic | Partner | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillingDocument | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
| [1..1] | I_BillingDocumentItem | _Item | $projection.BillingDocument = _Item.BillingDocument and $projection.BillingDocumentItem = _Item.BillingDocumentItem |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | ISDBILDOCITPT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Billing Document Item Partner | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | PartnerFunction | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | I_BillingDocItemPartnerBasic | BillingDocument | Billing Document |
| KEY | BillingDocumentItem | I_BillingDocItemPartnerBasic | BillingDocumentItem | Billing Item |
| KEY | PartnerFunction | I_BillingDocItemPartnerBasic | PartnerFunction | Partner Function |
| Customer | I_BillingDocItemPartnerBasic | Customer | Customer Number | |
| Supplier | I_BillingDocItemPartnerBasic | Supplier | Account Number of Supplier | |
| Personnel | I_BillingDocItemPartnerBasic | Personnel | Personnel Number | |
| AddressID | I_BillingDocItemPartnerBasic | AddressID | Ship-to address | |
| ContactPerson | I_BillingDocItemPartnerBasic | ContactPerson | Number of Contact Person | |
| AddressPersonID | I_BillingDocItemPartnerBasic | AddressPersonID | Person Number | |
| ReferenceBusinessPartner | I_BillingDocItemPartnerBasic | ReferenceBusinessPartner | Business Partner Number | |
| BPRefAddressIDForDocSpcfcAddr | I_BillingDocItemPartnerBasic | BPRefAddressIDForDocSpcfcAddr | BP Reference Address Number | |
| SDDocPartnerAddressRefType | I_BillingDocItemPartnerBasic | SDDocPartnerAddressRefType | Address indicator | |
| _BillingDocument | _BillingDocument | |||
| _Item | _Item | |||
| _PartnerFunction | I_BillingDocItemPartnerBasic | _PartnerFunction | ||
| _Address | I_BillingDocItemPartnerBasic | _Address | ||
| _BusinessPartnerAddress | I_BillingDocItemPartnerBasic | _BusinessPartnerAddress | ||
| _BPRefAddressForDocSpcfcAddr | I_BillingDocItemPartnerBasic | _BPRefAddressForDocSpcfcAddr | ||
| _DfltAddrRprstn | I_BillingDocItemPartnerBasic | _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_BillingDocItemPartner.
-- 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.
-- SQL view name: ISDBILDOCITPT
CREATE VIEW I_BillingDocItemPartner AS
SELECT
Partner.BillingDocument AS BillingDocument,
Partner.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._PartnerFunction AS _PartnerFunction,
Partner._Address AS _Address,
Partner._BusinessPartnerAddress AS _BusinessPartnerAddress,
Partner._BPRefAddressForDocSpcfcAddr AS _BPRefAddressForDocSpcfcAddr,
Partner._DfltAddrRprstn AS _DfltAddrRprstn
FROM I_BillingDocItemPartnerBasic AS Partner
LEFT OUTER JOIN I_BillingDocument AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument -- association [1..1]
LEFT OUTER JOIN I_BillingDocumentItem AS _Item ON BillingDocument = _Item.BillingDocument AND BillingDocumentItem = _Item.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