uconhttpattr_v

DDL: UCONHTTP_ATTR SQL: UCONHTTP_ATTR Type: view

Properties about Incoming HTTP calls to this ABAP system

uconhttpattr_v is a CDS View that provides data about "Properties about Incoming HTTP calls to this ABAP system" in SAP S/4HANA. It reads from 1 data source (uconhttplogging) and exposes 16 fields with key fields called_sid, caller_sid, alias_kind, ucon_phase. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
uconhttplogging uconhttplogging from

Parameters (1)

NameTypeDefault
lang abap.lang

Associations (5)

CardinalityTargetAliasCondition
[0..1] uconhttp_clnt_kind_v clientkind $projection.non_abap_http_client = clientkind.ClientKind
[0..1] uconhttp_alias_v aliaskind $projection.alias_kind = aliaskind.Aliaskind
[0..1] uconhttpphase_v http_phase $projection.ucon_phase = http_phase.Phase
[0..1] uconhttpextreq_v extreq $projection.external_call = extreq.ExtReq
[0..1] uconhttprej_v httpreject $projection.rejected_http_call = httpreject.HTTPreject

Annotations (3)

NameValueLevelField
AbapCatalog.sqlViewName UCONHTTP_ATTR view
EndUserText.label Properties about Incoming HTTP calls to this ABAP system view
AccessControl.authorizationCheck #CHECK view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY called_sid called_sid SAP System ID
KEY caller_sid caller_sid SAP System ID
KEY alias_kind alias_kind
KEY ucon_phase ucon_phase
status_code status_code Status Code
user_agent user_agent
FirstCallD Date of First Call
FirstCallT Time of First Call
PrevCallD Date of Previous Call
PrevCallT Time of Previous Call
LastCallD Date of Last Call
LastCallT Time of Last Call
extreq extreq
clientkind clientkind
aliaskind aliaskind
http_phase http_phase

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 uconhttpattr_v.
-- 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: UCONHTTP_ATTR
-- Parameters: lang : abap.lang

CREATE VIEW uconhttpattr_v AS
SELECT
  called_sid,
  caller_sid,
  alias_kind,
  ucon_phase,
  status_code,
  user_agent,
  cast( substring( tstmp_first_call, 1, 8 ) as abap.dats ) AS FirstCallD,
  cast( substring( tstmp_first_call, 9, 6 ) as abap.tims ) AS FirstCallT,
  cast( substring( tstmp_previous_call, 1, 8 ) as abap.dats ) AS PrevCallD,
  cast( substring( tstmp_previous_call , 9, 6 ) as abap.tims ) AS PrevCallT,
  cast( substring( tstmp_last_call , 1, 8 ) as abap.dats ) AS LastCallD,
  cast( substring( tstmp_last_call, 9, 6 ) as abap.tims ) AS LastCallT,
  extreq,
  clientkind,
  aliaskind,
  http_phase
FROM uconhttplogging
LEFT OUTER JOIN uconhttp_clnt_kind_v AS clientkind ON non_abap_http_client = clientkind.ClientKind  -- association [0..1]
LEFT OUTER JOIN uconhttp_alias_v AS aliaskind ON alias_kind = aliaskind.Aliaskind  -- association [0..1]
LEFT OUTER JOIN uconhttpphase_v AS http_phase ON ucon_phase = http_phase.Phase  -- association [0..1]
LEFT OUTER JOIN uconhttpextreq_v AS extreq ON external_call = extreq.ExtReq  -- association [0..1]
LEFT OUTER JOIN uconhttprej_v AS httpreject ON rejected_http_call = httpreject.HTTPreject  -- association [0..1]
;