C_MfgBuyOffTemplateTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgBuyOffTemplateTP | I_MfgBuyOffTemplateTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA