I_OCFormTemplate

DDL: I_OCFORMTEMPLATE SQL: IOCFORMTEMPLATE Type: view BASIC Package: APOC_OUTPUT_CONTROL_IMPL

Form Template

I_OCFormTemplate is a Basic CDS View that provides data about "Form Template" in SAP S/4HANA. It reads from 1 data source (apoc_c_form) and exposes 7 fields with key fields OutputControlApplObjectType, OutputDocumentType, FormType, FormTemplate. It has 3 associations to related views. It is exposed through 8 OData services (ASQL_F5987, ASQL_F7482, ASQL_F8634, ...). Part of development package APOC_OUTPUT_CONTROL_IMPL.

Data Sources (1)

SourceAliasJoin Type
apoc_c_form apoc_c_form from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_OutputControlApplObjectType _OutputControlApplObjectType $projection.OutputControlApplObjectType = _OutputControlApplObjectType.OutputControlApplObjectType
[1..1] I_OutputControlOutputType _OutputControlOutputType $projection.OutputControlApplObjectType = _OutputControlOutputType.OutputControlApplObjectType and $projection.OutputDocumentType = _OutputControlOutputType.OutputDocumentType
[0..*] I_OCFormTemplateText _Text $projection.FormTemplate = _Text.FormTemplate

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IOCFORMTEMPLATE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
ObjectModel.representativeKey FormTemplate view
Search.searchable true view
EndUserText.label Form Template view

OData Services (8)

ServiceBindingVersionContractRelease
ASQL_F5987 ASQL_F5987 C2 NOT_RELEASED
ASQL_F7482 ASQL_F7482 C2 NOT_RELEASED
ASQL_F8634 ASQL_F8634 C2 NOT_RELEASED
ASQL_F8685 ASQL_F8685 C2 NOT_RELEASED
C_SALESORDERMANAGE_SD C_SALESORDERMANAGE_SRV V4 C1 NOT_RELEASED
UI_SALESCONTRACTMANAGE UI_SALESCONTRACTMANAGE V4 C1 NOT_RELEASED
UI_SALESQUOTATIONMANAGE UI_SALESQUOTATIONMANAGE V4 C1 NOT_RELEASED
UI_SLSORDERWITHOUTCHARGEMANAGE UI_SLSORDERWITHOUTCHARGEMANAGE V4 C1 NOT_RELEASED

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY OutputControlApplObjectType appl_obj_type Appl. Object Type
KEY OutputDocumentType output_type Output Type
KEY FormType form_type P&F Form Type
KEY FormTemplate form_template_name Form Template
_OutputControlApplObjectType _OutputControlApplObjectType
_OutputControlOutputType _OutputControlOutputType
_Text _Text

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 I_OCFormTemplate.
-- 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: IOCFORMTEMPLATE

CREATE VIEW I_OCFormTemplate AS
SELECT
  appl_obj_type AS OutputControlApplObjectType,
  output_type AS OutputDocumentType,
  form_type AS FormType,
  form_template_name AS FormTemplate
FROM apoc_c_form
LEFT OUTER JOIN I_OutputControlApplObjectType AS _OutputControlApplObjectType ON OutputControlApplObjectType = _OutputControlApplObjectType.OutputControlApplObjectType  -- association [0..1]
LEFT OUTER JOIN I_OutputControlOutputType AS _OutputControlOutputType ON OutputControlApplObjectType = _OutputControlOutputType.OutputControlApplObjectType AND OutputDocumentType = _OutputControlOutputType.OutputDocumentType  -- association [1..1]
LEFT OUTER JOIN I_OCFormTemplateText AS _Text ON FormTemplate = _Text.FormTemplate  -- association [0..*]
;