TRAC_ADTL_EX_BUSINESS_PARTNER

DDL: TRAC_ADTL_EX_BUSINESS_PARTNER Type: view_entity Package: FTR_ACC_ADAPTOR_SUBVAL_CORE

Business Partner

TRAC_ADTL_EX_BUSINESS_PARTNER is a CDS View that provides data about "Business Partner" in SAP S/4HANA. It reads from 1 data source (I_Currency) and exposes 7 fields. Part of development package FTR_ACC_ADAPTOR_SUBVAL_CORE.

Data Sources (1)

SourceAliasJoin Type
I_Currency I_Currency from

Annotations (5)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Business Partner view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view

Fields (7)

KeyFieldSource TableSource FieldDescription
BusinessPartner
Industry
BusinessPartnerOfficeCountry
LegalForm
LegalEntityOfOrganization
BPCoCodeCompanyRelationship
BPCompanyRelationship
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Business Partner'

@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] }*/
define view entity TRAC_ADTL_EX_BUSINESS_PARTNER as select from I_Currency {

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_FinTransacCounterPartyStdVH',
                     element: 'BusinessPartner' }
        }]  
    cast ('BusinessPa' as bu_partner preserving type ) as BusinessPartner,
    
        @Consumption.valueHelpDefinition: [
        { entity:  { name:    'C_BusPartIndustryKeyVH',
                     element: 'IndustrySector' }
        }]  
    cast ('Z123456789' as bu_indsect preserving type ) as Industry, 

         @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CountryVH',
                     element: 'Country' }
        }]           
    cast ('XYZ' as bp_cntr_hd preserving type )           as BusinessPartnerOfficeCountry,
     
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'C_BusinessPartnerLegalFormVH',
                     element: 'LegalForm' }
        }]  
    cast ('ZZ' as bu_legenty preserving type )         as LegalForm,
    
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'C_BusinessPartnerLegalEntityVH',
                     element: 'BPOrganisationLegalEntity' }
        }]     
    cast ('ZZ' as bu_legal_org preserving type )       as LegalEntityOfOrganization,

       @Consumption.valueHelpDefinition: [
          { entity: { name:    'I_BPCoCodeCompanyRelshpVH',
                      element: 'BPCoCodeCompanyRelationship' }
          }]
    cast ( 'A' as bp_ccom_re preserving type )         as BPCoCodeCompanyRelationship,
    
//       @Consumption.valueHelpDefinition: [

//          { entity: { name: 'I_BPCompanyRelationshipVH',

//                      element: 'BPCompanyRelationship' }

//          }]   

    cast ( 'A' as bp_comp_re preserving type )         as BPCompanyRelationship 

//  VH: Missing! To be clarified with CDA 

//    cast ('XYZ' as bp_rating preserving type )         as BPCreditStandingRating

        
} where 1 = 2;