I_SUPPLIERCOMPANY

CDS View

Supplier Company

I_SUPPLIERCOMPANY is a CDS View in S/4HANA. Supplier Company. It contains 45 fields. 42 CDS views read from this table.

CDS Views using this table (42)

ViewTypeJoinVDMDescription
A_SupplierCompany view from BASIC Supplier Company
C_Alternativepayeevhtemp view from CONSUMPTION Account Number of Alternative Payee
C_CN_TaxInvcSupplier view left_outer CONSUMPTION China Tax Supplier
C_Customersuppliercompanycode view inner CONSUMPTION Customer/Supplier/Company Code Information
C_DsbldDplInvcFlagSuplr view from CONSUMPTION Duplicate Invoice Flag Disabled Supplier
C_GRC_SuplrCoCodeChangeLog view inner CONSUMPTION Supplier company code change log
C_MrkdDeltnNoPostgBlkSuplr view from CONSUMPTION Marked Delete No Posting Block Supplier
C_NoClrgCustomerSupplier view from CONSUMPTION No Clearing with Customer Supplier
C_NoPaymentMethodSupplier view from CONSUMPTION Supplier With No Payment Method
C_NoRecnclnAcctSupplier view from CONSUMPTION No Reconciliation Account Supplier
C_NotInCoCodeCntrySupplier view from CONSUMPTION Supplier not registered in CountryRegion
C_RO_SAFTOwner view inner CONSUMPTION RO SAFT Owner IDs
C_SuplrPaytBlkBlkdItmsAggrgn view inner CONSUMPTION Total Amount and Count of Blocked Items
C_SuplrPaytBlkOpnItmsAggrgn view inner CONSUMPTION Total Amount and Count of Open Items
C_SupplierCompanyData view from CONSUMPTION Supplier Company Data
C_SupplierDplInvcChkSttg view_entity from CONSUMPTION Suppliers Double Invoice Check Disabled
FAC_Audit_Z3_Vendor_Bank view from Vendor Bank Data
FAC_DART_Z3_VENDOR view from Vendor Master Data
I_BPAddlSuplrCompanyCodeTP view from TRANSACTIONAL BO view for Company Code for Suppliers
I_BPSupplierCompanyGov view_entity union_all COMPOSITE BP Supplier Company Data Governance
I_BusinessPartnerSuplrCo view from BASIC Core CDS view of Supplier Company Code
I_EmlTmplCustSuplrCompanyCode view inner COMPOSITE Email Template Data Provider
I_HeadOfficeVH view from BASIC Head Office Account Number
I_SupplierCompanyByPlant view inner COMPOSITE Supplier Company by Plant
I_SupplierCompanyVH view from COMPOSITE Supplier Company
I_SupplierPaymentBlockTP view from TRANSACTIONAL Supplier Payment Blocks - TP
I_TaxAuthorityValueHelp view_entity inner COMPOSITE Tax Authority
I_US_StrpWhldgTaxItem view left_outer COMPOSITE Withholding Tax View for US
MMIMSupplierGeneralVH view from Value Help for Supplier general
P_APLineItemMixedAccount view from BASIC
P_CN_CADESupplier view from CONSUMPTION
P_CoCodePurchasingOrganization view inner COMPOSITE
P_CorrespondenceSupplier view from CONSUMPTION Supplier for Create Correspondence
P_CPBUPAEMAILALL view union CONSUMPTION Business Partner Emails from all sources
P_IN_SuplrGSTHlthChk view_entity from COMPOSITE Supplier GST India Health Check
P_NO_SAFTJournalCustSupMD view inner COMPOSITE SAF-T Norway Journal Item BP Master Data
P_RecrrgSuplrInvcInvcgPtyVH view from BASIC
P_RU_CustomerSupplierDataComp view inner CONSUMPTION
P_RU_SupplierCompanyData view inner CONSUMPTION
P_SuplrCoCodePurgOrganization view inner COMPOSITE
P_SuplrCoCodePurgOrganization view union_all COMPOSITE
P_WLF_CDS_LFB1_BG view from BASIC

Fields (45)

KeyField CDS FieldsUsed in Views
KEY CompanyCode company_code,CompanyCode,CompanyCodeForEdit 17
KEY Supplier ContactPerson,Creditor,Supplier,SupplierForEdit,vendor_account 11
_CompanyCode _CompanyCode 1
_Supplier _Supplier 3
AccountingClerk AccountingClerk 2
AccountingClerkFaxNumber AccountingClerkFaxNumber 1
AccountingClerkInternetAddress AccountingClerkInternetAddress 1
AccountingClerkPhoneNumber AccountingClerkPhoneNumber 1
AlternativePayee AlternativePayee 3
APARToleranceGroup APARToleranceGroup 2
AuthorizationGroup AuthorizationGroup,CoCodeSpcfcAuthorizationGroup,SupplierCompanyAuthznGroup,SupplierFinsAuthorizationGrp,vendor_begru 11
BillOfExchLmtAmtInCoCodeCrcy BillOfExchLmtAmtInCoCodeCrcy 1
CashPlanningGroup CashPlanningGroup 1
CheckPaidDurationInDays CheckPaidDurationInDays 1
ClearCustomerSupplier ClearCustomerSupplier 2
CreditMemoPaymentTerms CreditMemoPaymentTerms 1
Currency Currency 2
CustomerSupplierClearingIsUsed CustomerSupplierClearingIsUsed 2
DeletionIndicator DeletionIndicator 1
HouseBank HouseBank 1
InterestCalculationCode InterestCalculationCode 2
InterestCalculationDate InterestCalculationDate 2
IntrstCalcFrequencyInMonths IntrstCalcFrequencyInMonths 2
IsBusinessPurposeCompleted IsBusinessPurposeCompleted 3
IsDoubleInvoice IsDoubleInvoice 2
IsToBeLocallyProcessed IsToBeLocallyProcessed 1
ItemIsToBePaidSeparately ItemIsToBePaidSeparately 2
LastInterestCalcRunDate LastInterestCalcRunDate 1
LayoutSortingRule LayoutSortingRule 1
MinorityGroup MinorityGroup 2
PaymentBlockingReason PaymentBlockingReason 4
PaymentClearingGroup PaymentClearingGroup 1
PaymentIsToBeSentByEDI PaymentIsToBeSentByEDI 2
PaymentMethodsList PaymentMethodsList 3
PaymentMethodSupplement PaymentMethodSupplement 1
PaymentTerms PaymentTerms 2
ReconciliationAccount GLAccount,ReconciliationAccount 5
SupplierAccountNote SupplierAccountNote 2
SupplierCertificationDate SupplierCertificationDate 1
SupplierClerk SupplierClerk 1
SupplierClerkIDBySupplier SupplierClerkIDBySupplier 1
SupplierHeadOffice SupplierHeadOffice 3
SupplierIsBlockedForPosting SupplierIsBlockedForPosting 2
SupplierReleaseGroup SupplierReleaseGroup 1
WithholdingTaxCountry WithholdingTaxCountry 1
@EndUserText.label: 'Supplier Company'
//@Analytics.dataCategory: #FACT //or #CUBE or #FACT

/*@Analytics : {
          dataCategory: #FACT,
          dataExtraction: {
           enabled: true,
           delta.changeDataCapture: {
           automatic: true
           }
         }
       }*/ 
@Analytics: {
    dataCategory: #FACT, 
    dataExtraction: {
        enabled: true,
        delta.changeDataCapture: {
            mapping:[
                
                {
                    table: 'lfb1', role: #MAIN,
                    viewElement: ['Supplier' ,'CompanyCode'],
                    tableElement: ['lifnr', 'bukrs']
                },
               
                {
                    table: 't001', role: #LEFT_OUTER_TO_ONE_JOIN,
                    viewElement: ['CompanyCode'],
                    tableElement: ['bukrs']
                }                              
            ]
        }
    }
 }       
@VDM.viewType: #BASIC
//@Search.searchable: true

@ClientHandling.algorithm : #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.personalData.blockingIndicator: 'IsBusinessPurposeCompleted'

@AbapCatalog.sqlViewName: 'ISUPPLCOMPANY'
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #CDS_MODELING_ASSOCIATION_TARGET,
                                     #EXTRACTION_DATA_SOURCE]
@ObjectModel.modelingPattern: #NONE                                    
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.representativeKey:'CompanyCode'
@AbapCatalog.preserveKey:true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.sapObjectNodeType.name: 'SupplierCompanyCode'
define view I_SupplierCompany
  as select from lfb1

  association [1..1] to I_Supplier                  as _Supplier                  on  $projection.Supplier = _Supplier.Supplier

  association [0..1] to I_CompanyCode               as _CompanyCode               on  $projection.CompanyCode = _CompanyCode.CompanyCode

  association [0..1] to I_PaymentBlockingReason     as _PaymentBlockingReason     on  $projection.PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason

  association [0..1] to I_ToleranceGroupText        as _APARToleranceGroupName    on  $projection.CompanyCode          = _APARToleranceGroupName.CompanyCode
                                                                                  and _APARToleranceGroupName.Language = $session.system_language
                                                                                  and $projection.APARToleranceGroup   = _APARToleranceGroupName.APARToleranceGroup

  association [0..*] to I_PaymentTermsText          as _PaymentTermsText          on  $projection.PaymentTerms = _PaymentTermsText.PaymentTerms

  association [0..*] to I_PaymentBlockingReasonText as _PaymentBlockingReasonText on  $projection.PaymentTerms = _PaymentBlockingReasonText.PaymentBlockingReason

  association [0..*] to I_Businesspartnerwhldgtax   as _WithholdingTax            on  $projection.Supplier    = _WithholdingTax.Supplier
                                                                                  and $projection.CompanyCode = _WithholdingTax.CompanyCode
                                                                                  
  association [0..1] to E_SUPCO_D                   as _SupplierCoExt             on  $projection.CompanyCode = _SupplierCoExt.CompanyCode
                                                                                  and $projection.Supplier    = _SupplierCoExt.Supplier
    
{

      //--[ GENERATED:012:GlBfhyJl7kY4i6}7dD1KRG

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_Supplier_VH',
                     element: 'Supplier' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_Supplier'
  key lifnr                        as Supplier,
      //--[ GENERATED:012:GlBfhyJl7kY4i6}7dD1KRG

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CompanyCodeStdVH',
                     element: 'CompanyCode' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_CompanyCode'
  key bukrs                        as CompanyCode,
      begru                        as AuthorizationGroup,
      //@VDM.deprecated: true    //Use _Companycode to expose the feild

      @Consumption.hidden: true
      _CompanyCode.CompanyCodeName as CompanyCodeName,
      zahls                        as PaymentBlockingReason,
      sperr                        as SupplierIsBlockedForPosting,
      cvp_xblck_b                  as IsBusinessPurposeCompleted,
      busab                        as AccountingClerk,
      tlfxs                        as AccountingClerkFaxNumber,
      tlfns                        as AccountingClerkPhoneNumber,
      intad                        as AccountingClerkInternetAddress,
      zsabe                        as SupplierClerk,
      intad                        as SupplierClerkURL,
      zwels                        as PaymentMethodsList,
      zterm                        as PaymentTerms,
      xverr                        as ClearCustomerSupplier,
      xdezv                        as IsToBeLocallyProcessed,
      xpore                        as ItemIsToBePaidSeparately,
      xedip                        as PaymentIsToBeSentByEDI,
      hbkid                        as HouseBank,
      kultg                        as CheckPaidDurationInDays,
      @Semantics.currencyCode: true
      _CompanyCode.Currency        as Currency,
      @Semantics.amount.currencyCode: 'Currency'
      webtr                        as BillOfExchLmtAmtInCoCodeCrcy,
      eikto                        as SupplierClerkIDBySupplier,
      reprf                        as IsDoubleInvoice,
      xverr                        as CustomerSupplierClearingIsUsed,
      akont                        as ReconciliationAccount,
      vzskz                        as InterestCalculationCode,
      zindt                        as InterestCalculationDate,
      zinrt                        as IntrstCalcFrequencyInMonths,
      lnrze                        as SupplierHeadOffice,
      lnrzb                        as AlternativePayee,
      zuawa                        as LayoutSortingRule,
      togru                        as APARToleranceGroup,
      togrr                        as SuplrInvcVerificatTolGroup,
      cerdt                        as SupplierCertificationDate,
      kverm                        as SupplierAccountNote,
      qland                        as WithholdingTaxCountry,

      loevm                        as DeletionIndicator,
      fdgrv                        as CashPlanningGroup,
      reprf                        as IsToBeCheckedForDuplicates,

      pernr                        as PersonnelNumber,
      altkn                        as PreviousAccountNumber,
      mindk                        as MinorityGroup,
      datlz                        as LastInterestCalcRunDate,
      
      us_partnership_ind           as US_ForeignSuplrHasPartnership,
      us_tin_notice                as US_SecondTINNoticeIsIssued,
      us_lob_code                  as US_ForeignSuplrLmtnOnBnftCode,
      frgrp                        as SupplierReleaseGroup,
      guzte                        as CreditMemoPaymentTerms,
      
     
      uzawe                        as PaymentMethodSupplement,
      us_fatca_ind                 as US_FrgnAcctTaxFilingIsRequired,
      us_ftid                      as US_RecipientForeignTaxID,
      us_w9_recvdate               as US_FW9ReceiveDate,
      us_w8_recvdate               as US_FW8BENReceiveDate,
      us_rec_country               as US_FrgnAcctTaxRcpntCntry,
      us_giin                      as US_GlobIntermediaryIdnNumber,
      us_lob_code                  as US_LobTreatyCode,   
      us_chap4_status_code         as US_Chapter4StatusCode,
      
      paymentclearinggrpid         as PaymentClearingGroup, 
      paytrsn                      as PaymentReason,
      nodel                        as DeletionIsBlocked,
      
      //for extensibility

      cast( 'X' as sdraft_is_active preserving type )                  as  IsActiveEntity,  
      
      _PaymentBlockingReason,
      _PaymentBlockingReasonText,
      _PaymentTermsText,
      _APARToleranceGroupName,
      _WithholdingTax,
      _CompanyCode,
      _Supplier
      
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"LFB1"
],
"ASSOCIATED":
[
"E_SUPCO_D",
"I_BUSINESSPARTNERWHLDGTAX",
"I_COMPANYCODE",
"I_PAYMENTBLOCKINGREASON",
"I_PAYMENTBLOCKINGREASONTEXT",
"I_PAYMENTTERMSTEXT",
"I_SUPPLIER",
"I_TOLERANCEGROUPTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/