P_SupplierWithCompanyCode

DDL: P_SUPPLIERWITHCOMPANYCODE SQL: PSUPPLIERCOCODE Type: view COMPOSITE

P_SupplierWithCompanyCode is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 96 fields with key fields Supplier, CompanyCode.

Data Sources (1)

SourceAliasJoin Type
I_Supplier I_Supplier from

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PSUPPLIERCOCODE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (96)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier
KEY CompanyCode _SupplierCompany CompanyCode
SupplierAccountGroup I_Supplier SupplierAccountGroup
SupplierName I_Supplier SupplierName
SupplierFullName I_Supplier SupplierFullName
IsBusinessPurposeCompleted I_Supplier IsBusinessPurposeCompleted
CreatedByUser I_Supplier CreatedByUser
CreationDate I_Supplier CreationDate
IsOneTimeAccount I_Supplier IsOneTimeAccount
AuthorizationGroup I_Supplier AuthorizationGroup
VATRegistration I_Supplier VATRegistration
AccountIsBlockedForPosting I_Supplier AccountIsBlockedForPosting
TaxJurisdiction I_Supplier TaxJurisdiction
SupplierCorporateGroup I_Supplier SupplierCorporateGroup
Customer I_Supplier Customer
Industry I_Supplier Industry
TaxNumber1 I_Supplier TaxNumber1
TaxNumber2 I_Supplier TaxNumber2
TaxNumber3 I_Supplier TaxNumber3
TaxNumber4 I_Supplier TaxNumber4
TaxNumber5 I_Supplier TaxNumber5
PostingIsBlocked I_Supplier PostingIsBlocked
PurchasingIsBlocked I_Supplier PurchasingIsBlocked
InternationalLocationNumber1 I_Supplier InternationalLocationNumber1
InternationalLocationNumber2 I_Supplier InternationalLocationNumber2
InternationalLocationNumber3 I_Supplier InternationalLocationNumber3
AddressID I_Supplier AddressID
Region I_Supplier Region
OrganizationBPName1 I_Supplier OrganizationBPName1
OrganizationBPName2 I_Supplier OrganizationBPName2
CityName I_Supplier CityName
PostalCode I_Supplier PostalCode
StreetName I_Supplier StreetName
Country I_Supplier Country
SupplierProcurementBlock I_Supplier SupplierProcurementBlock
SuplrQualityManagementSystem I_Supplier SuplrQualityManagementSystem
SuplrQltyInProcmtCertfnValidTo I_Supplier SuplrQltyInProcmtCertfnValidTo
SupplierLanguage I_Supplier SupplierLanguage
AlternativePayeeAccountNumber I_Supplier AlternativePayeeAccountNumber
PhoneNumber1 I_Supplier PhoneNumber1
FaxNumber I_Supplier FaxNumber
IsNaturalPerson I_Supplier IsNaturalPerson
TaxNumberResponsible I_Supplier TaxNumberResponsible
UK_ContractorBusinessType I_Supplier UK_ContractorBusinessType
UK_PartnerTradingName I_Supplier UK_PartnerTradingName
UK_PartnerTaxReference I_Supplier UK_PartnerTaxReference
UK_VerificationStatus I_Supplier UK_VerificationStatus
UK_VerificationNumber I_Supplier UK_VerificationNumber
UK_CompanyRegistrationNumber I_Supplier UK_CompanyRegistrationNumber
UK_VerifiedTaxStatus I_Supplier UK_VerifiedTaxStatus
FormOfAddress I_Supplier FormOfAddress
ReferenceAccountGroup I_Supplier ReferenceAccountGroup
VATLiability I_Supplier VATLiability
ResponsibleType I_Supplier ResponsibleType
TaxNumberType I_Supplier TaxNumberType
FiscalAddress I_Supplier FiscalAddress
BusinessType I_Supplier BusinessType
BirthDate I_Supplier BirthDate
PaymentIsBlockedForSupplier I_Supplier PaymentIsBlockedForSupplier
SortField I_Supplier SortField
PhoneNumber2 I_Supplier PhoneNumber2
DeletionIndicator I_Supplier DeletionIndicator
TradingPartner I_Supplier TradingPartner
TaxInvoiceRepresentativeName I_Supplier TaxInvoiceRepresentativeName
IndustryType I_Supplier IndustryType
IN_GSTSupplierClassification I_Supplier IN_GSTSupplierClassification
LayoutSortingRule _SupplierCompany LayoutSortingRule
ReconciliationAccount _SupplierCompany ReconciliationAccount
PaymentMethodsList _SupplierCompany PaymentMethodsList
AccountingClerk _SupplierCompany AccountingClerk
AccountingClerkFaxNumber _SupplierCompany AccountingClerkFaxNumber
SupplierClerkURL _SupplierCompany SupplierClerkURL
AccountingClerkPhoneNumber _SupplierCompany AccountingClerkPhoneNumber
SuplrCoCodePaymentTerms _SupplierCompany PaymentTerms
PaymentBlockingReason _SupplierCompany PaymentBlockingReason
SuplrIsDeltdCoCode _SupplierCompany DeletionIndicator
CashPlanningGroup _SupplierCompany CashPlanningGroup
IsToBeCheckedForDuplicates _SupplierCompany IsToBeCheckedForDuplicates
CompanyCodeName _SupplierCompany CompanyCodeName
SupplierIsBlockedForPosting _SupplierCompany SupplierIsBlockedForPosting
WithholdingTaxCountry _SupplierCompany WithholdingTaxCountry
PreviousAccountNumber _SupplierCompany PreviousAccountNumber
SupplierReleaseGroup _SupplierCompany SupplierReleaseGroup
MinorityGroup _SupplierCompany MinorityGroup
AlternativePayee _SupplierCompany AlternativePayee
SupplierAccountNote _SupplierCompany SupplierAccountNote
_CorrespondingCustomer I_Supplier _CorrespondingCustomer
_Industry I_Supplier _Industry
_ProcurementBlock I_Supplier _ProcurementBlock
_QualityManagementSystem I_Supplier _QualityManagementSystem
_StandardAddress I_Supplier _StandardAddress
_SupplierAccountGroup I_Supplier _SupplierAccountGroup
_SupplierAccountGroupText I_Supplier _SupplierAccountGroupText
_SupplierBankDetails I_Supplier _SupplierBankDetails
_SupplierIndustryText I_Supplier _SupplierIndustryText
_SupplierToBusinessPartner I_Supplier _SupplierToBusinessPartner
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'PSUPPLIERCOCODE'
@Metadata.ignorePropagatedAnnotations: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.preserveKey:true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel: {
   usageType.serviceQuality: #C,
   usageType.sizeCategory: #S,
   usageType.dataClass: #MIXED
}
define view P_SupplierWithCompanyCode
  as select from I_Supplier

{
  key Supplier                           as Supplier,
  key _SupplierCompany.CompanyCode       as CompanyCode,
      I_Supplier.SupplierAccountGroup,
      I_Supplier.SupplierName,
      I_Supplier.SupplierFullName,
      I_Supplier.IsBusinessPurposeCompleted,
      I_Supplier.CreatedByUser,
      I_Supplier.CreationDate,
      I_Supplier.IsOneTimeAccount,
      I_Supplier.AuthorizationGroup,
      I_Supplier.VATRegistration,
      I_Supplier.AccountIsBlockedForPosting,
      I_Supplier.TaxJurisdiction,
      I_Supplier.SupplierCorporateGroup,
      I_Supplier.Customer,
      I_Supplier.Industry,
      I_Supplier.TaxNumber1,
      I_Supplier.TaxNumber2,
      I_Supplier.TaxNumber3,
      I_Supplier.TaxNumber4,
      I_Supplier.TaxNumber5,
      I_Supplier.PostingIsBlocked,
      I_Supplier.PurchasingIsBlocked,
      I_Supplier.InternationalLocationNumber1,
      I_Supplier.InternationalLocationNumber2,
      I_Supplier.InternationalLocationNumber3,
      I_Supplier.AddressID,
      I_Supplier.Region,
      I_Supplier.OrganizationBPName1,
      I_Supplier.OrganizationBPName2,
      I_Supplier.CityName,
      I_Supplier.PostalCode,
      I_Supplier.StreetName,
      I_Supplier.Country,
      I_Supplier.ConcatenatedInternationalLocNo,
      I_Supplier.SupplierProcurementBlock,
      I_Supplier.SuplrQualityManagementSystem,
      I_Supplier.SuplrQltyInProcmtCertfnValidTo,
      I_Supplier.SupplierLanguage,
      I_Supplier.AlternativePayeeAccountNumber,
      I_Supplier.PhoneNumber1,
      I_Supplier.FaxNumber,
      I_Supplier.IsNaturalPerson,
      I_Supplier.TaxNumberResponsible,
      I_Supplier.UK_ContractorBusinessType,
      I_Supplier.UK_PartnerTradingName,
      I_Supplier.UK_PartnerTaxReference,
      I_Supplier.UK_VerificationStatus,
      I_Supplier.UK_VerificationNumber,
      I_Supplier.UK_CompanyRegistrationNumber,
      I_Supplier.UK_VerifiedTaxStatus,
      I_Supplier.FormOfAddress,
      I_Supplier.ReferenceAccountGroup,
      I_Supplier.VATLiability,
      I_Supplier.ResponsibleType,
      I_Supplier.TaxNumberType,
      I_Supplier.FiscalAddress,
      I_Supplier.BusinessType,
      I_Supplier.BirthDate,
      I_Supplier.PaymentIsBlockedForSupplier,
      I_Supplier.SortField,
      I_Supplier.PhoneNumber2,
      I_Supplier.DeletionIndicator,
      I_Supplier.TradingPartner,
      I_Supplier.TaxInvoiceRepresentativeName,
      I_Supplier.IndustryType,
      I_Supplier.IN_GSTSupplierClassification,
      //       I_Supplier.SuplrProofOfDelivRlvtCode,


      _SupplierCompany.LayoutSortingRule,
      _SupplierCompany.ReconciliationAccount,
      _SupplierCompany.PaymentMethodsList,
      _SupplierCompany.AccountingClerk,
      _SupplierCompany.AccountingClerkFaxNumber,
      _SupplierCompany.SupplierClerkURL,
      _SupplierCompany.AccountingClerkPhoneNumber,
      _SupplierCompany.PaymentTerms as SuplrCoCodePaymentTerms,      
      _SupplierCompany.PaymentBlockingReason,
      _SupplierCompany.DeletionIndicator as SuplrIsDeltdCoCode,
      _SupplierCompany.CashPlanningGroup,
      _SupplierCompany.IsToBeCheckedForDuplicates,
      _SupplierCompany.CompanyCodeName,
      _SupplierCompany.SupplierIsBlockedForPosting,
      _SupplierCompany.WithholdingTaxCountry,
      _SupplierCompany.PreviousAccountNumber,
      _SupplierCompany.SupplierReleaseGroup,
      _SupplierCompany.MinorityGroup,
      _SupplierCompany.AlternativePayee,
      _SupplierCompany.SupplierAccountNote,

      I_Supplier._CorrespondingCustomer,
      I_Supplier._Industry,
      I_Supplier._ProcurementBlock,
      I_Supplier._QualityManagementSystem,
      I_Supplier._StandardAddress,
      I_Supplier._SupplierAccountGroup,
      I_Supplier._SupplierAccountGroupText,
      I_Supplier._SupplierBankDetails,

      I_Supplier._SupplierIndustryText,
      //                I_Supplier._SupplierPurchasingOrg,

      I_Supplier._SupplierToBusinessPartner

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPLIER",
"I_SUPPLIERCOMPANY"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_CUSTOMER",
"I_INDUSTRIES",
"I_PROCUREMENTBLOCK",
"I_QUALITYMANAGEMENTSYSTEM",
"I_SUPPLIERACCOUNTGROUP",
"I_SUPPLIERACCOUNTGROUPTEXT",
"I_SUPPLIERBANKDETAILS",
"I_SUPPLIERINDUSTRYTEXT",
"I_SUPPLIERTOBUSINESSPARTNER"
],
"BASE":
[
"I_SUPPLIER"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/