I_BUSINESSPARTNER

CDS View

Business Partner

I_BUSINESSPARTNER is a CDS View in S/4HANA. Business Partner. It contains 112 fields. 203 CDS views read from this table.

CDS Views using this table (203)

ViewTypeJoinVDMDescription
/DCO/R_BizPrtnQuickView view_entity from COMPOSITE Business Partner Quick View
/SCMTMS/CV_BPSupplierCustomer view from View to get Supplier and Cust ID from BP
/SCMTMS/CV_DriverRoot view_entity from Driver Root
/SCMTMS/VE_BPCMN view_entity from BOPF: Business Partner Common TM Data
/SCMTMS/VE_BPORG view_entity from BOPF: Business Partner Organization
A_BusinessPartner view from BASIC Business Partner
A_ChgRecdBusinessPartner view_entity from COMPOSITE Change Record Business Partner
C_BlockedBusinessPartner view from CONSUMPTION Blocked business partner
C_BPHierarchyBPVH view_entity from BPH - Business Partner Value Help
C_BPUsrRelshpBPOrgVH view from BASIC Business User - Value Help for Company Relationship
C_CABillgReqBPAddress view_entity from COMPOSITE Geschäftspartner Adresse
C_ChmlSuplrMatlSupplierContact view from CONSUMPTION Contact Data of Supplier
C_ChmlSuplrMatlSupplierVH view from CONSUMPTION Value Help for Supplier
C_CollsContactPersonForCrteTP view from CONSUMPTION Contact Person for Create
C_CollsMgmtBusinessPartnerVH view_entity from CONSUMPTION Collections Management Business Partner
C_EHSBusinessPartnerAddressVH view from CONSUMPTION CmplRq Permit Issuing Authority
C_EHSBusinessPartnerOrgVH view from CONSUMPTION Business Organization
C_EnPrjPfSrvsMemberContactCard view_entity from CONSUMPTION Profnl Services Project Member Details
C_EntProjMemberContactCard view_entity from CONSUMPTION Enterprise Project Member Details
C_EntProjProfnlSrvcTeamMbrVH view_entity inner CONSUMPTION Professional Service Project Members
C_EntProjProfnlSrvcTimeRecg view_entity inner CONSUMPTION Enterprise Project Time Recording
C_InsurClmBPQuickView view from CONSUMPTION Geschäftspartner für Fallauskunft
C_InsurPlcyBusPartner view_entity from CONSUMPTION Geschäftspartner
C_JITOutbContactPersonOvw view from CONSUMPTION Consumption view for contact person
C_MfgBusinessPartnerVH view inner CONSUMPTION Mfg Business Partner Value Help
C_NL_SAFTJournalItemBP view_entity inner CONSUMPTION Audit File NL Journal Item BP
C_ProdCmplncReqCustomerContact view_entity from CONSUMPTION Customer Contact Card
C_ProdCmplncReqSupplierContact view_entity from CONSUMPTION Supplier Contact Card
C_QA_BPIdentificationType view_entity from CONSUMPTION Qatar BP identification
C_ServiceDocumentBillToPartyVH view_entity from CONSUMPTION Value Help for Bill To Party
C_ServiceDocumentPayerVH view_entity from CONSUMPTION Value Help for Payer
C_ServiceDocumentShipToPartyVH view_entity from CONSUMPTION Value Help for Ship To Party
C_ServiceDocumentSoldToPartyVH view from CONSUMPTION Value Help for Sold To Party
C_ServiceEmployeeVH view_entity from CONSUMPTION Value Help for Service Employee
C_SiteBusinessPartnerVH view from CONSUMPTION BP value help
C_SLCMgmtSupplierPortfolio view left_outer CONSUMPTION Display Suppliers
C_SrvcDocBusinessPartnerVH view from CONSUMPTION Value Help for Business Partner
C_SrvcDocPersonResponsibleVH view_entity from CONSUMPTION Employee Responsible Value Help
C_TransportationCarrierVH view from CONSUMPTION Transportation Carrier VH
C_TranspServiceProviderVH view from CONSUMPTION Carrier or Service Provider
ESH_N_BUSINESSPARTNERS view from Anchor view -BUSINESSPARTNERS
FAC_DART_Z3_C_BP_ADDRESS view inner Business Partner Address for Customer
FAC_DART_Z3_S_BP_ADDRESS view inner Business Partner Address for Supplier
I_ActiveWorkAssignmentsVH view_entity inner COMPOSITE Current active and future work assgmts
I_BankGroup view from COMPOSITE Bank Business Partner
I_BkPaytTransBusinessPartner view inner COMPOSITE Cash Bank Business Partner Payment Transaction Used
I_BkPOAAuthzdRprstvVH view_entity from COMPOSITE Authorized Representatives
I_BPEmployeeWorkplaceAddr view inner BASIC Business Partner Employee Workplace address
I_BusinessPartnerGov view union_all BASIC Business Partner (Governance)
I_BusinessPartnerPerson view from BASIC Business Partner of type person
I_BusinessPartnerPopOver view from COMPOSITE Business Partner PopOver reuse component
I_BusinessPartnerReplication view_entity from COMPOSITE Replication of a Business Partner
I_BusinessPartnerTP view from TRANSACTIONAL Business Partner
I_BusinessPartnerTP_2 view_entity from TRANSACTIONAL View for Business Partner
I_BusinessPartnerTxt view from BASIC CDS View for BUPA Description
I_BusinessPartnerVH view from BASIC Business Partner
I_ChangeRecordContactPerson view_entity from COMPOSITE Change Responsible
I_ChangeRecordPartnerVH view inner COMPOSITE Obsolete: Value help for Change Record Partner
I_CmmdtyIntCounterpartySubAcct view left_outer BASIC Subaccounts assgn. to int. Counterparty
I_CmmdtyOrdReqCounterpartyVH view from BASIC View for Counter Party Details
I_CmmdtySubAcctBrokerVH view from BASIC View for Commodity Subaccount Broker
I_CO_BusinessPartner view_entity inner COMPOSITE Provides BP detailed information
I_CollsBusinessPartnerVH view from COMPOSITE Business Partner VH
I_CommoditySubAccountVH view left_outer COMPOSITE Commodity Subaccount Value Help View
I_ContactsVH view from BASIC Value Help for Contacts
I_ContingentWorker view inner BASIC Contingent Worker
I_ContingentWorker_1 view inner COMPOSITE Contingent Worker
I_CreditAnalystVH view from COMPOSITE Value Help for Crdt Analyst in Crdt Mgmt
I_CreditMgmtBPAddress view from COMPOSITE Address of bus. partner in Cred. Mgmt
I_Employee_2 view_entity inner COMPOSITE Employee
I_EngmntProjBusinessPartner view_entity from COMPOSITE Basic Details of Business Partner
I_EWM_BusinessPartner view_entity from COMPOSITE EWM Business Partner
I_EWM_EntitledPlantMapping view_entity from COMPOSITE Mapping of EWM Party Entitled to Dispose to Plant
I_EWM_StockOwnerVH view_entity from COMPOSITE Stock Owner
I_FMEAPartnerVH view_entity from BASIC Search for FMEA Partner
I_Ftr_Counterparty view from COMPOSITE Counterparty
I_InsurClm1stNotifBP view from COMPOSITE Schadenmeldung - Geschäftspartner
I_InsurClm1stNotifContrValHelp view from COMPOSITE Schadenmeldung - Wertehilfe Vertrag
I_InsurClmBPQuickView view from TRANSACTIONAL Geschäftspartner für Fallauskunft
I_InsurClmPolicyHolderDetail view_entity from COMPOSITE Details of Business Partner
I_InsurCust360CustDetails view from COMPOSITE Customer 360 - Kundeninformationen
I_JITOutbBusinessPartner view from BASIC Interface for Business Partner
I_LglCntntMExtCntctDetails view from COMPOSITE LCM External Contact Details
I_LoanContrBPDetWthDflt view left_outer COMPOSITE Loan Contract Business Partner details with defaulting
I_MDQltyBusinessPartner view from COMPOSITE MDQuality for Business Partner
I_MfgBuyOffProcessorTeamFunc view inner COMPOSITE Buy Off Processor Team Function
I_MstrProjBPContact view from COMPOSITE Master Project Business Partner Contact Details
I_MstrProjManager view inner COMPOSITE Get Project managers
I_MstrProjTeamMember view inner COMPOSITE Master Project Team Member
I_MX_BusinessPartner view_entity inner COMPOSITE Provides BP detailed information
I_NL_SAFTBusinessPartner view inner COMPOSITE SAF-T NL Business Partner
I_NO_SAFTCustomerMasterData view_entity inner COMPOSITE Master data of customers for SAFT
I_NO_SAFTCustomersInPeriod view_entity inner COMPOSITE List of all customers in report period
I_NO_SAFTSupplierMasterData view_entity inner COMPOSITE Master data of suppliers for SAFT
I_NO_SAFTSuppliersInPeriod view_entity inner COMPOSITE List of all customers in report period
I_OutputRecipient view from BASIC Output Recipient for Output Request Item
I_PAYERPAYEE view from BASIC Treasury PayerPayee
I_PersonWorkAgreement_1 view inner COMPOSITE Person Work Agreement Details
I_PersonWorkAgreement_2 view inner COMPOSITE Person Work Agreement Details
I_PMContactCardUser view inner BASIC Contact Card User
I_ProcurementBusinessUser view from BASIC Businessuser in procurement
I_PurchasingCategorySupplier view inner COMPOSITE Purchasing Category Supplier
I_RblsMgmtBPToCustomer view_entity from COMPOSITE Business Partner to Customer Mapping
I_SecurityClassIssuer view from BASIC Security Class Issuer
I_ServiceDocumentBillToPartyVH view_entity from COMPOSITE Business Partners with Bill To Party role
I_ServiceDocumentShipToPartyVH view_entity from COMPOSITE Business Partners with Ship To Party role
I_ServiceDocumentSoldToPartyVH view_entity from COMPOSITE Business Partners with Sold To Party role
I_ServiceTeam view from BASIC Service Team
I_SLC_SupplierValueHelp view left_outer COMPOSITE Supplier
I_SLCQnaireParty view left_outer BASIC Party Referenced in Questionnaire
I_SrcgProjCntctWorkplaceAddr view inner COMPOSITE Workplace Address of Srcg Proj Contact
I_SrlNmbrHistBusinessPartnerVH view_entity from COMPOSITE Business Partner
I_SupplierActivitySuplrParty view left_outer COMPOSITE Supplier Activity Supplier Party
I_SupplierActivityTaskSupplier view left_outer COMPOSITE Supplier Activity Task Supplier
I_SupplierEvalRespSuplrParty view inner COMPOSITE Supplier Evaluation Response Supplier Party
I_SupplierEvalTemplateParty view left_outer BASIC Party Referenced by Evaluation Template
I_TaxAuthorityValueHelp view_entity from COMPOSITE Tax Authority
I_TMBusinessPartnerByIntKey view from BASIC Business Partner
I_TrdCmplncLicBusPart view inner BASIC License Business Partners
I_WorkAssignment view_entity inner BASIC Work Assignments
I_WorkAssignmentsVH view_entity inner COMPOSITE Search Help for Work Assignments
I_WorkAssignmentValueHelp view_entity inner COMPOSITE Work Assignments of a Workforce Person
I_WorkerFactSheetSearch view_entity from COMPOSITE Workforce Person Details
I_WorkforcePerson view from COMPOSITE Workforce Person Details
I_WorkforcePerson_1 view_entity inner COMPOSITE Workforce Person
I_WorkforcePersonAll view_entity inner COMPOSITE Workforce Person Details
I_WorkForcePersonBPDets view from COMPOSITE Workforce Person basic details
I_WorkForcePersonBPToSupplier view_entity from COMPOSITE Workforce Person BP or Supplier info
I_WorkForcePersonPayt view left_outer COMPOSITE Workforce Person Payment Details for Object Page
I_WorkforcePersonTP view_entity from TRANSACTIONAL BUM - Workforce Person TP
N_PersonWorkAgreement_1 view inner Auxillary view
N_PersonWorkAgreement_2 view inner Auxillary View for New Persistency
P_BankaccountWithBGN view left_outer BASIC Bank Accounts with BGN
P_BG_SAFTCUSTOMERID view_entity inner CONSUMPTION BG SAFT Customer ID
P_BG_SAFTSUPPLIERID view_entity inner CONSUMPTION BG SAFT Supplier ID
P_BPCreditRiskClass view from COMPOSITE Business partner credit risk class
P_BPNumInExtSystemValueHelp view from BASIC BP Number in External System
P_BPTRANSPSTDCARRALPHACODE view_entity inner COMPOSITE Private View for BP Transp SCAC
P_BPUsr000SDM view_entity from COMPOSITE SDM View for BPU000
P_BusinessPartnerForMyUser view from COMPOSITE Determine the Business Partner for my user
P_BusinessPartnerTranspIATA view_entity inner COMPOSITE Private View for BP Transp IATA Code
P_BusinessUser view_entity from BASIC Business User
P_CABusinessPartnerWithVAT view_entity inner COMPOSITE Distinct BP with address and tax number
P_CACUSTTRIALBALITEM1 view_entity inner COMPOSITE CA Customer Trial Balance Item1
P_CO_DIANBusPartnerTaxNumber view inner CONSUMPTION All Formats - Business Partner Tax Number
P_CollsAcctColl view_entity inner COMPOSITE Collections Account - FI
P_CollsAcctFI view_entity inner COMPOSITE Collections Account - FI
P_ContactCardType view from COMPOSITE Contact Card Type (P)
P_CorrespondenceBuPaEmailAddr view from CONSUMPTION Business Partner Email Addresses
P_CorrespondenceBuPaEmailAddr view union CONSUMPTION Business Partner Email Addresses
P_CPBUPAEMAILALL view union CONSUMPTION Business Partner Emails from all sources
P_Cpbupafaxall view inner CONSUMPTION Business Partner Emails from all sources
P_Cpbupafaxall view union_all CONSUMPTION Business Partner Emails from all sources
P_CreditLimitChange1 view from CONSUMPTION Credit Limit Change
P_EngmntProjectRoleAssgmt view left_outer COMPOSITE Engagement Project Roles
P_EngmntProjWithStdRoles view left_outer COMPOSITE Engagement Project Roles With Standard Roles
P_IN_CustomerTaxNumber view_entity inner COMPOSITE Customer Tax Number
P_InactiveWorkAssignment view_entity inner COMPOSITE Work Assignment Status of a Worker
P_JP_CentralBkPaytWithItems view left_outer CONSUMPTION View for Japan Central Bank Payment Detail Items
P_LU_SAFTJournalItemBP view inner COMPOSITE SAFT LU Journal Item Business Partner
P_MfgOpActyTeamUserAssgmt view inner COMPOSITE Activities assignned to team user
P_N_PersonWorkAgreement_1 view inner BASIC Person Work Agreement Details
P_NL_SAFTBPType view from COMPOSITE Business Partner Type
P_NL_SAFTBusinessPartnerCntct view from COMPOSITE SAFT NL Business Partner Contact
P_PE_BusinessPartnerTaxNumber view_entity from CONSUMPTION Peru Business Partner Tax Number
P_PH_CASForeignBPTIN view_entity inner COMPOSITE PH: Get TIN for Foreign Business Partner
P_PH_ForeignBPTIN view_entity inner COMPOSITE PH: Get TIN for Foreign Business Partner
P_PPM_User view inner BASIC User Business Partner connection PPM 6.1 logic
P_PT_CADocItmAnnex view_entity inner CONSUMPTION Contract Accounting Document Item for Portugal Annex O
P_QltyBPEmployee view from BASIC Business Partners with Role of Cat. Employee
P_RO_SAFTCActgPartner view_entity from CONSUMPTION Partner with Standard Address and Tax Number
P_RO_SAFTCACTGPARTNER_RO9 view_entity from CONSUMPTION Partner with Standard Address and Tax Number
P_RO_SAFTCACTGPARTNER_ROX view_entity from CONSUMPTION Partner with Standard Address and Tax Number
P_RO_SAFTCActgStdPartAddr view_entity from CONSUMPTION Standard Partner Address
P_RO_SAFTCActgStdPartAddrTxNr view_entity from CONSUMPTION Standard Partner Address and Tax Number
P_RO_SAFTCACTGSTDPARTADDRTXNRM view_entity from CONSUMPTION Standard Partner Address and Tax Number
P_RO_SAFTCustomerVATNumber view_entity inner CONSUMPTION RO SAFT Customer VAT number
P_RO_SAFTSupplierVATNumber view_entity inner CONSUMPTION RO SAFT Supplier VAT number
P_RSHResourceAuthData view inner COMPOSITE Resource Data like Cost Center assignnt
P_RU_BusinessPartnerEmailAll view inner COMPOSITE Customasing for BP Email + real BP Email
P_SAFTJournalItemBP view inner COMPOSITE SAFT Journal Item Business Partner
P_SalesCustomerContacts view from CONSUMPTION Sales Customer Contacts
P_WLF_CDS_PERNR_BEGRU view inner BASIC Help-View: provides BEGRU for PERNR
P_WorkforcePerson view from COMPOSITE Workforce Person Details
R_BPUsrChangeDocument view_entity inner BASIC Business User Change Document
R_LU_SAFTContractAccountBP view_entity inner COMPOSITE SAFT LU Contract Account BP
R_ManagerContactCard view_entity inner COMPOSITE Manager Details
R_ManagerContactCard_1 view_entity inner COMPOSITE Manager Details
R_ManagerWorkAssignmentName view_entity inner COMPOSITE Work Assignment Manager Name
R_SrcgSuplrListBPDetailsVH view_entity from COMPOSITE Bus Partner Details for Srcg Suplr List
R_WorkAssignmentAddressTP view_entity inner TRANSACTIONAL Work Assignment Address Details
R_WorkAssignmentAddressTP_3 view_entity inner TRANSACTIONAL Work Assignment Address Details
R_WorkAssignmentBankAccountTP view_entity inner TRANSACTIONAL TP View for Bank Accounts for Workforce Person
R_WorkforcePerson view_entity from COMPOSITE Workforce Person data
R_WorkforcePerson_2 view_entity from COMPOSITE Workforce Person data
R_WorkforcePersonTP_3 view_entity from TRANSACTIONAL Workforce Person Transactional Processing
SHSM_SERVICEENTRYSHEETLEANITEM view left_outer Selection View For SESITEM_C Value Help
SHSM_UDM_BP_ROLE view from Business Partners in Credit Management
SHSM_UKM_BP_ROLE view from Business Partners in Credit Management
SHSM_USR21 view inner CDS replacing V_USR_NAME in search help
WFD_PremG view left_outer Workforce Domain - Sel view for PREMG
WFD_PremJ view left_outer Workforce Domain - Sel view for PREMJ
WFD_PremK view left_outer Workforce Domain - Sel view for PREMK

Fields (112)

KeyField CDS FieldsUsed in Views
KEY BusinessPartner BusinessPartner,BusinessPartnerForEdit,BusinessPartnerPerson,BusinessPartnerSupplier,ContactPerson,EmployeeInternalID,Partner,Person 109
KEY BusinessPartnerCategory BusinessPartnerCategory 25
KEY BusinessPartnerUUID BusinessPartnerUUID,partner_guid,PersonUUID,WorkAssignmentUUID 47
_AcademicTitleText _AcademicTitleText 3
_AcademicTitleValueHelp _AcademicTitleValueHelp 5
_AddressIndependentEmail _AddressIndependentEmail 1
_AddressIndependentFax _AddressIndependentFax 1
_AddressIndependentMobile _AddressIndependentMobile 1
_AddressIndependentPhone _AddressIndependentPhone 1
_BPCreditWorthiness _BPCreditWorthiness 1
_BPEmployment _BPEmployment 1
_BPFinancialServicesExt _BPFinancialServicesExt 1
_BPFinancialServicesExtn _BPFinancialServicesExtn 1
_BPRating _BPRating 1
_BuPaIdentification _BuPaIdentification 1
_BusinessPartnerIndustry _BusinessPartnerIndustry 2
_BusinessPartnerRole _BusinessPartnerRole 2
_CreatedByUser _CreatedByUser 2
_CurrentDefaultAddress _CurrentDefaultAddress 5
_DefaultAddress _DefaultAddress 2
_Industries _Industries 2
_LastChangedByUser _LastChangedByUser 2
AcademicTitle AcademicTitle 11
AcademicTitle2 AcademicSecondTitle,AcademicTitle2 7
AdditionalLastName AdditionalLastName 13
AuthorizationGroup AuthorizationGroup,pernr_begru 86
BirthDate BirthDate 13
BPDataControllerIsNotRequired BPDataControllerIsNotRequired 1
BPFirstNameSearchHelp BPFirstNameSearchHelp,GivenName 6
BPLastNameSearchHelp BPLastNameSearchHelp,FamilyName 6
BusinessPartnerBirthDateStatus BusinessPartnerBirthDateStatus 3
BusinessPartnerBirthName BirthName,BusinessPartnerBirthName 10
BusinessPartnerBirthplaceName BusinessPartnerBirthplaceName 4
BusinessPartnerDataOriginType BusinessPartnerDataOriginType 3
BusinessPartnerDeathDate BusinessPartnerDeathDate 3
BusinessPartnerFullName BusinessPartnerFullName,FullName 16
BusinessPartnerGrouping BusinessPartnerGrouping 7
BusinessPartnerGroupType BusinessPartnerGroupType 2
BusinessPartnerIDByExtSystem BusinessPartnerIDByExtSystem 10
BusinessPartnerIsBlocked BusinessPartnerIsBlocked 12
BusinessPartnerIsNotReleased BusinessPartnerIsNotReleased 5
BusinessPartnerName BPCustomerName,BusinessPartnerFullName,BusinessPartnerName,CompanyName 33
BusinessPartnerNicknameLabel BusinessPartnerNicknameLabel,NickName 8
BusinessPartnerOccupation BusinessPartnerOccupation 3
BusinessPartnerPrintFormat BusinessPartnerPrintFormat 4
BusinessPartnerSalutation BusinessPartnerSalutation 3
BusinessPartnerSupplementName BusinessPartnerSupplementName,NameSupplement 7
BusinessPartnerType BusinessPartnerType 10
BusPartMaritalStatus BusPartMaritalStatus 4
BusPartNationality BusPartNationality 4
ContactPermission ContactPermission 3
CorrespondenceLanguage CorrespondenceLanguage,NativePreferredLanguage 11
CreatedByUser CreatedByUser 6
CreationDate CreationDate 6
CreationTime CreationTime 6
DataController1 DataController1 68
DataController10 DataController10 68
DataController2 DataController2 68
DataController3 DataController3 68
DataController4 DataController4 68
DataController5 DataController5 68
DataController6 DataController6 68
DataController7 DataController7 68
DataController8 DataController8 68
DataController9 DataController9 68
DataControllerSet DataControllerSet 72
ETag ETag,LastChangeDateTime 7
FirstName FirstName,PartnerFirstName,UxFcFirstName 50
FormOfAddress FormOfAddress,FormOfAddressGroup,FormOfAddressOrganization,FormOfAddressPerson 16
GenderCodeName GenderCodeName 4
GroupBusinessPartnerName1 FirstName,GroupBusinessPartnerName1,UxFcGroupBusinessPartnerName1 13
GroupBusinessPartnerName2 GroupBusinessPartnerName2,LastName,UxFcGroupBusinessPartnerName2 9
IndependentAddressID IndependentAddressID 4
Industry Industry 5
Initials Initials 9
InternationalLocationNumber1 InternationalLocationNumber1 2
InternationalLocationNumber2 InternationalLocationNumber2 2
InternationalLocationNumber3 InternationalLocationNumber3 2
IsActiveEntity IsActiveEntity 2
IsBusinessPurposeCompleted IsBusinessPurposeCompleted 82
IsFemale IsFemale 3
IsMale IsMale 3
IsMarkedForArchiving IsMarkedForArchiving 8
IsNaturalPerson IsNaturalPerson 6
IsNotContractuallyCapable IsNotContractuallyCapable 1
IsSexUnknown IsSexUnknown 3
Language Language 4
LastChangeDate LastChangeDate 5
LastChangedByUser LastChangedByUser 5
LastChangeTime LastChangeTime 5
LastName FamilyName,LastName,PartnerLastName,UxFcLastName 50
LastNamePrefix LastNamePrefix 7
LastNameSecondPrefix LastNameSecondPrefix 7
LegalEntityOfOrganization LegalEntityOfOrganization 3
LegalForm LegalForm 5
MiddleName MiddleName 16
NameCountry NameCountry 8
NameFormat NameFormat 6
NaturalPersonEmployerName NaturalPersonEmployerName 2
NonResidentCompanyOriginCntry NonResidentCompanyOriginCntry 3
OrganizationBPName1 FirstName,OrganizationBPName1,UxFcOrganizationBPName1 25
OrganizationBPName2 LastName,OrganizationBPName2,UxFcOrganizationBPName2 21
OrganizationBPName3 OrganizationBPName3 11
OrganizationBPName4 OrganizationBPName4 11
OrganizationFoundationDate OrganizationFoundationDate 5
OrganizationLiquidationDate OrganizationLiquidationDate 5
PersonFullName BusinessPartnerFullName,EmployeeFullName,FullName,Person_full_name,PersonFullName 33
PersonNumber AddressPersonID,Person,PersonNumber 10
SearchTerm1 SearchTerm1 13
SearchTerm2 SearchTerm2 14
TrdCmplncLicenseIsMilitarySctr TrdCmplncLicenseIsMilitarySctr 2
TrdCmplncLicenseIsNuclearSctr TrdCmplncLicenseIsNuclearSctr 2
@AbapCatalog.sqlViewName: 'IBUSINESSPARTNER'
@EndUserText.label: 'Business Partner'
@VDM.viewType: #BASIC
@AccessControl.personalData.blocking: #REQUIRED
//@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.representativeKey: 'BusinessPartner'
@ObjectModel.sapObjectNodeType.name: 'BusinessPartner'
@ClientHandling.algorithm : #SESSION_VARIABLE
@AccessControl.authorizationCheck:#CHECK
@Analytics: {
  dataCategory: #DIMENSION,
  dataExtraction: {
    enabled: true,
    delta.changeDataCapture: {
      automatic: true
    }
  }
}
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
@Metadata.allowExtensions: true
@AbapCatalog.preserveKey:true
@Metadata.ignorePropagatedAnnotations: true


define view I_BusinessPartner
  as select from but000
  association [0..1] to I_User                       as _CreatedByUser            on $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User                       as _LastChangedByUser        on $projection.LastChangedByUser = _LastChangedByUser.UserID
  association [0..*] to I_BusinessPartnerDefaultAddr as _DefaultAddress           on $projection.BusinessPartner = _DefaultAddress.BusinessPartner //to be used

  association [0..1] to I_BPCurrentDefaultAddress    as _CurrentDefaultAddress    on $projection.BusinessPartner = _CurrentDefaultAddress.BusinessPartner
  association [0..*] to I_BusinessPartner_to_BP_Role as _BusinessPartnerRole      on $projection.BusinessPartner = _BusinessPartnerRole.BusinessPartner 
  association [0..*] to I_Addressindependentemail    as _AddressIndependentEmail  on $projection.IndependentAddressID = _AddressIndependentEmail.AddressID 
  association [0..*] to I_BPAddressIndependentEmail  as _BPAddressIndependentEmail     on $projection.BusinessPartner      = _BPAddressIndependentEmail.BusinessPartner
                                                                                      and $projection.IndependentAddressID = _BPAddressIndependentEmail.AddressID   
  association [0..*] to I_Addressindependentfax      as _AddressIndependentFax         on $projection.IndependentAddressID = _AddressIndependentFax.AddressID
  association [0..*] to I_BPAddressIndependentFax    as _BPAddressIndependentFax       on $projection.BusinessPartner       = _BPAddressIndependentFax.BusinessPartner 
                                                                                       and $projection.IndependentAddressID = _BPAddressIndependentFax.AddressID 
  association [0..*] to I_Addressindependentphone    as _AddressIndependentPhone       on $projection.IndependentAddressID = _AddressIndependentPhone.AddressID
  association [0..*] to I_BPAddressIndependentPhone  as _BPAddressIndependentPhone     on $projection.BusinessPartner       = _BPAddressIndependentPhone.BusinessPartner 
                                                                                       and $projection.IndependentAddressID = _BPAddressIndependentPhone.AddressID  
  association [0..*] to I_Addressindependentmobile   as _AddressIndependentMobile      on $projection.IndependentAddressID = _AddressIndependentMobile.AddressID                                               
  association [0..*] to I_BPAddressIndependentMobile as _BPAddressIndependentMobile    on $projection.BusinessPartner        = _BPAddressIndependentMobile.BusinessPartner 
                                                                                        and $projection.IndependentAddressID = _BPAddressIndependentMobile.AddressID
  association [0..*] to I_BPAddressIndependentWebsite as _BPAddressIndependentWebsite  on $projection.BusinessPartner = _BPAddressIndependentWebsite.BusinessPartner 
                                                                                       and $projection.IndependentAddressID = _BPAddressIndependentWebsite.AddressID                                                   
  association [0..*] to I_Industries                 as _Industries               on $projection.Industry = _Industries.IndustrySector
  association [0..*] to I_BusinessPartnerIndustry    as _BusinessPartnerIndustry  on $projection.BusinessPartner = _BusinessPartnerIndustry.BusinessPartner

  //---  Start of FS-BP cds views associations ---//

  association [0..1] to I_BPFinancialServicesExtn    as _BPFinancialServicesExtn  on $projection.BusinessPartner = _BPFinancialServicesExtn.BusinessPartner
  association [0..*] to I_BusinessPartnerRating      as _BPRating                 on $projection.BusinessPartner = _BPRating.BusinessPartner
  association [0..1] to I_BPCreditWorthiness         as _BPCreditWorthiness       on $projection.BusinessPartner = _BPCreditWorthiness.BusinessPartner
  association [0..*] to I_BPEmployment               as _BPEmployment             on $projection.BusinessPartner = _BPEmployment.BusinessPartner
  //--- End of FS-BP cds view associations ---//



  association [0..1] to E_BP_D                       as _BusinessPartnerExt       on $projection.BusinessPartner = _BusinessPartnerExt.BusinessPartner

  association [0..*] to I_AcademicTitleText          as _AcademicTitleText        on $projection.AcademicTitle = _AcademicTitleText.AcademicTitle

  association [0..1] to I_AcademicTitle              as _AcademicTitleValueHelp   on $projection.AcademicTitle = _AcademicTitleValueHelp.AcademicTitle

  association [0..1] to I_BPFinancialServicesExtn    as _BPFinancialServicesExt   on $projection.BusinessPartner = _BPFinancialServicesExt.BusinessPartner

  association [0..*] to I_BuPaIdentification         as _BuPaIdentification       on $projection.BusinessPartner = _BuPaIdentification.BusinessPartner

  //association [0..*] to I_BPRelationship             as _BPRelationship           on $projection.BusinessPartner = _BPRelationship.BusinessPartner1

  association [0..*] to I_BPRelationship_2           as _BPRelationship           on $projection.BusinessPartner = _BPRelationship.BusinessPartner1
  association [0..1] to I_FormOfAddress              as _FormOfAddress            on $projection.FormOfAddress = _FormOfAddress.FormOfAddress
  association [0..*] to I_Paymentcard                as _Paymentcard              on $projection.BusinessPartner = _Paymentcard.BusinessPartner
   association [0..*] to I_BPDataController                as _BPDataController              on $projection.BusinessPartner = _BPDataController.BusinessPartner
{
        // Fields valid for all types of business partner

        @ObjectModel.text.element: [ 'BusinessPartnerName' ]
  key   but000.partner                                  as BusinessPartner,
        but000.type                                     as BusinessPartnerCategory,
        but000.augrp                                    as AuthorizationGroup,
        but000.partner_guid                             as BusinessPartnerUUID,
        but000.persnumber                               as PersonNumber,


        // Fields for ETag calculation

        case when but000.chusr <> '' then concat(but000.chusr, concat( but000.chdat, but000.chtim ) )
              else concat(but000.crusr, concat( but000.crdat, but000.crtim ) )
           end                                          as ETag,


        @Semantics.text: true
        @EndUserText.label: 'Business Partner Name'
        @EndUserText.quickInfo:'Name of Business Partner'
        case   when type = '1'
                 then concat_with_space( name_first, name_last, 1)
               when type = '2'
        //workaround to add the space: name_org1+' '+name_org2

                 then   concat_with_space( name_org1, name_org2, 1)
               when type = '3'
        //workaround to add the space: name_grp1+' '+name_grp2

                 then  concat_with_space( name_grp1, name_grp2, 1)
        //          else '' //add this to avoid the warning    For performance 

             end                                        as BusinessPartnerName,
        @Semantics.text: true
        @EndUserText.label: 'Business Partner Full Name'
        case
          when type = '1'
              then concat_with_space( name_first, name_last,1)
          when type = '2'
               then concat_with_space( name_org1, name_org2,1)  //KF: diffierent with S4

          when type = '3'
               then concat_with_space( name_grp1, name_grp2,1)  //KF: diffierent with S4

        //     else '' //add this to avoid the warning

        end                                             as BusinessPartnerFullName,
        but000.crusr                                    as CreatedByUser,
        but000.crdat                                    as CreationDate,
        but000.crtim                                    as CreationTime,
        but000.chusr                                    as LastChangedByUser,
        but000.chdat                                    as LastChangeDate,
        but000.chtim                                    as LastChangeTime,
        but000.xblck                                    as BusinessPartnerIsBlocked

        // Fields valid only for but000.type = '1' -- Person

  ,
        but000.xpcpt                                    as IsBusinessPurposeCompleted,
        but000.name_first                               as FirstName,
        but000.name_last                                as LastName,

        @Semantics.text:true

        // Has to check for other BP types

        but000.name1_text                               as PersonFullName,

        // Fields valid only for but000.type = '2' -- Organization

        @EndUserText.label: 'Organization Name 1'
        but000.name_org1                                as OrganizationBPName1 // was renamed from OrganisationName1

  ,     @EndUserText.label: 'Organization Name 2'
        but000.name_org2                                as OrganizationBPName2 //was renamed from OrganisationName2

  ,     @EndUserText.label: 'Organization Name 3'
        but000.name_org3                                as OrganizationBPName3,
        @EndUserText.label: 'Organization Name 4'
        but000.name_org4                                as OrganizationBPName4


  ,
        but000.location_1                               as InternationalLocationNumber1,
        but000.location_2                               as InternationalLocationNumber2,
        but000.location_3                               as InternationalLocationNumber3,

        //Fields Needed in BP Customer-Supplier Apps

        but000.legal_enty                               as LegalForm,
        but000.found_dat                                as OrganizationFoundationDate,
        but000.liquid_dat                               as OrganizationLiquidationDate,
        but000.ind_sector                               as Industry,
        but000.natpers                                  as IsNaturalPerson,

        //@API.element.releaseState:#DEPRECATED

        but000.xsexf                                    as IsFemale,
        //@API.element.releaseState:#DEPRECATED

        but000.xsexm                                    as IsMale,
        //@API.element.releaseState:#DEPRECATED

        but000.xsexu                                    as IsSexUnknown, //GFN not available

        but000.title                                    as FormOfAddress,
        @ObjectModel: {
                 foreignKey.association: '_AcademicTitleValueHelp'
               }
        @ObjectModel.text.association: '_AcademicTitleText'
        but000.title_aca1                               as AcademicTitle, //GFN not available

        but000.title_aca2                               as AcademicTitle2,
        but000.nameformat                               as NameFormat,    //GFN not available

        but000.namcountry                               as NameCountry,   //GFN not available


        but000.bu_group                                 as BusinessPartnerGrouping,

        but000.bpkind                                   as BusinessPartnerType,
        but000.namemiddle                               as MiddleName,
        but000.name_lst2                                as AdditionalLastName,
        @EndUserText.label: 'Group Name 1'
        but000.name_grp1                                as GroupBusinessPartnerName1,
        @EndUserText.label: 'Group Name 2'
        but000.name_grp2                                as GroupBusinessPartnerName2,
        but000.langu_corr                               as CorrespondenceLanguage,
        but000.bu_langu                                 as Language,
        but000.bu_sort1                                 as SearchTerm1,
        //Search term 2 field needed in Customer and Suppplier apps

        but000.bu_sort2                                 as SearchTerm2,
        but000.mc_name1                                 as BPLastNameSearchHelp,
        but000.mc_name2                                 as BPFirstNameSearchHelp,
        but000.nickname                                 as BusinessPartnerNicknameLabel,


        //Added 19/05/2016 for correct association to address independent communication fields

        but000.addrcomm                                 as IndependentAddressID,

        //for extensibility

        cast( 'X' as sdraft_is_active preserving type ) as IsActiveEntity,


        but000.birthdt                                  as BirthDate, //newly added

        but000.xdele                                    as IsMarkedForArchiving,
        but000.contact                                  as ContactPermission,
        but000.bpext                                    as BusinessPartnerIDByExtSystem,
        but000.legal_org                                as LegalEntityOfOrganization,

        //Added 13/09/2017 - CDS enhancements for Business Partner app

        but000.print_mode                               as BusinessPartnerPrintFormat,
        but000.source                                   as BusinessPartnerDataOriginType,
        but000.not_released                             as BusinessPartnerIsNotReleased,

        // Added 10/01/2017 - Requested in internal incident 1880004533

        but000.not_lg_competent                         as IsNotContractuallyCapable,

        but000.jobgr                                    as BusinessPartnerOccupation,
        but000.marst                                    as BusPartMaritalStatus,
        but000.natio                                    as BusPartNationality,
        but000.cndsc                                    as NonResidentCompanyOriginCntry,
        but000.title_let                                as BusinessPartnerSalutation,
        but000.name_last2                               as BusinessPartnerBirthName,
        but000.title_royl                               as BusinessPartnerSupplementName,
        but000.birthpl                                  as BusinessPartnerBirthplaceName,
        but000.emplo                                    as NaturalPersonEmployerName,
        but000.deathdt                                  as BusinessPartnerDeathDate,
        but000.birthdt_status                           as BusinessPartnerBirthDateStatus,
        but000.partgrptyp                               as BusinessPartnerGroupType,
        but000.prefix1                                  as LastNamePrefix,
        but000.prefix2                                  as LastNameSecondPrefix,
        but000.initials                                 as Initials,
        //@API.element.successor

        but000.gender                                   as GenderCodeName,
        
        
  /////// Start of Datacontroller 10+1 fields -  Not to be consumed by any other views//////////      

        
        @Consumption.hidden:true
        @UI.hidden:true
        but000.xdcset                                   as DataControllerSet,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr1                              as DataController1,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr2                              as DataController2,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr3                              as DataController3,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr4                              as DataController4,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr5                              as DataController5,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr6                              as DataController6,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr7                              as DataController7,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr8                              as DataController8,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr9                              as DataController9,
        @Consumption.hidden:true
        @UI.hidden:true
        but000.data_ctrlr10                             as DataController10,
        
 ////////////// End of Datacontroller 10+1 fields//////////  

  
        but000.dc_not_req                               as BPDataControllerIsNotRequired,

        // Fields valid for all types of business partner


        //       @VDM.deprecated:true

        //       //Please use from association as _CurrentDefaultAddress.AddressID as this field will be removed soon from the view

        //       _CurrentDefaultAddress.AddressID  //actually CurrentAddressID, shortened for compatibility reasons


        _DefaultAddress // all default addresses over time (to-n) to be used instead of _DefaultAddresses

  ,
        _CurrentDefaultAddress //single current default address (to-1) exposed for use in customer object page


        //        , @VDM.deprecated:true //Please use from association as _CurrentDefaultAddress._StandardAddress as this field will be removed soon from the view

        //        _StandardAddress // removed. use _CurrentDefaultAddress


  ,
        _BusinessPartnerRole,
        _CreatedByUser,
        _LastChangedByUser

  ,
        @API.element.releaseState: #DEPRECATED  
        @API.element.successor: '_BPAddressIndependentEmail'  
        _AddressIndependentEmail,    
        _BPAddressIndependentEmail,
        @API.element.releaseState: #DEPRECATED  
        @API.element.successor: '_BPAddressIndependentFax'         
        _AddressIndependentFax,      
        _BPAddressIndependentFax,
        @API.element.releaseState: #DEPRECATED  
        @API.element.successor: '_BPAddressIndependentPhone'                
        _AddressIndependentPhone,       
        _BPAddressIndependentPhone,
        @API.element.releaseState: #DEPRECATED  
        @API.element.successor: '_BPAddressIndependentMobile'         
        _AddressIndependentMobile,
        _BPAddressIndependentMobile,
        _BPAddressIndependentWebsite,
        _Industries,
        _AcademicTitleValueHelp,
        _AcademicTitleText,
        _BusinessPartnerIndustry,
        _BuPaIdentification,
        _BPRelationship,
        //--- FS-BP CDS view association ---//

        _BPFinancialServicesExtn,
        _BPRating,
        _BPCreditWorthiness,
        _BPEmployment,
        //--- FS-BP CDS view association ---//

        _BPFinancialServicesExt,
        //-- Data controller association

        _BPDataController,
        _FormOfAddress,
        _Paymentcard

}