C_ABOPSegmentTP

DDL: C_ABOPSEGMENTTP SQL: CABOPSEGMENTTP Type: view CONSUMPTION

BOP Segment Transactional Processing

C_ABOPSegmentTP is a Consumption CDS View that provides data about "BOP Segment Transactional Processing" in SAP S/4HANA. It reads from 1 data source (I_ABOPSegmentTP) and exposes 28 fields with key field ABOPSegmentUUID. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ABOPSegmentTP I_ABOPSegmentTP from

Associations (8)

CardinalityTargetAliasCondition
[0..*] C_ABOPSegmentSortTP _Sort $projection.ABOPSegmentUUID = _Sort.ABOPSegmentUUID
[0..*] C_ABOPSegmentTextTP _Text $projection.ABOPSegmentUUID = _Text.ABOPSegmentUUID
[0..1] C_ABOPSegmentTextTP _TextInSessionLanguage $projection.ABOPSegmentUUID = _TextInSessionLanguage.ABOPSegmentUUID and _TextInSessionLanguage.Language = $session.system_language
[0..1] C_ATPSelOptnToolDefinitionTP _SelOptnToolDefinition $projection.ATPSelOptnToolDefUUID = _SelOptnToolDefinition.ATPSelOptnToolDefUUID
[0..*] C_ABOPSegmentSimulationTP _Simulation $projection.ABOPSegmentUUID = _Simulation.ABOPSegmentUUID
[0..1] C_ABOPSegmentSimulationTP _SimulationByUser $projection.ABOPSegmentUUID = _SimulationByUser.ABOPSegmentUUID and _SimulationByUser.CreatedByUser = $session.user
[0..*] I_ABOPVariantSegment _VariantSegment $projection.ABOPSegmentUUID = _VariantSegment.ABOPSegmentUUID
[0..*] C_ABOPVariantUsageInSegment _UsageInSegment $projection.ABOPSegmentUUID = _UsageInSegment.ABOPSegmentUUID

Annotations (18)

NameValueLevelField
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
AbapCatalog.sqlViewName CABOPSEGMENTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label BOP Segment Transactional Processing view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.draftEnabled true view
ObjectModel.representativeKey ABOPSegmentUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY ABOPSegmentUUID ABOPSegmentUUID BOP Segment UUID
Variantisnot
ABOPSegmentCondition ABOPSegmentCondition Selection Criteria
ABOPSegmentProcedure ABOPSegmentProcedure Procedure Name
ABOPSegmentType ABOPSegmentType BOP Segment Type
ABOPSegmentDescription _TextInSessionLanguage ABOPSegmentDescription Segment Description
ATPSelOptnToolDefUUID ATPSelOptnToolDefUUID SOT Definition
ABOPSgmtConditionMigrtnIsOpen
NumberOfRelatedABOPVariants NumberOfRelatedABOPVariants Related Variants
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
CreatedByUserDescription
ABOPSegmentCreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangedByUserDescription
ABOPSegmentLastChangedByUser User Name
LastUsageUTCDateTime LastUsageUTCDateTime Used On
_Sort _Sort
_Text _Text
_Simulation _Simulation
_SimulationByUser _SimulationByUser
_TextInSessionLanguage _TextInSessionLanguage
_SelOptnToolDefinition _SelOptnToolDefinition
_VariantSegment _VariantSegment
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_UsageInSegment _UsageInSegment

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 C_ABOPSegmentTP.
-- 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: CABOPSEGMENTTP

CREATE VIEW C_ABOPSegmentTP AS
SELECT
  ABOPSegmentUUID,
  ABOPSegmentCondition,
  ABOPSegmentProcedure,
  ABOPSegmentType,
  _TextInSessionLanguage.ABOPSegmentDescription AS ABOPSegmentDescription,
  ATPSelOptnToolDefUUID,
  cast( ' ' as atp_bop_sgmt_migrtn_is_open preserving type ) AS ABOPSgmtConditionMigrtnIsOpen,
  NumberOfRelatedABOPVariants,
  CreationDateTime,
  CreatedByUser,
  cast(_CreatedByUser.UserDescription as atp_crted_by_user_description) AS CreatedByUserDescription,
  cast(CreatedByUser as atp_created_by_user_id) AS ABOPSegmentCreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  cast(_LastChangedByUser.UserDescription as atp_chgd_by_user_description) AS LastChangedByUserDescription,
  cast(LastChangedByUser as atp_changed_by_user_id) AS ABOPSegmentLastChangedByUser,
  LastUsageUTCDateTime
FROM I_ABOPSegmentTP
LEFT OUTER JOIN C_ABOPSegmentSortTP AS _Sort ON ABOPSegmentUUID = _Sort.ABOPSegmentUUID  -- association [0..*]
LEFT OUTER JOIN C_ABOPSegmentTextTP AS _Text ON ABOPSegmentUUID = _Text.ABOPSegmentUUID  -- association [0..*]
LEFT OUTER JOIN C_ABOPSegmentTextTP AS _TextInSessionLanguage ON ABOPSegmentUUID = _TextInSessionLanguage.ABOPSegmentUUID AND _TextInSessionLanguage.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN C_ATPSelOptnToolDefinitionTP AS _SelOptnToolDefinition ON ATPSelOptnToolDefUUID = _SelOptnToolDefinition.ATPSelOptnToolDefUUID  -- association [0..1]
LEFT OUTER JOIN C_ABOPSegmentSimulationTP AS _Simulation ON ABOPSegmentUUID = _Simulation.ABOPSegmentUUID  -- association [0..*]
LEFT OUTER JOIN C_ABOPSegmentSimulationTP AS _SimulationByUser ON ABOPSegmentUUID = _SimulationByUser.ABOPSegmentUUID AND _SimulationByUser.CreatedByUser = $session.user  -- association [0..1]
LEFT OUTER JOIN I_ABOPVariantSegment AS _VariantSegment ON ABOPSegmentUUID = _VariantSegment.ABOPSegmentUUID  -- association [0..*]
LEFT OUTER JOIN C_ABOPVariantUsageInSegment AS _UsageInSegment ON ABOPSegmentUUID = _UsageInSegment.ABOPSegmentUUID  -- association [0..*]
;