C_LegalTransactionDate

DDL: C_LEGALTRANSACTIONDATE SQL: CLEGALTRDATE Type: view CONSUMPTION

Legal Transaction Date (Draft disabled)

C_LegalTransactionDate is a Consumption CDS View that provides data about "Legal Transaction Date (Draft disabled)" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionDate) and exposes 11 fields with key field LegalTransactionDateUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionDate I_LegalTransactionDate from

Associations (1)

CardinalityTargetAliasCondition
[0..1] C_LCMDateTypeValueHelp _LCMDateTypeValueHelp $projection.LglCntntMDateType = _LCMDateTypeValueHelp.LglCntntMDateType

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CLEGALTRDATE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.semanticKey LglCntntMDateType view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Legal Transaction Date (Draft disabled) view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionDateUUID LegalTransactionDateUUID
LegalTransactionUUID LegalTransactionUUID
LglCntntMFromDate LglCntntMFromDate From
LglCntntMToDate LglCntntMToDate To
LglCntntMDateType LglCntntMDateType Date Type
LglCntntMDateTypeName _LCMDateTypeValueHelp LglCntntMDateTypeName
LglCntntMDateIsPeriod
LegalTransactionMandatoryFlag LegalTransactionMandatoryFlag
LglCntntMIsMandatory Required
_LCMDateTypeValueHelp _LCMDateTypeValueHelp
_LegalTransaction _LegalTransaction
@AbapCatalog.sqlViewName: 'CLEGALTRDATE'

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel: { createEnabled,
                updateEnabled,
                deleteEnabled,
                semanticKey: 'LglCntntMDateType',
                usageType.dataClass: #MIXED,
                usageType.serviceQuality: #C,
                usageType.sizeCategory: #M
                }

@VDM.viewType: #CONSUMPTION

@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true

//TODO

@AccessControl.authorizationCheck: #CHECK

@EndUserText.label: 'Legal Transaction Date (Draft disabled)'

define view C_LegalTransactionDate
  as select from I_LegalTransactionDate

  //Value Helps

  association [0..1] to C_LCMDateTypeValueHelp as _LCMDateTypeValueHelp on $projection.LglCntntMDateType = _LCMDateTypeValueHelp.LglCntntMDateType


{

      @UI.hidden: true
  key LegalTransactionDateUUID,

      @UI.hidden: true
      LegalTransactionUUID,

      @Semantics.businessDate.from: true
      @EndUserText.label: 'From'
      LglCntntMFromDate,

      @Semantics.businessDate.to: true
      @EndUserText.label: 'To'
      LglCntntMToDate,

      @ObjectModel.text.element: 'LglCntntMDateTypeName'
      @Consumption.valueHelp: '_LCMDateTypeValueHelp'
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Date Type'
      @ObjectModel.mandatory: true
      LglCntntMDateType,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.text: true
      _LCMDateTypeValueHelp.LglCntntMDateTypeName,

      @UI.hidden: true
      @Semantics.booleanIndicator: true
      ''                                                                                     as LglCntntMDateIsPeriod,

      @UI.hidden: true
      LegalTransactionMandatoryFlag,

      @UI.identification: { position: 25, importance: #HIGH }
      @EndUserText.label: 'Required'
      @Semantics.booleanIndicator: true
      //cast( LegalTransactionMandatoryFlag as lcm_lt_mandatory_ctrl_to_bool preserving type ) as LglCntntMIsMandatory,

      cast ( '' as lcm_is_mandatory preserving type )  as LglCntntMIsMandatory,

      _LCMDateTypeValueHelp,
      
      _LegalTransaction
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_LCMDATETYPEVALUEHELP",
"I_LEGALTRANSACTIONDATE"
],
"ASSOCIATED":
[
"C_LCMDATETYPEVALUEHELP",
"I_LEGALTRANSACTION"
],
"BASE":
[
"I_LEGALTRANSACTIONDATE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/