R_CustomerCompanyCodeDraft

DDL: R_CUSTOMERCOMPANYCODEDRAFT Type: view_entity BASIC

Customer Company Code - Draft

R_CustomerCompanyCodeDraft is a Basic CDS View that provides data about "Customer Company Code - Draft" in SAP S/4HANA. It reads from 1 data source (bupa_custco_d) and exposes 65 fields with key fields CompanyCode, BusinessPartner, Customer, DraftUUID.

Data Sources (1)

SourceAliasJoin Type
bupa_custco_d bupa_custco_d from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer Company Code - Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode companycode Receiver Company Code
KEY BusinessPartner businesspartner Issuing Authority
KEY Customer customer Sold-to Party
KEY DraftUUID draftuuid UUID
CompanyCodeForEdit companycodeforedit Company Code
ParentDraftUUID parentdraftuuid NodeID
BusinessPartnerUUID businesspartneruuid UUID
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
BusinessPartnerDraftUUID businesspartnerdraftuuid Draft Document ID
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
IsBusinessPurposeCompleted isbusinesspurposecompleted Purpose Completed
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes

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 R_CustomerCompanyCodeDraft.
-- 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 R_CustomerCompanyCodeDraft AS
SELECT
  CompanyCode,
  BusinessPartner,
  Customer,
  DraftUUID,
  CompanyCodeForEdit,
  ParentDraftUUID,
  BusinessPartnerUUID,
  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,
  BusinessPartnerDraftUUID,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  IsBusinessPurposeCompleted,
  HasActiveEntity,
  DraftFieldChanges
FROM bupa_custco_d
;