C_MfgBuyOffTemplateTP

DDL: C_MFGBUYOFFTEMPLATETP SQL: CMFGBOFFTEMPLATE Type: view CONSUMPTION

Buy Off Template

C_MfgBuyOffTemplateTP is a Consumption CDS View that provides data about "Buy Off Template" in SAP S/4HANA. It reads from 1 data source (I_MfgBuyOffTemplateTP) and exposes 12 fields with key field MfgBuyOffTemplate. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgBuyOffTemplateTP I_MfgBuyOffTemplateTP from

Associations (4)

CardinalityTargetAliasCondition
[1..*] C_MfgBuyOffTmplSequenceTP _Sequence $projection.MfgBuyOffTemplate = _Sequence.MfgBuyOffTemplate
[1..1] I_MfgBuyOffTemplateVH _TemplateIDValueHelp $projection.MfgBuyOffTemplateForEdit = _TemplateIDValueHelp.MfgBuyOffTemplateForEdit or $projection.MfgBuyOffTemplate = _TemplateIDValueHelp.MfgBuyOffTemplate
[0..1] I_User _CreateUser $projection.CreatedByUser = _CreateUser.UserID
[0..1] I_User _ChangeUser $projection.LastChangedByUser = _ChangeUser.UserID

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName CMFGBOFFTEMPLATE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Buy Off Template view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
UI.headerInfo.title.value MfgBuyOffTemplateForEdit view
UI.headerInfo.description.value MfgBuyOffTemplateDescription view
UI.headerInfo.typeName Buyoff Template view
UI.headerInfo.typeNamePlural Buyoff Templates view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY MfgBuyOffTemplate MfgBuyOffTemplate Template ID
MfgBuyOffTemplateForEdit MfgBuyOffTemplateForEdit Template ID
MfgBuyOffTemplateDescription MfgBuyOffTemplateDescription
CreatedByUser I_MfgBuyOffTemplateTP CreatedByUser User Name
LastChangedByUser I_MfgBuyOffTemplateTP LastChangedByUser User Name
MfgBuyOffTemplateNote MfgBuyOffTemplateNote
LastChangeDateTime LastChangeDateTime Timestamp
ChangedBy _ChangeUser UserDescription Changed By
CreationDateTime CreationDateTime Timestamp
MfgBuyOffCreatedBy _CreateUser UserDescription Created By
_Sequence _Sequence
_TemplateIDValueHelp _TemplateIDValueHelp

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 C_MfgBuyOffTemplateTP.
-- 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: CMFGBOFFTEMPLATE

CREATE VIEW C_MfgBuyOffTemplateTP AS
SELECT
  MfgBuyOffTemplate,
  MfgBuyOffTemplateForEdit,
  MfgBuyOffTemplateDescription,
  I_MfgBuyOffTemplateTP.CreatedByUser AS CreatedByUser,
  I_MfgBuyOffTemplateTP.LastChangedByUser AS LastChangedByUser,
  MfgBuyOffTemplateNote,
  LastChangeDateTime,
  _ChangeUser.UserDescription AS ChangedBy,
  CreationDateTime,
  _CreateUser.UserDescription AS MfgBuyOffCreatedBy
FROM I_MfgBuyOffTemplateTP
LEFT OUTER JOIN C_MfgBuyOffTmplSequenceTP AS _Sequence ON MfgBuyOffTemplate = _Sequence.MfgBuyOffTemplate  -- association [1..*]
LEFT OUTER JOIN I_MfgBuyOffTemplateVH AS _TemplateIDValueHelp ON MfgBuyOffTemplateForEdit = _TemplateIDValueHelp.MfgBuyOffTemplateForEdit OR MfgBuyOffTemplate = _TemplateIDValueHelp.MfgBuyOffTemplate  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreateUser ON CreatedByUser = _CreateUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangeUser ON LastChangedByUser = _ChangeUser.UserID  -- association [0..1]
;