R_IntOrdSettlementDistrRuleTP
Internal Order Distribution Rule
R_IntOrdSettlementDistrRuleTP is a Transactional CDS View that provides data about "Internal Order Distribution Rule" in SAP S/4HANA. It reads from 1 data source (I_IntOrderSettlementDistrRule) and exposes 104 fields with key fields ControllingObject, Ledger, LedgerGroup, SettlementDistributionRuleGrp, SettlmtDistrRuleSequence. It has 1 association to related views. Part of development package RAP_FIN_CO_INTORDSETTLMTRULE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_IntOrderSettlementDistrRule | I_IntOrderSettlementDistrRule | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_IntOrdSettlmtDistrRuleRETP | _IntOrdSettlmtDistrRuleRETP | |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Internal Order Distribution Rule | view |
Fields (104)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingObject | ControllingObject | Object number | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | LedgerGroup | LedgerGroup | Ledger Group | |
| KEY | SettlementDistributionRuleGrp | SettlementDistributionRuleGrp | ||
| KEY | SettlmtDistrRuleSequence | SettlmtDistrRuleSequence | ||
| ControllingObjectForEdit | ControllingObject | Object number | ||
| LedgerForEdit | Ledger | Ledger | ||
| LedgerGroupForEdit | LedgerGroup | Ledger Group | ||
| SettlmtDistributionRuleGrpFoEd | SettlementDistributionRuleGrp | |||
| SettlmtDistrRuleSequenceFoEd | SettlmtDistrRuleSequence | |||
| SettlementType | SettlementType | Settlement Type | ||
| SettlmtTypeLanguageDependent | _SettlmtTypeLanguageDependent | SettlmtTypeLanguageDependent | ||
| AccountAssignmentType | AccountAssignmentType | Sndr AcctAssgmt Type | ||
| AcctAsgtTypeLanguageDependent | _AccountAssignmentTypeT | AcctAsgtTypeLanguageDependent | ||
| SettlementReceiver | SettlementReceiver | |||
| SettlementPercentageRate | SettlementPercentageRate | |||
| SettlementEquivalenceFactor | SettlementEquivalenceFactor | |||
| SettlementAmount | SettlementAmount | |||
| SettlementAmountCurrency | SettlementAmountCurrency | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitabilitySegment | ProfitabilitySegment | Profitability Segment | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| CostObject | CostObject | Cost Object | ||
| BusinessProcess | BusinessProcess | Business Process | ||
| BusinessArea | BusinessArea | Business Area | ||
| AssetTransactionType | AssetTransactionType | Trans.Type | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| OrderID | OrderID | Order ID | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| GLAccount | GLAccount | General Ledger | ||
| ValidityStartFiscalPeriod | ValidityStartFiscalPeriod | |||
| ValidityStartFiscalYear | ValidityStartFiscalYear | |||
| ValidityStartFiscalYearPeriod | ||||
| ValidityEndFiscalPeriod | ValidityEndFiscalPeriod | |||
| ValidityEndFiscalYear | ValidityEndFiscalYear | |||
| ValidityEndFiscalYearPeriod | ||||
| SettlmtRule1stUsgeFiscalPeriod | SettlmtRule1stUsgeFiscalPeriod | |||
| SettlmtRule1stUsageFiscalYear | SettlmtRule1stUsageFiscalYear | |||
| SettlmtRule1stUsgeFsclYrPeriod | ||||
| SettlmtRuleLastUsgeFsclPeriod | SettlmtRuleLastUsgeFsclPeriod | |||
| SettlmtRuleLastUsageFiscalYear | SettlmtRuleLastUsageFiscalYear | |||
| SettlmtRuleLastUsgeFsclYrPerd | ||||
| SettlmtTracingFctrDetnMethod | SettlmtTracingFctrDetnMethod | |||
| SettlementDistrAmountRuleType | SettlementDistrAmountRuleType | |||
| SettlmtDistrRuleSrceAssignment | SettlmtDistrRuleSrceAssignment | |||
| SettlementSourceStructure | SettlementSourceStructure | |||
| SettlmtDistributionRuleNumber | SettlmtDistributionRuleNumber | |||
| SettlmtDistrManipulationRule | SettlmtDistrManipulationRule | |||
| SettlmtRuleAutomStrategyGnrtn | SettlmtRuleAutomStrategyGnrtn | |||
| SettlementDistrRuleRmngAmount | SettlementDistrRuleRmngAmount | |||
| NetworkActivityInternalID | NetworkActivityInternalID | Counter | ||
| ProjectNetworkInternalID | ProjectNetworkInternalID | Plan No.f.Oper. | ||
| NetworkActivity | NetworkActivity | Operation/Activity | ||
| SettlmtWithFreeDefinedCurrency | SettlmtWithFreeDefinedCurrency | |||
| InternalOrder | InternalOrder | Order | ||
| OrderType | OrderType | Order Type | ||
| InternalOrderCompanyCode | InternalOrderCompanyCode | |||
| OperatingConcern | OperatingConcern | Operating concern | ||
| SettlmtDistrRuleIsUsedInLedger | SettlmtDistrRuleIsUsedInLedger | |||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document | ||
| SettlementDistributionRuleUUID | SettlementDistributionRuleUUID | |||
| SettlementDistrRuleIsCopied | ||||
| ControllingSettlementProfile | _IntOrderSettlementRuleTP | ControllingSettlementProfile | Settlement Profile | |
| _AccountAssignmentTypeT | _AccountAssignmentTypeT | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenter | _CostCenter | |||
| _SourceStructureAssignment | _SourceStructureAssignment | |||
| _Currency | _Currency | |||
| _GLAccount | _GLAccount | |||
| _JntVntrMnpltnRuleRecoveryInd | _JntVntrMnpltnRuleRecoveryInd | |||
| _Ledger | _Ledger | |||
| _LedgerGroup | _LedgerGroup | |||
| _OrderID | _OrderID | |||
| _ProjectNetwork | _ProjectNetwork | |||
| _SettlementAutomGnrtnStrategy | _SettlementAutomGnrtnStrategy | |||
| _SettlementType | _SettlementType | |||
| _SettlmtTracingFctrDetnMethod | _SettlmtTracingFctrDetnMethod | |||
| _SettlmtDistrAmountRuleType | _SettlmtDistrAmountRuleType | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _IntOrderSettlementRuleTP | _IntOrderSettlementRuleTP | |||
| _SettlmtWithFreeDfndCurrency | _SettlmtWithFreeDfndCurrency | |||
| _InternalOrderCompanyCode | _InternalOrderCompanyCode | |||
| _SettlmtTypeLanguageDependent | _SettlmtTypeLanguageDependent | |||
| _AssetTransactionType | _AssetTransactionType | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _IntOrdSettlmtDistrRuleRETP | _IntOrdSettlmtDistrRuleRETP | |||
| _NetworkActivityByInternalKey | _NetworkActivityByInternalKey | |||
| _ProjectNetworkBasicData | _ProjectNetworkBasicData | |||
| _BusinessProcess | _BusinessProcess | |||
| _ProfitCenter | _ProfitCenter | |||
| _AcctgSrvcDocumentItemBasic | _AcctgSrvcDocumentItemBasic | |||
| _AcctgServiceDocumentType | _AcctgServiceDocumentType |
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 R_IntOrdSettlementDistrRuleTP.
-- 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 R_IntOrdSettlementDistrRuleTP AS
SELECT
ControllingObject,
Ledger,
LedgerGroup,
SettlementDistributionRuleGrp,
SettlmtDistrRuleSequence,
ControllingObject AS ControllingObjectForEdit,
Ledger AS LedgerForEdit,
LedgerGroup AS LedgerGroupForEdit,
SettlementDistributionRuleGrp AS SettlmtDistributionRuleGrpFoEd,
SettlmtDistrRuleSequence AS SettlmtDistrRuleSequenceFoEd,
SettlementType,
_SettlmtTypeLanguageDependent.SettlmtTypeLanguageDependent AS SettlmtTypeLanguageDependent,
AccountAssignmentType,
_AccountAssignmentTypeT.AcctAsgtTypeLanguageDependent AS AcctAsgtTypeLanguageDependent,
SettlementReceiver,
SettlementPercentageRate,
SettlementEquivalenceFactor,
SettlementAmount,
SettlementAmountCurrency,
ControllingArea,
CostCenter,
ProfitabilitySegment,
WBSElementInternalID,
WBSElementExternalID,
ProjectNetwork,
CostObject,
BusinessProcess,
BusinessArea,
AssetTransactionType,
SalesOrder,
SalesOrderItem,
OrderID,
CompanyCode,
ProfitCenter,
MasterFixedAsset,
FixedAsset,
GLAccount,
ValidityStartFiscalPeriod,
ValidityStartFiscalYear,
cast(concat(ValidityStartFiscalYear, ValidityStartFiscalPeriod) as fco_stlmt_start_fyearperiod ) AS ValidityStartFiscalYearPeriod,
ValidityEndFiscalPeriod,
ValidityEndFiscalYear,
cast(concat(ValidityEndFiscalYear, ValidityEndFiscalPeriod) as fco_stlmt_end_fyearperiod) AS ValidityEndFiscalYearPeriod,
SettlmtRule1stUsgeFiscalPeriod,
SettlmtRule1stUsageFiscalYear,
cast(concat( SettlmtRule1stUsageFiscalYear, SettlmtRule1stUsgeFiscalPeriod ) as fco_stlmt_1stusge_fyearperiod ) AS SettlmtRule1stUsgeFsclYrPeriod,
SettlmtRuleLastUsgeFsclPeriod,
SettlmtRuleLastUsageFiscalYear,
cast(concat( SettlmtRuleLastUsageFiscalYear, SettlmtRuleLastUsgeFsclPeriod ) as fco_stlmt_lastusge_fyearperiod ) AS SettlmtRuleLastUsgeFsclYrPerd,
SettlmtTracingFctrDetnMethod,
SettlementDistrAmountRuleType,
SettlmtDistrRuleSrceAssignment,
SettlementSourceStructure,
SettlmtDistributionRuleNumber,
SettlmtDistrManipulationRule,
SettlmtRuleAutomStrategyGnrtn,
SettlementDistrRuleRmngAmount,
NetworkActivityInternalID,
ProjectNetworkInternalID,
NetworkActivity,
SettlmtWithFreeDefinedCurrency,
InternalOrder,
OrderType,
InternalOrderCompanyCode,
OperatingConcern,
SettlmtDistrRuleIsUsedInLedger,
ServiceDocumentType,
ServiceDocument,
ServiceDocumentItem,
SettlementDistributionRuleUUID,
cast( '' as fco_settlmtdistrrule_is_copied ) AS SettlementDistrRuleIsCopied,
_IntOrderSettlementRuleTP.ControllingSettlementProfile AS ControllingSettlementProfile
FROM I_IntOrderSettlementDistrRule
LEFT OUTER JOIN R_IntOrdSettlmtDistrRuleRETP AS _IntOrdSettlmtDistrRuleRETP ON /* condition not available in parsed metadata */ -- 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