C_CustomerCompanyCodeTP
Customer Company Code
C_CustomerCompanyCodeTP is a Consumption CDS View that provides data about "Customer Company Code" in SAP S/4HANA. It reads from 1 data source (I_CustomerCompanyCodeTP) and exposes 56 fields with key fields CompanyCode, BusinessPartner, Customer.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerCompanyCodeTP | I_CustomerCompanyCodeTP | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Customer Company Code | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | BusinessPartner | BusinessPartner | Issuing Authority | |
| KEY | Customer | Customer | Sold-to Party | |
| BusinessPartnerUUID | BusinessPartnerUUID | UUID | ||
| CompanyCodeForEdit | CompanyCodeForEdit | Company Code | ||
| AccountingClerk | AccountingClerk | Clerk Abbrev. | ||
| ReconciliationAccount | ReconciliationAccount | Recon. account | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| CustomerHeadOffice | CustomerHeadOffice | Head Office | ||
| AlternativePayerAccount | AlternativePayerAccount | Alternat.payer | ||
| PaymentBlockingReason | PaymentBlockingReason | Pmnt block | ||
| InterestCalculationCode | InterestCalculationCode | Interest Indic. | ||
| InterestCalculationDate | InterestCalculationDate | Last Key Date | ||
| IntrstCalcFrequencyInMonths | IntrstCalcFrequencyInMonths | Int.Calc.Freq. | ||
| LastInterestCalcRunDate | LastInterestCalcRunDate | Last Int. Calc. | ||
| CustomerAccountNote | CustomerAccountNote | Account Memo | ||
| APARToleranceGroup | APARToleranceGroup | Tolerance Group | ||
| HouseBank | HouseBank | House Bank | ||
| ItemIsToBePaidSeparately | ItemIsToBePaidSeparately | Individual Payt | ||
| PaytAdviceIsSentbyEDI | PaytAdviceIsSentbyEDI | Pmt adv. by EDI | ||
| PhysicalInventoryBlockInd | PhysicalInventoryBlockInd | Phys. Inv. Blk | ||
| UserAtCustomer | UserAtCustomer | Customer user | ||
| AccountingClerkPhoneNumber | AccountingClerkPhoneNumber | Act.clk tel.no. | ||
| AccountingClerkFaxNumber | AccountingClerkFaxNumber | Clerk's fax | ||
| AccountingClerkInternetAddress | AccountingClerkInternetAddress | Clrk's internet | ||
| AccountByCustomer | AccountByCustomer | Acct at cust. | ||
| IsToBeLocallyProcessed | IsToBeLocallyProcessed | Local Process. | ||
| CollectiveInvoiceVariant | CollectiveInvoiceVariant | Coll.Invce.Var. | ||
| LayoutSortingRule | LayoutSortingRule | Sort key | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| CreditMemoPaymentTerms | CreditMemoPaymentTerms | Cr Memo Terms | ||
| CustomerSupplierClearingIsUsed | CustomerSupplierClearingIsUsed | Clrg with vend. | ||
| RecordPaymentHistoryIndicator | RecordPaymentHistoryIndicator | Rec.Payt Hist. | ||
| PaymentMethodsList | PaymentMethodsList | Payment Methods | ||
| CashPlanningGroup | CashPlanningGroup | Planning Group | ||
| WithholdingTaxCountry | WithholdingTaxCountry | WTax C/R Key | ||
| ValueAdjustmentKey | ValueAdjustmentKey | Value Adj. Key | ||
| KnownOrNegotiatedLeave | KnownOrNegotiatedLeave | Known/Neg.Leave | ||
| ExtendedWhldgTaxIsActive | ExtendedWhldgTaxIsActive | Extended WTax Active | ||
| Country | Country | Venue: Ctry/Reg | ||
| CompanyCodeName | CompanyCodeName | Company Name | ||
| SupplierReleaseGroup | SupplierReleaseGroup | Release Group | ||
| PersonnelNumber | PersonnelNumber | Personnel No. | ||
| BuyingGroupAccountNumber | BuyingGroupAccountNumber | Buying Group | ||
| BillExchChargePaymentTerms | BillExchChargePaymentTerms | BoE Chrges Trms | ||
| CheckPaidDurationInDays | CheckPaidDurationInDays | Chk cashng time | ||
| CustomerPaymentBlockingReason | CustomerPaymentBlockingReason | Payment Block | ||
| PaymentMethodSupplement | PaymentMethodSupplement | Pmnt Meth. Sup. | ||
| AcctsReceivablePledgingCode | AcctsReceivablePledgingCode | AR Pledging Ind | ||
| LockboxInternalID | LockboxInternalID | Lockbox | ||
| CustPreviousMasterRecordNumber | CustPreviousMasterRecordNumber | Prev.Acct No. | ||
| PaymentClearingGroup | PaymentClearingGroup | Payment Clrg Grp ID | ||
| PaymentReason | PaymentReason | Payment Reason | ||
| DeletionIsBlocked | DeletionIsBlocked | CoCd del.block | ||
| BPHasActiveEntity | BPHasActiveEntity | Is active | ||
| _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 C_CustomerCompanyCodeTP.
-- 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 C_CustomerCompanyCodeTP AS
SELECT
CompanyCode,
BusinessPartner,
Customer,
BusinessPartnerUUID,
CompanyCodeForEdit,
AccountingClerk,
ReconciliationAccount,
AuthorizationGroup,
CustomerHeadOffice,
AlternativePayerAccount,
PaymentBlockingReason,
InterestCalculationCode,
InterestCalculationDate,
IntrstCalcFrequencyInMonths,
LastInterestCalcRunDate,
CustomerAccountNote,
APARToleranceGroup,
HouseBank,
ItemIsToBePaidSeparately,
PaytAdviceIsSentbyEDI,
PhysicalInventoryBlockInd,
UserAtCustomer,
AccountingClerkPhoneNumber,
AccountingClerkFaxNumber,
AccountingClerkInternetAddress,
AccountByCustomer,
IsToBeLocallyProcessed,
CollectiveInvoiceVariant,
LayoutSortingRule,
PaymentTerms,
CreditMemoPaymentTerms,
CustomerSupplierClearingIsUsed,
RecordPaymentHistoryIndicator,
PaymentMethodsList,
CashPlanningGroup,
WithholdingTaxCountry,
ValueAdjustmentKey,
KnownOrNegotiatedLeave,
ExtendedWhldgTaxIsActive,
Country,
CompanyCodeName,
SupplierReleaseGroup,
PersonnelNumber,
BuyingGroupAccountNumber,
BillExchChargePaymentTerms,
CheckPaidDurationInDays,
CustomerPaymentBlockingReason,
PaymentMethodSupplement,
AcctsReceivablePledgingCode,
LockboxInternalID,
CustPreviousMasterRecordNumber,
PaymentClearingGroup,
PaymentReason,
DeletionIsBlocked,
BPHasActiveEntity
FROM I_CustomerCompanyCodeTP
;
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