I_TranspAgreementStatusTxt
Agreement Status Text
I_TranspAgreementStatusTxt is a Basic CDS View that provides data about "Agreement Status Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields TransportationAgreementStatus, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TranspAgreementStatus | _TranspAgreementStatus | $projection.TransportationAgreementStatus = _TranspAgreementStatus.TransportationAgreementStatus |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Agreement Status Text | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ITFAGSTATUSTXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.representativeKey | TransportationAgreementStatus | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TransportationAgreementStatus | |||
| KEY | Language | ddlanguage | ||
| TranspAgreementStatusText | ||||
| _TranspAgreementStatus | _TranspAgreementStatus | |||
| _Language | _Language |
@EndUserText: {label: 'Agreement Status Text'}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {sqlViewName: 'ITFAGSTATUSTXT',
compiler: {compareFilter: true}}
@ObjectModel: {representativeKey: 'TransportationAgreementStatus',
dataCategory: #TEXT,
usageType: { serviceQuality: #A,
sizeCategory: #M,
dataClass: #CUSTOMIZING}}
@VDM: {viewType: #BASIC,
lifecycle.contract.type: #NONE}
@AccessControl: {authorizationCheck: #NOT_REQUIRED }
define view I_TranspAgreementStatusTxt
as select from dd07t
association [0..1] to I_TranspAgreementStatus as _TranspAgreementStatus on $projection.TransportationAgreementStatus = _TranspAgreementStatus.TransportationAgreementStatus
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_TranspAgreementStatus'
key cast(substring(domvalue_l, 1, 2) as /scmtms/fag_root_status preserving type) as TransportationAgreementStatus,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key ddlanguage as Language,
@Semantics.text: true
cast(ddtext as /scmtms/vdm_fag_status_desc preserving type ) as TranspAgreementStatusText,
/* Associations */
_TranspAgreementStatus,
_Language
}
where
domname = '/SCMTMS/FAG_ROOT_STATUS'
and as4local = 'A';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_TRANSPAGREEMENTSTATUS"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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