C_MngFrtCostAllocDoc
Manage Freight Cost Allocation Documents
C_MngFrtCostAllocDoc is a Consumption CDS View that provides data about "Manage Freight Cost Allocation Documents" in SAP S/4HANA. It reads from 1 data source (R_FrtCostAllocDocTP) and exposes 106 fields with key field FreightCostAllocationDocument. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_FrtCostAllocDocTP | R_FrtCostAllocDocTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_FrtCostAlcPrcgElmnt_F5514 | _FrtCostAllocPrcgElmnt | $projection.FreightCostAllocationDocument = _FrtCostAllocPrcgElmnt.FreightCostAllocationDocument |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Manage Freight Cost Allocation Documents | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.representativeKey | FreightCostAllocationDocument | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | SMH | view | |
| AbapCatalog.extensibility.quota.maximumFields | 404 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 24080 | view |
Fields (106)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FreightCostAllocationDocument | FreightCostAllocationDocument | Freight Cost Allocation Document | |
| SettlmtDocType | SettlmtDocType | Settlement Document Type | ||
| SettlmtDocTypeDesclocalized | ||||
| SettlmtDocCat | SettlmtDocCat | Settlement Document Category | ||
| SettlmtDocCatNamelocalized | ||||
| SettlmtProcessType | SettlmtProcessType | Settlement Process Type | ||
| SettlmtProcessTypeDesclocalized | ||||
| SettlmtProcessCat | SettlmtProcessCat | Settlement Process Category | ||
| SettlmtProcessCatNamelocalized | ||||
| PostingDate | PostingDate | Posting Date for GR | ||
| FrtCostAllocAdjmtCat | FrtCostAllocAdjmtCat | Adjustment Category | ||
| FrtCostAllocAcctgTransfSts | FrtCostAllocAcctgTransfSts | Posting Status | ||
| FrtCostAllocAcctgTransfStsNamelocalized | ||||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| SettlmtApplSts | SettlmtApplSts | Appl. Status | ||
| SettlmtApplStsDesclocalized | ||||
| SettlmtApplStsGrp | SettlmtApplStsGrp | Status Group | ||
| SettlmtApplStsGrpDesclocalized | ||||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingOrganizationName | _PurchasingOrganization | PurchasingOrganizationName | Purch. Org. Name | |
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingGroupName | _PurchasingGroup | PurchasingGroupName | Purchasing Grp. Name | |
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationNamelocalized | ||||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| DistributionChannelNamelocalized | ||||
| Division | Division | Internal Division ID | ||
| DivisionNamelocalized | ||||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesOfficeNamelocalized | ||||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesGroupNamelocalized | ||||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserFullName | ||||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| FrtCostAllocDocCurrency | FrtCostAllocDocCurrency | Document Currency | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| ExchangeRateTypeNamelocalized | ||||
| ExchangeRateIsFixed | ExchangeRateIsFixed | Fixed Exch.Rate | ||
| ExchangeRateDate | ExchangeRateDate | Translatn Date | ||
| FrtCostAllocDocTotGrossAmount | FrtCostAllocDocTotGrossAmount | Gross Amount | ||
| FrtCostAllocDocTotalNetAmount | FrtCostAllocDocTotalNetAmount | Net Amount | ||
| FrtCostAllocDocIsReversed | FrtCostAllocDocIsReversed | Document is Reversed | ||
| RvsdFrtCostAllocDoc | RvsdFrtCostAllocDoc | Reversed Document | ||
| FrtCostAllocDocActivityReason | FrtCostAllocDocActivityReason | Header Document Creation Activity Reason | ||
| SettlmtActivityReasonDesclocalized | ||||
| SettlmtClassificationCat | SettlmtClassificationCat | Classification Cat. | ||
| SettlmtClassificationCatNamelocalized | ||||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FrtCostAllocBusProcCat | FrtCostAllocBusProcCat | Use Case Type | ||
| ApplElmntBehaviorGrp | ApplElmntBehaviorGrp | Element Behavior Group | ||
| FrtCostAllocDocIncmpltnsRsn | FrtCostAllocDocIncmpltnsRsn | Incomplete Rsn | ||
| SettlmtMgmtDocIncmpltnsRsnDesclocalized | ||||
| JournalEntryCreationDate | JournalEntryCreationDate | Journal Entry Creation Date | ||
| JournalEntryCreationTime | JournalEntryCreationTime | Journal Entry Creation Time | ||
| virtualJournalEntryfarp_belnr_d | ||||
| virtualFiscalYearfis_gjahr_no_conv | ||||
| virtualUICT_COLL_Jrnl_Entriesboolean | ||||
| virtualUICT_FldGrpJournalEntryboolean | ||||
| virtualUICT_DocHasMltplJrnlEntrboolean | ||||
| virtualUICT_HDR_Statusboolean | ||||
| virtualUICT_HDR_Acctgboolean | ||||
| virtualUICT_HDR_Amountboolean | ||||
| virtualUICT_COLL_Gen_Infoboolean | ||||
| virtualUICT_COLL_Basic_Databoolean | ||||
| virtualUICT_COLL_Crcy_Postgboolean | ||||
| virtualUICT_FLDGRP_Adminboolean | ||||
| virtualUICT_FLDGRP_Settlmt_Detsboolean | ||||
| virtualUICT_FLDGRP_Proc_Detsboolean | ||||
| virtualUICT_FLDGRP_Ref_Infoboolean | ||||
| virtualUICT_FLDGRP_Rev_Infoboolean | ||||
| virtualUICT_FLDGRP_Crcy_Infoboolean | ||||
| virtualUICT_FLDGRP_Postg_Infoboolean | ||||
| virtualUICT_LNITM_Prcg_Elmntboolean | ||||
| FrtCostAllocDocChangeState | FrtCostAllocDocChangeState | Change State | ||
| _CompanyCode | _CompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _ExchangeRateType | _ExchangeRateType | |||
| _FrtCostAllocAcctgTransfSts | _FrtCostAllocAcctgTransfSts | |||
| _FrtCostAllocDocActivityReason | _FrtCostAllocDocActivityReason | |||
| _FrtCostAllocDocCurrency | _FrtCostAllocDocCurrency | |||
| _FrtCostAllocDocIncmpltnsRsn | _FrtCostAllocDocIncmpltnsRsn | |||
| _FrtCostAllocPrcgElmnt | _FrtCostAllocPrcgElmnt | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _RvsdFrtCostAllocDoc | _RvsdFrtCostAllocDoc | |||
| _SalesGroup | _SalesGroup | |||
| _SalesOffice | _SalesOffice | |||
| _SalesOrganization | _SalesOrganization | |||
| _SettlmtApplSts | _SettlmtApplSts | |||
| _SettlmtApplStsGrp | _SettlmtApplStsGrp | |||
| _SettlmtApplStsGrpStsAssgmt | _SettlmtApplStsGrpStsAssgmt | |||
| _SettlmtClassificationCat | _SettlmtClassificationCat | |||
| _SettlmtDocCat | _SettlmtDocCat | |||
| _SettlmtDocType | _SettlmtDocType | |||
| _SettlmtProcessCat | _SettlmtProcessCat | |||
| _SettlmtProcessType | _SettlmtProcessType |
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_MngFrtCostAllocDoc.
-- 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.
CREATE VIEW C_MngFrtCostAllocDoc AS
SELECT
FreightCostAllocationDocument,
SettlmtDocType,
_SettlmtDocType._Text.SettlmtDocTypeDesc : localized AS SettlmtDocTypeDesclocalized,
SettlmtDocCat,
_SettlmtDocCat._Text.SettlmtDocCatName : localized AS SettlmtDocCatNamelocalized,
SettlmtProcessType,
_SettlmtProcessType._Text.SettlmtProcessTypeDesc : localized AS SettlmtProcessTypeDesclocalized,
SettlmtProcessCat,
_SettlmtProcessCat._Text.SettlmtProcessCatName : localized AS SettlmtProcessCatNamelocalized,
PostingDate,
FrtCostAllocAdjmtCat,
FrtCostAllocAcctgTransfSts,
_FrtCostAllocAcctgTransfSts._Text.FrtCostAllocAcctgTransfStsName : localized AS FrtCostAllocAcctgTransfStsNamelocalized,
DocumentDate,
DocumentReferenceID,
AssignmentReference,
SettlmtApplSts,
_SettlmtApplSts._Text.SettlmtApplStsDesc : localized AS SettlmtApplStsDesclocalized,
SettlmtApplStsGrp,
_SettlmtApplStsGrp._Text.SettlmtApplStsGrpDesc : localized AS SettlmtApplStsGrpDesclocalized,
CompanyCode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
PurchasingOrganization,
_PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
PurchasingGroup,
_PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
SalesOrganization,
_SalesOrganization._Text.SalesOrganizationName : localized AS SalesOrganizationNamelocalized,
DistributionChannel,
_DistributionChannel._Text.DistributionChannelName : localized AS DistributionChannelNamelocalized,
Division,
_Division._Text.DivisionName : localized AS DivisionNamelocalized,
SalesOffice,
_SalesOffice._Text.SalesOfficeName : localized AS SalesOfficeNamelocalized,
SalesGroup,
_SalesGroup._Text.SalesGroupName : localized AS SalesGroupNamelocalized,
CreatedByUser,
cast( _CreatedByUser.UserDescription as wlf_created_by_fullname preserving type ) AS CreatedByUserFullName,
CreationDate,
CreationTime,
LastChangeDate,
FrtCostAllocDocCurrency,
ExchangeRate,
ExchangeRateType,
_ExchangeRateType._Text.ExchangeRateTypeName : localized AS ExchangeRateTypeNamelocalized,
ExchangeRateIsFixed,
ExchangeRateDate,
FrtCostAllocDocTotGrossAmount,
FrtCostAllocDocTotalNetAmount,
FrtCostAllocDocIsReversed,
RvsdFrtCostAllocDoc,
FrtCostAllocDocActivityReason,
_FrtCostAllocDocActivityReason._Text.SettlmtActivityReasonDesc : localized AS SettlmtActivityReasonDesclocalized,
SettlmtClassificationCat,
_SettlmtClassificationCat._Text.SettlmtClassificationCatName : localized AS SettlmtClassificationCatNamelocalized,
FiscalPeriod,
FrtCostAllocBusProcCat,
ApplElmntBehaviorGrp,
FrtCostAllocDocIncmpltnsRsn,
_FrtCostAllocDocIncmpltnsRsn._Text.SettlmtMgmtDocIncmpltnsRsnDesc : localized AS SettlmtMgmtDocIncmpltnsRsnDesclocalized,
JournalEntryCreationDate,
JournalEntryCreationTime,
virtual JournalEntry : farp_belnr_d AS virtualJournalEntryfarp_belnr_d,
virtual FiscalYear : fis_gjahr_no_conv AS virtualFiscalYearfis_gjahr_no_conv,
virtual UICT_COLL_Jrnl_Entries : boolean AS virtualUICT_COLL_Jrnl_Entriesboolean,
virtual UICT_FldGrpJournalEntry : boolean AS virtualUICT_FldGrpJournalEntryboolean,
virtual UICT_DocHasMltplJrnlEntr : boolean AS virtualUICT_DocHasMltplJrnlEntrboolean,
virtual UICT_HDR_Status : boolean AS virtualUICT_HDR_Statusboolean,
virtual UICT_HDR_Acctg : boolean AS virtualUICT_HDR_Acctgboolean,
virtual UICT_HDR_Amount : boolean AS virtualUICT_HDR_Amountboolean,
virtual UICT_COLL_Gen_Info : boolean AS virtualUICT_COLL_Gen_Infoboolean,
virtual UICT_COLL_Basic_Data : boolean AS virtualUICT_COLL_Basic_Databoolean,
virtual UICT_COLL_Crcy_Postg : boolean AS virtualUICT_COLL_Crcy_Postgboolean,
virtual UICT_FLDGRP_Admin : boolean AS virtualUICT_FLDGRP_Adminboolean,
virtual UICT_FLDGRP_Settlmt_Dets : boolean AS virtualUICT_FLDGRP_Settlmt_Detsboolean,
virtual UICT_FLDGRP_Proc_Dets : boolean AS virtualUICT_FLDGRP_Proc_Detsboolean,
virtual UICT_FLDGRP_Ref_Info : boolean AS virtualUICT_FLDGRP_Ref_Infoboolean,
virtual UICT_FLDGRP_Rev_Info : boolean AS virtualUICT_FLDGRP_Rev_Infoboolean,
virtual UICT_FLDGRP_Crcy_Info : boolean AS virtualUICT_FLDGRP_Crcy_Infoboolean,
virtual UICT_FLDGRP_Postg_Info : boolean AS virtualUICT_FLDGRP_Postg_Infoboolean,
virtual UICT_LNITM_Prcg_Elmnt : boolean AS virtualUICT_LNITM_Prcg_Elmntboolean,
FrtCostAllocDocChangeState
FROM R_FrtCostAllocDocTP
LEFT OUTER JOIN C_FrtCostAlcPrcgElmnt_F5514 AS _FrtCostAllocPrcgElmnt ON FreightCostAllocationDocument = _FrtCostAllocPrcgElmnt.FreightCostAllocationDocument -- association [0..*]
;
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