I_CustomerDunningTP
Customer company code dunning - TP
I_CustomerDunningTP is a Transactional CDS View that provides data about "Customer company code dunning - TP" in SAP S/4HANA. It reads from 1 data source (I_CustomerDunning) and exposes 33 fields with key fields BusinessPartner, CompanyCode, Customer, DunningArea. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerDunning | CustomerDunning | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustomerCompanyCodeTP | _CustomerCompanyCode | $projection.BusinessPartner = _CustomerCompanyCode.BusinessPartner and $projection.Customer = _CustomerCompanyCode.Customer and $projection.CompanyCode = _CustomerCompanyCode.CompanyCode |
| [1..1] | I_Customer_to_BusinessPartner | _CustomerToBusinessPartner | $projection.Customer = _CustomerToBusinessPartner.Customer |
| [1..1] | I_BusinessPartnerCustomerTP_2 | _BusinessPartnerCustomer | $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner and $projection.Customer =_BusinessPartnerCustomer.Customer |
| [1..1] | I_BusinessPartnerTP_2 | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Customer company code dunning - TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | |||
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | Customer | Customer | Sold-to Party | |
| KEY | DunningArea | DunningArea | Dunning Area | |
| BusinessPartnerForEdit | ||||
| CustomerForEdit | Customer | Sold-to Party | ||
| CompanyCodeForEdit | CompanyCode | Receiver Company Code | ||
| DunningAreaForEdit | DunningArea | Dunning Area | ||
| BusinessPartnerUUID | _CustomerToBusinessPartner | BusinessPartnerUUID | UUID | |
| LastDunnedOn | LastDunnedOn | Last Dunned | ||
| DunningProcedure | DunningProcedure | Dunn.Procedure | ||
| DunningLevel | DunningLevel | Dunning Level | ||
| DunningBlock | DunningBlock | Dunn. Block | ||
| DunningRecipient | DunningRecipient | Dunn.Recipient | ||
| LegDunningProcedureOn | LegDunningProcedureOn | Leg.Dunn.Proc. | ||
| DunningClerk | DunningClerk | Dunning Clerk | ||
| CustomerCompanyAuthznGroup | _CustomerCompany | AuthorizationGroup | AuthorizGroup | |
| AuthorizationGroup | _CustomerToBusinessPartner | AuthorizationGroup | AuthorizGroup | |
| IsBusinessPurposeCompleted | ||||
| StandardUsage | ||||
| _Customer | _Customer | |||
| _CustomerCompany | _CustomerCompany | |||
| _DunningArea | _DunningArea | |||
| _DunningAreaText | _DunningAreaText | |||
| _DunningBlock | _DunningBlock | |||
| _DunningBlockText | _DunningBlockText | |||
| _DunningClerk | _DunningClerk | |||
| _DunningProcedure | _DunningProcedure | |||
| _DunningProcedureText | _DunningProcedureText | |||
| _DunningRecipient | _DunningRecipient | |||
| _CustomerCompanyCode | _CustomerCompanyCode | |||
| _BusinessPartnerCustomer | _BusinessPartnerCustomer | |||
| _BusinessPartner | _BusinessPartner |
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_CustomerDunningTP.
-- 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_CustomerDunningTP AS
SELECT
_CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
CompanyCode,
Customer,
DunningArea,
_CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartnerForEdit,
Customer AS CustomerForEdit,
CompanyCode AS CompanyCodeForEdit,
DunningArea AS DunningAreaForEdit,
_CustomerToBusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
LastDunnedOn,
DunningProcedure,
DunningLevel,
DunningBlock,
DunningRecipient,
LegDunningProcedureOn,
DunningClerk,
_CustomerCompany.AuthorizationGroup AS CustomerCompanyAuthznGroup,
_CustomerToBusinessPartner.AuthorizationGroup AS AuthorizationGroup,
_CustomerToBusinessPartner._BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
cast(' ' as boole_d) AS StandardUsage
FROM I_CustomerDunning AS CustomerDunning
LEFT OUTER JOIN I_CustomerCompanyCodeTP AS _CustomerCompanyCode ON BusinessPartner = _CustomerCompanyCode.BusinessPartner AND Customer = _CustomerCompanyCode.Customer AND CompanyCode = _CustomerCompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_Customer_to_BusinessPartner AS _CustomerToBusinessPartner ON Customer = _CustomerToBusinessPartner.Customer -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerCustomerTP_2 AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner AND Customer =_BusinessPartnerCustomer.Customer -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerTP_2 AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- 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