A_ServiceDocumentType

DDL: A_SERVICEDOCUMENTTYPE Type: view COMPOSITE Package: ODATA_CRMS4_SERV_CODELIST

Service Transaction Type

A_ServiceDocumentType is a Composite CDS View that provides data about "Service Transaction Type" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentType) and exposes 5 fields with key field ServiceDocumentType. It has 1 association to related views. It is exposed through 1 OData service (API_SERVICEDOCUMENTTYPE). Part of development package ODATA_CRMS4_SERV_CODELIST.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentType I_ServiceDocumentType from

Associations (1)

CardinalityTargetAliasCondition
[1..*] A_ServiceDocumentTypeText _ServiceDocumentTypeText $projection.ServiceDocumentType = _ServiceDocumentTypeText.ServiceDocumentType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ASERVDOCTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Service Transaction Type view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ServiceDocumentType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
OData.entityType.name ServiceDocumentType_Type view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #COMPOSITE view

OData Services (1)

ServiceBindingVersionContractRelease
API_SERVICEDOCUMENTTYPE API_SRVCDOCUMENTTYPE V4 C2 C1

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentType ServiceDocumentType Transaction Type
ServiceObjectType ServiceObjectType Object Type
BusinessObjectTypeName
ServiceDocumentTypeName
_ServiceDocumentTypeText _ServiceDocumentTypeText

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 A_ServiceDocumentType.
-- 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 A_ServiceDocumentType AS
SELECT
  ServiceDocumentType,
  ServiceObjectType,
  _ServiceObjectTypeText[1:Language=$session.system_language].BusinessObjectTypeName AS BusinessObjectTypeName,
  _ServiceDocumentTypeText[1:Language=$session.system_language].ServiceDocumentTypeName AS ServiceDocumentTypeName
FROM I_ServiceDocumentType
LEFT OUTER JOIN A_ServiceDocumentTypeText AS _ServiceDocumentTypeText ON ServiceDocumentType = _ServiceDocumentTypeText.ServiceDocumentType  -- association [1..*]
;