I_ARPostgRuleActnAPARTP
Posting Rule - APAR Action
I_ARPostgRuleActnAPARTP is a Composite CDS View that provides data about "Posting Rule - APAR Action" in SAP S/4HANA. It reads from 1 data source (far_pstrl_aapar) and exposes 15 fields with key field PostingRuleActionUUID. It has 2 associations to related views. Part of development package ODATA_AR_POSTING_RULES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| far_pstrl_aapar | APARAction | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DisputeCaseCreationModeText | _DisputeCaseCreationMode | $projection.DisputeCaseCreationMode = _DisputeCaseCreationMode.DisputeCaseCreationMode |
| [0..*] | I_SpecialGLCodeText | _SpecialGLCode | $projection.FinancialAccountType= _SpecialGLCode.FinancialAccountType and $projection.SpecialGLCode = _SpecialGLCode.SpecialGLCode |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Posting Rule - APAR Action | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PostingRuleActionUUID | far_pstrl_aapar | postingruleactionuuid | Action Key |
| PostingRuleUUID | far_pstrl_aapar | postingruleuuid | Rule Key | |
| AssignmentReference | far_pstrl_aapar | assignmentreference | Assignment Reference | |
| Customer | far_pstrl_aapar | customer | Sold-to Party | |
| DocumentItemText | far_pstrl_aapar | documentitemtext | Text | |
| Supplier | far_pstrl_aapar | supplier | Supplier | |
| DisputeCaseCreationMode | far_pstrl_aapar | disputecasecreationmode | Dispute Case Crtn ID | |
| SpecialGLCode | far_pstrl_aapar | specialglcode | Special G/L Ind | |
| ProcessingRuleItemDebitAmount | far_pstrl_aapar | processingruleitemdebitamount | ||
| ProcessingRuleItemCreditAmount | far_pstrl_aapar | processingruleitemcreditamount | ||
| ProcgRuleItemAmountPercent | far_pstrl_aapar | procgruleitemamountpercent | ||
| GLAccount | far_pstrl_aapar | glaccount | General Ledger | |
| _DisputeCaseCreationMode | _DisputeCaseCreationMode | |||
| _SpecialGLCode | _SpecialGLCode | |||
| _Rule | _Rule |
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 I_ARPostgRuleActnAPARTP.
-- 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 I_ARPostgRuleActnAPARTP AS
SELECT
APARAction.postingruleactionuuid AS PostingRuleActionUUID,
APARAction.postingruleuuid AS PostingRuleUUID,
APARAction.assignmentreference AS AssignmentReference,
APARAction.customer AS Customer,
APARAction.documentitemtext AS DocumentItemText,
APARAction.supplier AS Supplier,
APARAction.disputecasecreationmode AS DisputeCaseCreationMode,
APARAction.specialglcode AS SpecialGLCode,
APARAction.processingruleitemdebitamount AS ProcessingRuleItemDebitAmount,
APARAction.processingruleitemcreditamount AS ProcessingRuleItemCreditAmount,
APARAction.procgruleitemamountpercent AS ProcgRuleItemAmountPercent,
APARAction.glaccount AS GLAccount
FROM far_pstrl_aapar AS APARAction
LEFT OUTER JOIN I_DisputeCaseCreationModeText AS _DisputeCaseCreationMode ON DisputeCaseCreationMode = _DisputeCaseCreationMode.DisputeCaseCreationMode -- association [0..*]
LEFT OUTER JOIN I_SpecialGLCodeText AS _SpecialGLCode ON FinancialAccountType= _SpecialGLCode.FinancialAccountType AND SpecialGLCode = _SpecialGLCode.SpecialGLCode -- 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