TRAC_ADTL_EX_BUSINESS_PARTNER

DDL: TRAC_ADTL_EX_BUSINESS_PARTNER SQL: TRACADTEXCBP Type: view

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.

Data Sources (1)

SourceAliasJoin Type
I_Currency I_Currency from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName TRACADTEXCBP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
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
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (7)

KeyFieldSource TableSource FieldDescription
BusinessPartner
Industry
BusinessPartnerOfficeCountry
LegalForm
LegalEntityOfOrganization
BPCoCodeCompanyRelationship
BPCompanyRelationship
@AbapCatalog.sqlViewName: 'TRACADTEXCBP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Business Partner'

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

@ClientHandling.algorithm: #SESSION_VARIABLE

// ********************************************************************************************

// This view is needed for Substitution Rule for Determination of Account Assignment Reference

// Do not use this view for any other purpose!!!!

// Only a dummy select is implemented here.

// ********************************************************************************************


/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] }*/
define view 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;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CURRENCY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/