I_OIL_BusinessTypeVH

DDL: I_OIL_BUSINESSTYPEVH Type: view_entity BASIC

Retail Network Business Types

I_OIL_BusinessTypeVH is a Basic CDS View that provides data about "Retail Network Business Types" in SAP S/4HANA. It reads from 1 data source (oirarnbt) and exposes 18 fields with key field RetailNetworkBusinessType. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oirarnbt oirarnbt from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_OIL_BusinessTypeText _Text _Text.RetailNetworkBusinessType = $projection.RetailNetworkBusinessType
[0..1] I_OIL_BusinessTypeMargProcedVH _BusinessTypeMargProced _BusinessTypeMargProced.BusinessTypeMarginProcedure = $projection.BusinessTypeMarginProcedure
[0..1] I_MaintMblApplRFCDestinationVH _RFCDestinationRemote _RFCDestinationRemote.MaintMblApplRFCDestination = $projection.RtlSystRFCDestWithRemoteUsrVal
[0..1] I_MaintMblApplRFCDestinationVH _RFCDestination _RFCDestination.MaintMblApplRFCDestination = $projection.RetailSystemRFCDestinationVal
[1..1] I_OIL_OrgStructureCheckVH _OrgStructureCheckVH _OrgStructureCheckVH.OrganizationStructureCheck = $projection.OrganizationStructureCheck

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Retail Network Business Types view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey RetailNetworkBusinessType view
VDM.viewType #BASIC view
Search.searchable true view
AbapCatalog.entityBuffer.definitionAllowed true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY RetailNetworkBusinessType rnbt Business type
BusinessTypeMarginProcedure kalvg Document Schema
BizTypeIsBulkBusinessRelated appbk Bulk applic.
BizTypeIsMerchandisingBusReltd appmc Merchand. app.
BusinessTypeIsCarWashRelated appcw Car wash app.
BusinessTypeIsNotBusinessReltd appnn No applic.
BusinessTypeIconValue iconname Icon Name
RtlSystRFCDestWithRemoteUsrVal rfcdest_rem Destination
RetailSystemRFCDestinationVal rfcdest RFCDEST
StoreWorkbenchWebGateURLValue url URLContract
RetailNetworkIsLogon use_hr_retail Log-on info.
OrganizationStructureCheck orgstr_check Org. str.
ExternalPriceOptimizerIsActive ext_pric_tool Ext.Price Optim
_Text _Text
_BusinessTypeMargProced _BusinessTypeMargProced
_RFCDestination _RFCDestination
_RFCDestinationRemote _RFCDestinationRemote
_OrgStructureCheckVH _OrgStructureCheckVH

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_OIL_BusinessTypeVH.
-- 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.

CREATE VIEW I_OIL_BusinessTypeVH AS
SELECT
  rnbt AS RetailNetworkBusinessType,
  kalvg AS BusinessTypeMarginProcedure,
  appbk AS BizTypeIsBulkBusinessRelated,
  appmc AS BizTypeIsMerchandisingBusReltd,
  appcw AS BusinessTypeIsCarWashRelated,
  appnn AS BusinessTypeIsNotBusinessReltd,
  iconname AS BusinessTypeIconValue,
  rfcdest_rem AS RtlSystRFCDestWithRemoteUsrVal,
  rfcdest AS RetailSystemRFCDestinationVal,
  url AS StoreWorkbenchWebGateURLValue,
  use_hr_retail AS RetailNetworkIsLogon,
  orgstr_check AS OrganizationStructureCheck,
  ext_pric_tool AS ExternalPriceOptimizerIsActive
FROM oirarnbt
LEFT OUTER JOIN I_OIL_BusinessTypeText AS _Text ON _Text.RetailNetworkBusinessType = RetailNetworkBusinessType  -- association [0..*]
LEFT OUTER JOIN I_OIL_BusinessTypeMargProcedVH AS _BusinessTypeMargProced ON _BusinessTypeMargProced.BusinessTypeMarginProcedure = BusinessTypeMarginProcedure  -- association [0..1]
LEFT OUTER JOIN I_MaintMblApplRFCDestinationVH AS _RFCDestinationRemote ON _RFCDestinationRemote.MaintMblApplRFCDestination = RtlSystRFCDestWithRemoteUsrVal  -- association [0..1]
LEFT OUTER JOIN I_MaintMblApplRFCDestinationVH AS _RFCDestination ON _RFCDestination.MaintMblApplRFCDestination = RetailSystemRFCDestinationVal  -- association [0..1]
LEFT OUTER JOIN I_OIL_OrgStructureCheckVH AS _OrgStructureCheckVH ON _OrgStructureCheckVH.OrganizationStructureCheck = OrganizationStructureCheck  -- association [1..1]
;