FCCX_TP_RUL_P

DDL: FCCX_TP_RUL_P Type: view_entity

Rule with parameters

FCCX_TP_RUL_P is a CDS View that provides data about "Rule with parameters" in SAP S/4HANA. It reads from 4 data sources (FCCX_TP_DEF_P, fccx_rdt_datpert, fccx_rdt_datpert, fccx_tskpar_rule) and exposes 48 fields with key fields VariantId, ProgramName, ParameterName, Seqnr.

Data Sources (4)

SourceAliasJoin Type
FCCX_TP_DEF_P FCCX_TP_DEF_P from
fccx_rdt_datpert RDTperthigh left_outer
fccx_rdt_datpert RDTpertLow left_outer
fccx_tskpar_rule rul left_outer

Parameters (1)

NameTypeDefault
p_lang abap.lang

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Rule with parameters view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY VariantId def VariantId
KEY ProgramName def ProgramName
KEY ParameterName def ParameterName Rule Parameter
KEY Seqnr fccx_tskpar_rule seqnr Tank ID
ParameterType def ParameterType Parameter Type
ParameterTypeDescription def ParameterTypeDescription Well Code Des.
HiddenIndicator def HiddenIndicator Hidden for End User
HdrText def HdrText User Group
JobTemplateName def JobTemplateName
ApplJobTemplateText def ApplJobTemplateText
JobCatalogEntryName def JobCatalogEntryName
LifeCycleStatus def LifeCycleStatus Life Cycle Status
textendaslow
RdtKeyLow fccx_tskpar_rule rdt_key_low Low Rule
RdtKeyTextLow fccx_rdt_datpert text User Group
RdtKeyHigh fccx_tskpar_rule rdt_key_high High Rule
RdtKeyTextHigh fccx_rdt_datpert text User Group
ValueLow fccx_tskpar_rule value_low Para Low Value
ValueHigh fccx_tskpar_rule value_high Value for Search
RuleCount def RuleCount
ContainsRuleOrParameterType def ContainsRuleOrParameterType
Kind def Kind Usage Data Source
Type def Type Worklist Type
Dtyp def Dtyp DDIC Type
Length def Length Text Length
Intlen def Intlen Length
Decimals def Decimals Rounding Places
MandatoryInd def MandatoryInd Mandatory Parameter
CheRad def CheRad CHAR01 data element for SYST
GroupId def GroupId Group name
Dbtabname def Dbtabname Table Name
Dbfieldname def Dbfieldname Field Name
TypingDataType def TypingDataType
Text def Text User Group
ConvExit def ConvExit Convers. Rout.
Lowercase def Lowercase Link
HiddenInd def HiddenInd Hidden
ChangeableInd def ChangeableInd Boolean Variable (X = True, - = False, Space = Unknown)
IsDate def IsDate TRUE
IsFyear def IsFyear TRUE
IsFper def IsFper TRUE
IsFyearperiod def IsFyearperiod TRUE
IsManagedByFcco def IsManagedByFcco TRUE
ParameterTypeMeta def ParameterTypeMeta Parameter Type
ScreenPosition def ScreenPosition
ValueHelpType def ValueHelpType Value Help Type
ShlpName def ShlpName SearchHelpName
HasValueHelp def HasValueHelp Boolean Variable (X = True, - = False, Space = Unknown)

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 FCCX_TP_RUL_P.
-- 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.
-- Parameters: p_lang : abap.lang

CREATE VIEW FCCX_TP_RUL_P AS
SELECT
  def.VariantId AS VariantId,
  def.ProgramName AS ProgramName,
  def.ParameterName AS ParameterName,
  rul.seqnr AS Seqnr,
  def.ParameterType AS ParameterType,
  def.ParameterTypeDescription AS ParameterTypeDescription,
  def.HiddenIndicator AS HiddenIndicator,
  def.HdrText AS HdrText,
  def.JobTemplateName AS JobTemplateName,
  def.ApplJobTemplateText AS ApplJobTemplateText,
  def.JobCatalogEntryName AS JobCatalogEntryName,
  def.LifeCycleStatus AS LifeCycleStatus,
  case rul.rdt_key_low when '0000' then rul.value_low else concat( cast( cast( rul.rdt_key_low as int4 ) as sstring ), concat( concat( ' (', RDTpertLow.text ), ')' ) ) end as low AS textendaslow,
  rul.rdt_key_low AS RdtKeyLow,
  RDTpertLow.text AS RdtKeyTextLow,
  rul.rdt_key_high AS RdtKeyHigh,
  RDTperthigh.text AS RdtKeyTextHigh,
  rul.value_low AS ValueLow,
  rul.value_high AS ValueHigh,
  def.RuleCount AS RuleCount,
  def.ContainsRuleOrParameterType AS ContainsRuleOrParameterType,
  def.Kind AS Kind,
  def.Type AS Type,
  def.Dtyp AS Dtyp,
  def.Length AS Length,
  def.Intlen AS Intlen,
  def.Decimals AS Decimals,
  def.MandatoryInd AS MandatoryInd,
  def.CheRad AS CheRad,
  def.GroupId AS GroupId,
  def.Dbtabname AS Dbtabname,
  def.Dbfieldname AS Dbfieldname,
  def.TypingDataType AS TypingDataType,
  def.Text AS Text,
  def.ConvExit AS ConvExit,
  def.Lowercase AS Lowercase,
  def.HiddenInd AS HiddenInd,
  def.ChangeableInd AS ChangeableInd,
  def.IsDate AS IsDate,
  def.IsFyear AS IsFyear,
  def.IsFper AS IsFper,
  def.IsFyearperiod AS IsFyearperiod,
  def.IsManagedByFcco AS IsManagedByFcco,
  def.ParameterTypeMeta AS ParameterTypeMeta,
  def.ScreenPosition AS ScreenPosition,
  def.ValueHelpType AS ValueHelpType,
  def.ShlpName AS ShlpName,
  def.HasValueHelp AS HasValueHelp
FROM FCCX_TP_DEF_P
LEFT OUTER JOIN fccx_tskpar_rule AS rul ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fccx_rdt_datpert AS RDTpertLow ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fccx_rdt_datpert AS RDTperthigh ON /* join condition not captured in parsed metadata */
;