C_CrdtMBPRelationshipTP

DDL: C_CRDTMBPRELATIONSHIPTP Type: view_entity CONSUMPTION Package: ODATA_CREDIT_MGMT_MASTER

Cred. Mgmt BP Relationship

C_CrdtMBPRelationshipTP is a Consumption CDS View that provides data about "Cred. Mgmt BP Relationship" in SAP S/4HANA. It reads from 1 data source (R_CrdtMBPRelationshipTP) and exposes 17 fields with key fields CrdtMgmtBPHierarchyNode, BusinessPartner. It is exposed through 1 OData service (UI_CRDTMGMTACCOUNT_MANAGE). It is used in 1 Fiori application: Manage Credit Accounts. Part of development package ODATA_CREDIT_MGMT_MASTER.

Data Sources (1)

SourceAliasJoin Type
R_CrdtMBPRelationshipTP R_CrdtMBPRelationshipTP projection

Annotations (8)

NameValueLevelField
EndUserText.label Cred. Mgmt BP Relationship view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.query.implementedBy ABAP:CL_UKM_RELATIONSHIP_VE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_CRDTMGMTACCOUNT_MANAGE UI_CRDTMGMTACCOUNT_MANAGE V2 C1 NOT_TO_BE_RELEASED_STABLE

Fiori Apps (1)

App IDApp NameTypeDescription
F4596 Manage Credit Accounts Transactional

Manage Credit Accounts

Business Role: Credit Controller

Use this app to display and update the credit data for business parters. Edit the credit data of business partners and update the scoring. On the global credit data page, you can see the credit profile for your business partners, as well as detailed information about blocked sales documents or credit limit requests. Find the credit exposure and credit limit utilization highlighted for each credit segment. Navigate to credit segment level to find further information about credit-relevant data, or details about the related sales documents.

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CrdtMgmtBPHierarchyNode CrdtMgmtBPHierarchyNode
KEY BusinessPartner BusinessPartner
ActiveBusinessPartner ActiveBusinessPartner
CrdtMHigherLevelBusPartner CrdtMHigherLevelBusPartner
BusinessPartnerIsSelected BusinessPartnerIsSelected
CreditSegment CreditSegment
CrdtMgmtBPHierarchyParentNode CrdtMgmtBPHierarchyParentNode
HierarchyLevel HierarchyLevel
HierarchyDrillState HierarchyDrillState
HierarchyNodeTreeSize HierarchyNodeTreeSize
HierarchyNodeIsCycleEndPoint HierarchyNodeIsCycleEndPoint
CreditRiskClass _CrdtMBusinessPartner CreditRiskClass
BusinessPartnerFullName
Country
CityName
CreditWorthinessScoreValue _CrdtMBusinessPartner CreditWorthinessScoreValue
_BusinessPartner _BusinessPartner
@EndUserText.label: 'Cred. Mgmt BP Relationship'

@ObjectModel: { usageType: { serviceQuality: #X,
                             sizeCategory:   #L,
                             dataClass:      #MASTER
                           },
                query:     { implementedBy: 'ABAP:CL_UKM_RELATIONSHIP_VE' }
              }

@OData:{ hierarchy: {recursiveHierarchy: [{
                                            elementWithHierarchy:    'ActiveBusinessPartner',
                                            externalKeyElement:      'CrdtMgmtBPHierarchyNode',
                                            nodeElement:             'CrdtMgmtBPHierarchyNode',
                                            parentNodeElement:       'CrdtMgmtBPHierarchyParentNode',
                                            drillStateElement:       'HierarchyDrillState',
                                            distanceFromRootElement: 'HierarchyLevel'
                                            //descendantCountElement:  'HierarchyNodeTreeSize' //Switch to mass load mode of TreeTable, and invokes a different contract between TreeTable and backend

                                            //preorderRankElement:   '' //Subtree with (selected) BusinessPartner as left-most subtree

                                         }]
                    }
       }

@VDM: {
        viewType: #CONSUMPTION,
        usage.type: [ #TRANSACTIONAL_PROCESSING_SERVICE]
      }
@AccessControl: {authorizationCheck: #CHECK }  //Authority checks in ABAP, DCL present but effects nothing

@Metadata:{ allowExtensions: true }

//define view entity C_CrdtMBPRelationshipTP

define root view entity C_CrdtMBPRelationshipTP
  as projection on R_CrdtMBPRelationshipTP as _CrdtMBPRelationshipTP
{
  key CrdtMgmtBPHierarchyNode,
  key BusinessPartner, //BO Root

      @ObjectModel: { text.element: ['BusinessPartnerFullName']
                    }
      //Use value help for Bp in Credit Mgmt as soon as available

      @Consumption: { semanticObject: 'BusinessPartner',
                      valueHelpDefinition: [{ entity:{ name:    'I_BusinessPartnerVH',
                                                       element: 'BusinessPartner'    } }]
                    }
      ActiveBusinessPartner,      //BP who's address and risk class we display

      CrdtMHigherLevelBusPartner, //parent in the hierarchy; empty in root


      BusinessPartnerIsSelected,
      CreditSegment,              //enable code reuse for hierarchy on account level


      CrdtMgmtBPHierarchyParentNode,
      HierarchyLevel,
      HierarchyDrillState,
      HierarchyNodeTreeSize,
      HierarchyNodeIsCycleEndPoint,

      _CrdtMBusinessPartner.CreditRiskClass,
      _CrdtMBusinessPartner._BusinessPartner.BusinessPartnerFullName,
      _CrdtMBusinessPartner._BusinessPartner._CurrentDefaultAddress._Address.Country,
      _CrdtMBusinessPartner._BusinessPartner._CurrentDefaultAddress._Address.CityName,
      _CrdtMBusinessPartner.CreditWorthinessScoreValue,

      //Expose associations

       @ObjectModel: { filter.enabled: false,
                       sort.enabled: false }
      _BusinessPartner //for dummy-DCL


//      @ObjectModel: { filter.enabled: false,

//                      sort.enabled: false }

//      _CrdtMBusinessPartnerTP : redirected to parent C_CrdtMBusinessPartnerTP // Root //comment has to be removed, when enabling change mode

}