I_BusinessPartnerLegalForm

DDL: I_BUSINESSPARTNERLEGALFORM SQL: IBPLEGALFORM Type: view BASIC

Business Partner Legal Form

I_BusinessPartnerLegalForm (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

BusinessPartnerLegalForm · Database & Data Management

I_BusinessPartnerLegalForm is a Basic CDS View (Dimension) that provides data about "Business Partner Legal Form" in SAP S/4HANA. It reads from 1 data source (tb019) and exposes 2 fields with key field LegalForm. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Business Partner
Purpose
This CDS view is designed to provide information about the legal form of business partners. This CDS view provides the data to answer the following business questions: What are the legal forms associated with business partners in the system? How can I retrieve the text descriptions for different legal forms of business partners? Which business partners are categorized under specific legal forms?

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description LegalForm Legal form of an organization

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentAP-MD-BP-RAP
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Data Extraction, Analytical Dimension
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tb019 tb019 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BusinessPartnerLegalFormText _Text $projection.LegalForm = _Text.LegalForm

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IBPLEGALFORM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
EndUserText.label Business Partner Legal Form view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.sapObjectNodeType.name BusinessPartnerLegalForm view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey LegalForm view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LegalForm legal_enty BP: Legal form of organization
_Text _Text

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_BusinessPartnerLegalForm.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IBPLEGALFORM

CREATE VIEW I_BusinessPartnerLegalForm AS
SELECT
  legal_enty AS LegalForm
FROM tb019
LEFT OUTER JOIN I_BusinessPartnerLegalFormText AS _Text ON LegalForm = _Text.LegalForm  -- association [0..*]
;