C_CustomerCompanyCodeTP

DDL: C_CUSTOMERCOMPANYCODETP Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
I_CustomerCompanyCodeTP I_CustomerCompanyCodeTP from

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;