C_SrvcContrItmBillgBlkSitn

DDL: C_SRVCCONTRITMBILLGBLKSITN SQL: CSRVCONTITMBLBS Type: view CONSUMPTION

Service Contract Item Billing Blocked

C_SrvcContrItmBillgBlkSitn is a Consumption CDS View that provides data about "Service Contract Item Billing Blocked" in SAP S/4HANA. It reads from 1 data source (P_SrvcContrItmBillgBlkSitn) and exposes 40 fields with key fields ServiceObjectType, ServiceContract, ServiceContractItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_SrvcContrItmBillgBlkSitn P_SrvcContrItmBillgBlkSitn from

Associations (1)

CardinalityTargetAliasCondition
[1] I_PersonWorkAgreement_1 _ResponsibleEmployee $projection.RespEmployeeBusinessPartnerId = _ResponsibleEmployee.Person

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CSRVCONTITMBLBS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Service Contract Item Billing Blocked view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey ServiceContractItem view
ObjectModel.uniqueIdField ServiceContractItemUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
Metadata.ignorePropagatedAnnotations true view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceContract ServiceDocument Service Contract ID
KEY ServiceContractItem ServiceDocumentItem Service Contract Item
ServiceContractItemUUID ServiceDocumentItemUUID
ServiceDocumentItemIsReleased ServiceDocumentItemIsReleased
TransactionCurrency TransactionCurrency Transaction Currency
ServiceDocumentItemNetAmount ServiceDocumentItemNetAmount Value of Service Contract Item
ServiceContractCombinedKey
ServiceDocumentDescription ServiceDocumentDescription
ServiceContractType ServiceDocumentType Transaction Type
ServiceContractItemStartDate ServiceContractItemStartDate Start Date
ServiceContractItemEndDate ServiceContractItemEndDate End Date
RespEmployeeBusinessPartnerId ResponsibleEmployee Employee Resp.
ResponsibleEmployeeUserID
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization
SrvcContrItemHasBillingBlock SrvcContrItemHasBillingBlock Blocked for Billing
_ServiceDocumentType _ServiceDocumentType
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_SalesOrganizationOrgUnit_2 _SalesOrganizationOrgUnit_2
_SalesOfficeOrgUnit_2 _SalesOfficeOrgUnit_2
_SalesGroupOrgUnit_2 _SalesGroupOrgUnit_2
_ServiceOrganizationOrgUnit_2 _ServiceOrganizationOrgUnit_2
_RespEmployee _RespEmployee
_ServiceObjType _ServiceObjType
_ServiceDocument _ServiceDocument
_ResponsibleEmployee _ResponsibleEmployee
_TransactionCurrency _TransactionCurrency
_IsBlocked _IsBlocked

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_SrvcContrItmBillgBlkSitn.
-- 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: CSRVCONTITMBLBS

CREATE VIEW C_SrvcContrItmBillgBlkSitn AS
SELECT
  ServiceObjectType,
  ServiceDocument AS ServiceContract,
  ServiceDocumentItem AS ServiceContractItem,
  ServiceDocumentItemUUID AS ServiceContractItemUUID,
  ServiceDocumentItemIsReleased,
  TransactionCurrency,
  ServiceDocumentItemNetAmount,
  cast((concat(concat(ServiceDocument, '/'), ServiceDocumentItem)) as crms4_srvc_sitn_combnd_keys) AS ServiceContractCombinedKey,
  ServiceDocumentDescription,
  ServiceDocumentType AS ServiceContractType,
  ServiceContractItemStartDate,
  ServiceContractItemEndDate,
  ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
  cast ( _ResponsibleEmployee._WorkforcePerson._BusinessUser.UserID as resp_empl_userid ) AS ResponsibleEmployeeUserID,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesOffice,
  SalesGroup,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  ServiceOrganization,
  SrvcContrItemHasBillingBlock
FROM P_SrvcContrItmBillgBlkSitn
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _ResponsibleEmployee ON RespEmployeeBusinessPartnerId = _ResponsibleEmployee.Person  -- association [1]
;