P_Ibin

DDL: P_IBIN SQL: PIBIN Type: view BASIC Package: ODATA_LO_VCHCLF_SIMULATION

private view upon IBIN

P_Ibin is a Basic CDS View that provides data about "private view upon IBIN" in SAP S/4HANA. It reads from 1 data source (ibin) and exposes 8 fields with key fields mandt, in_recno. Part of development package ODATA_LO_VCHCLF_SIMULATION.

Data Sources (1)

SourceAliasJoin Type
ibin _IBaseInstance from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PIBIN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY mandt ibin mandt Editing Client
KEY in_recno ibin in_recno Record number
instance ibin instance TaskCount
cstatus ibin cstatus ATINSTATUS
clientNULLendasLastChangeDate
valfr ibin valfr Valid From
valto ibin valto Valid To
ConfigurationDate ibin datuv Valid-from date

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 P_Ibin.
-- 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: PIBIN

CREATE VIEW P_Ibin AS
SELECT
  _IBaseInstance.mandt AS mandt,
  _IBaseInstance.in_recno AS in_recno,
  _IBaseInstance.instance AS instance,
  _IBaseInstance.cstatus AS cstatus,
  case when _IBaseInstance.uptim is null then tstmp_to_dats( _IBaseInstance.uptim, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) else tstmp_to_dats( _IBaseInstance.crtim, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) end as LastChangeDate AS clientNULLendasLastChangeDate,
  _IBaseInstance.valfr AS valfr,
  _IBaseInstance.valto AS valto,
  _IBaseInstance.datuv AS ConfigurationDate
FROM ibin AS _IBaseInstance
;