CRMS4V_PS_REQ_TYPE

DDL: CRMS4V_PS_REQ_TYPE SQL: CRMS4VPSREQTYPE Type: view

CDS View for Request Type

CRMS4V_PS_REQ_TYPE is a CDS View that provides data about "CDS View for Request Type" in SAP S/4HANA. It reads from 1 data source (crmc_req_type) and exposes 12 fields with key field RequestCategory. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
crmc_req_type MAIN from

Associations (2)

CardinalityTargetAliasCondition
[0..1] crmc_req_type_t TEXT MAIN.req_type = TEXT.req_type and TEXT.language = $session.system_language
[0..1] crmc_reqt_grp_t TEXT2 MAIN.req_type_group = TEXT2.req_type_group and TEXT2.language = $session.system_language

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4VPSREQTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label CDS View for Request Type view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY RequestCategory crmc_req_type req_type Trans. Request Type
Description TEXT description Well Code Des.
ProcessType crmc_req_type process_type Type of Data
active crmc_req_type active Usage Active
TextType crmc_req_type textid UUID
change_mode crmc_req_type change_mode Mode of Change
RequestCategoryGroup crmc_req_type req_type_group Req.Ctgry Group
RequestCategoryGroupDesc TEXT2 description Well Code Des.
RequestCategoryGUID crmc_req_type req_type_guid Req. Ctgry GUID
katalogart crmc_req_type katalogart Catalog
CodeGroup crmc_req_type codegruppe Code Group
Code crmc_req_type code Water Hazard Cl.

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 CRMS4V_PS_REQ_TYPE.
-- 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: CRMS4VPSREQTYPE

CREATE VIEW CRMS4V_PS_REQ_TYPE AS
SELECT
  MAIN.req_type AS RequestCategory,
  TEXT.description AS Description,
  MAIN.process_type AS ProcessType,
  MAIN.active AS active,
  MAIN.textid AS TextType,
  MAIN.change_mode AS change_mode,
  MAIN.req_type_group AS RequestCategoryGroup,
  TEXT2.description AS RequestCategoryGroupDesc,
  MAIN.req_type_guid AS RequestCategoryGUID,
  MAIN.katalogart AS katalogart,
  MAIN.codegruppe AS CodeGroup,
  MAIN.code AS Code
FROM crmc_req_type AS MAIN
LEFT OUTER JOIN crmc_req_type_t AS TEXT ON MAIN.req_type = TEXT.req_type AND TEXT.language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN crmc_reqt_grp_t AS TEXT2 ON MAIN.req_type_group = TEXT2.req_type_group AND TEXT2.language = $session.system_language  -- association [0..1]
;