CRMS4_SERV_A_SRC

DDL: CRMS4_SERV_A_SRC SQL: CRMS4_SERVASRCH Type: view

Service

CRMS4_SERV_A_SRC is a CDS View that provides data about "Service" in SAP S/4HANA. It reads from 1 data source (CRMS4_SERV_H_SEARCH) and exposes 136 fields with key fields object_type, object_id. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
CRMS4_SERV_H_SEARCH _SERVH from

Associations (2)

CardinalityTargetAliasCondition
[0..*] CRMS4_SERV_I_SEARCH _SERVI _SERVH.header_guid = _SERVI.header_guid
[0..1] E_ServiceDocument _ServiceDocumentExt _SERVH.object_type = _ServiceDocumentExt.ServiceCategory and _SERVH.object_id = _ServiceDocumentExt.ServiceOrder

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4_SERVASRCH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey 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
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Service view

Fields (136)

KeyFieldSource TableSource FieldDescription
KEY object_type object_type Type
KEY object_id object_id Transaction ID
category category Violation Category
category_txt category_txt Well Code Des.
priority priority Workflow priority
priority_txt priority_txt Description
period_date period_date Start Date
settl_from settl_from SettlementStart
settl_to settl_to Settlement End
bill_date bill_date Billing Date
invcr_date invcr_date Billing Date
value_date value_date Value date
sepa_on sepa_on SEPA Relevant
mandate_id mandate_id Mandate Id
kind_date_to kind_date_to Date type
net_weight_h net_weight_h Net Weight
volume_h volume_h Volume
NET_VALUE NET_VALUE Own Net Val
tax_amount_h tax_amount_h Tax Amount
freight_h freight_h Shipment Costs
number_items number_items Number of items
valid_from valid_from Validity Start Time
valid_to valid_to Validity End Time
quot_start quot_start Quot: Valid from Dat
quot_end quot_end Quot: Valid to Date
srv_cust_beg srv_cust_beg Start Date/Time
srv_cust_end srv_cust_end Service Request Due
srq_tot_unit srq_tot_unit Total Drtn Unit ST
srv_rfirst srv_rfirst First Response By
srv_rready srv_rready Due By
srv_close srv_close Closing Date
contstart contstart Contract Start Date
contend contend Contract End Date
date_start date_start
date_end date_end Ends On
due_on due_on Due Date
header_guid header_guid Unique Identifier
GUID GUID UUID 22 char.
process_type process_type Type of Data
posting_date posting_date Posting Date
description description Well Code Des.
DESCRIPTION_UC DESCRIPTION_UC Label Desc.
created_at_h created_at_h Created On
CREATED_AT CREATED_AT Uploaded On
CREATED_ON CREATED_ON Variant created on
changed_at_h changed_at_h Changed On
CHANGED_AT CHANGED_AT Timestamp
CHANGED_ON CHANGED_ON Variant Changed on
created_by_h created_by_h Created By
CREATED_BY CREATED_BY Version Created By
changed_by_h changed_by_h Changed By
changed_by changed_by User Name
btx_class btx_class Trans.Classification
auth_scope auth_scope Authorization Scope
object_id_ok object_id_ok ID Valid
verify_date verify_date Verify Date
dis_channel dis_channel Distribution Channel
division division Internal Division ID
division_ori division_ori Origin: Division
sales_org sales_org Sales Organization
sales_office sales_office Sales Office
sales_group sales_group Sales Group
service_org service_org Service Organization
sales_org_sd sales_org_sd Sales Org.
SOLD_TO_PARTY_LIST SOLD_TO_PARTY_LIST Broker Name
payer payer Payer
payer_list payer_list Broker Name
person_resp person_resp Employee Responsible
resp_group resp_group Responsible Group
service_team service_team Service Team
INBOX_ASSIGNED_TO_list INBOX_ASSIGNED_TO_list Broker Name
INBOX_GROUP_ASSIGNED_list INBOX_GROUP_ASSIGNED_list Broker Name
INBOX_ACCOUNT_list INBOX_ACCOUNT_list Broker Name
INBOX_CONTACT_PERSON_list INBOX_CONTACT_PERSON_list Broker Name
payplan_type payplan_type PaymtPlanType
exchg_type exchg_type Exch. Rate Type
exchg_date exchg_date Exch. Rate Date
taxjurcode taxjurcode Tax Jurisdiction
ref_currency ref_currency Ref. Currency
currency currency Valuation Crcy
price_date price_date Pricing Date
pmnttrms pmnttrms Terms of Paymnt
price_grp price_grp Price Group
cust_group cust_group Customer Group
exchg_rate exchg_rate Exchange Rate
tax_dest_cty tax_dest_cty Dest.Ctry/Reg.
tax_dest_reg tax_dest_reg Region
vat_reg_no vat_reg_no VAT Reg. No.
ac_indicator ac_indicator Account. Indic.
region region Venue Region
industry industry Industry Sector
cust_group1 cust_group1 Customer Grp 1
cust_group2 cust_group2 Customer Grp 2
cust_group3 cust_group3 Customer Grp 3
cust_group4 cust_group4 Customer Grp 4
cust_group5 cust_group5 Customer Grp 5
po_date_sold po_date_sold Reference Date
po_date_ship po_date_ship Reference Doc SH
usage_type usage_type Usage Type
submission submission Collective No.
rejection rejection Rejection Reason
probability probability Probability %
incoterms1 incoterms1 Incoterms
incoterms2 incoterms2 Incoterms 2
ship_cond ship_cond Shipping Cond.
over_dlv_tol over_dlv_tol Overdeliv. Tol
dlv_prio dlv_prio Priority
ordercombind ordercombind Order Combin.
part_dlv part_dlv DeliveryControl
dlv_group dlv_group Delivery Group
part_dlv_itm part_dlv_itm Del. Control Item
rec_priority rec_priority Recommended Priority
urgency urgency Urgency
impact impact Impact
escalation escalation Step escalation?
risk risk Risk
is_updated is_updated Flag
chklst_id chklst_id Checklist ID
wp_fixval wp_fixval Ranking Fix Val
stat_credit stat_credit Item Credit Status
stat_error stat_error Error Status
stat_billing stat_billing Billing Status
stat_open stat_open Open
inbox_status inbox_status Status
stat_ico stat_ico ICO processing stat
asp_id_01 asp_id_01 Schema ID
cat_id_01 cat_id_01 Schema ID
asp_id_02 asp_id_02 Schema ID
cat_id_02 cat_id_02 Category ID
rule_horizon rule_horizon Horizon
rule_date_to rule_date_to DetermineDateTo
cancproc cancproc Cancellation
cancparty cancparty Cancelling Party
canc_reason canc_reason Cancell.Reason
SIT_NUM_TOT SIT_NUM_TOT
_SERVI _SERVI

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 CRMS4_SERV_A_SRC.
-- 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: CRMS4_SERVASRCH

CREATE VIEW CRMS4_SERV_A_SRC AS
SELECT
  object_type,
  object_id,
  category,
  category_txt,
  priority,
  priority_txt,
  period_date,
  settl_from,
  settl_to,
  bill_date,
  invcr_date,
  value_date,
  sepa_on,
  mandate_id,
  kind_date_to,
  net_weight_h,
  volume_h,
  NET_VALUE,
  tax_amount_h,
  freight_h,
  number_items,
  valid_from,
  valid_to,
  quot_start,
  quot_end,
  srv_cust_beg,
  srv_cust_end,
  srq_tot_unit,
  srv_rfirst,
  srv_rready,
  srv_close,
  contstart,
  contend,
  date_start,
  date_end,
  due_on,
  header_guid,
  GUID,
  process_type,
  posting_date,
  description,
  DESCRIPTION_UC,
  created_at_h,
  CREATED_AT,
  CREATED_ON,
  changed_at_h,
  CHANGED_AT,
  CHANGED_ON,
  created_by_h,
  CREATED_BY,
  changed_by_h,
  changed_by,
  btx_class,
  auth_scope,
  object_id_ok,
  verify_date,
  dis_channel,
  division,
  division_ori,
  sales_org,
  sales_office,
  sales_group,
  service_org,
  sales_org_sd,
  SOLD_TO_PARTY_LIST,
  payer,
  payer_list,
  person_resp,
  resp_group,
  service_team,
  INBOX_ASSIGNED_TO_list,
  INBOX_GROUP_ASSIGNED_list,
  INBOX_ACCOUNT_list,
  INBOX_CONTACT_PERSON_list,
  payplan_type,
  exchg_type,
  exchg_date,
  taxjurcode,
  ref_currency,
  currency,
  price_date,
  pmnttrms,
  price_grp,
  cust_group,
  exchg_rate,
  tax_dest_cty,
  tax_dest_reg,
  vat_reg_no,
  ac_indicator,
  region,
  industry,
  cust_group1,
  cust_group2,
  cust_group3,
  cust_group4,
  cust_group5,
  po_date_sold,
  po_date_ship,
  usage_type,
  submission,
  rejection,
  probability,
  incoterms1,
  incoterms2,
  ship_cond,
  over_dlv_tol,
  dlv_prio,
  ordercombind,
  part_dlv,
  dlv_group,
  part_dlv_itm,
  rec_priority,
  urgency,
  impact,
  escalation,
  risk,
  is_updated,
  chklst_id,
  wp_fixval,
  stat_credit,
  stat_error,
  stat_billing,
  stat_open,
  inbox_status,
  stat_ico,
  asp_id_01,
  cat_id_01,
  asp_id_02,
  cat_id_02,
  rule_horizon,
  rule_date_to,
  cancproc,
  cancparty,
  canc_reason,
  SIT_NUM_TOT
FROM CRMS4_SERV_H_SEARCH AS _SERVH
LEFT OUTER JOIN CRMS4_SERV_I_SEARCH AS _SERVI ON _SERVH.header_guid = _SERVI.header_guid  -- association [0..*]
LEFT OUTER JOIN E_ServiceDocument AS _ServiceDocumentExt ON _SERVH.object_type = _ServiceDocumentExt.ServiceCategory AND _SERVH.object_id = _ServiceDocumentExt.ServiceOrder  -- association [0..1]
;