A_PRAMaintMarketingExempt

DDL: A_PRAMAINTMARKETINGEXEMPT Type: view_entity CONSUMPTION

Marketing Exemptions

A_PRAMaintMarketingExempt is a Consumption CDS View that provides data about "Marketing Exemptions" in SAP S/4HANA. It reads from 1 data source (A_PRAMaintMktgExemptHierNode) and exposes 15 fields with key fields CompanyCode, PRAJointVenture, DivisionOfInterest, PRACustomerSupplierCode, PRAOwner. It is exposed through 1 OData service (API_PRAMAINTDOI).

Data Sources (1)

SourceAliasJoin Type
A_PRAMaintMktgExemptHierNode A_PRAMaintMktgExemptHierNode projection

Annotations (10)

NameValueLevelField
EndUserText.label Marketing Exemptions view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name Mkex_Type view
OData.entitySet.name Mkex view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

OData Services (1)

ServiceBindingVersionContractRelease
API_PRAMAINTDOI API_PRAMAINTDOI_O4 V4 C2 C1

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PRAJointVenture PRAJointVenture Ext vent name
KEY DivisionOfInterest DivisionOfInterest Venture/DOI
KEY PRACustomerSupplierCode PRACustomerSupplierCode
KEY PRAOwner PRAOwner
KEY OwnerInterestType OwnerInterestType
KEY OwnerInterestSequence OwnerInterestSequence
KEY DOIOwnerEffectiveFromDate DOIOwnerEffectiveFromDate
KEY PRADivisionOfInterestNmbr PRADivisionOfInterestNmbr
KEY MajorProduct MajorProduct Major Product
KEY MarketingType MarketingType
KEY PRAMaterial PRAMaterial
DOIOwnerIsExtReimbmtExmpt DOIOwnerIsExtReimbmtExmpt
DOIOwnerIsIntDeductionExmpt DOIOwnerIsIntDeductionExmpt
DOIOwnerIsExtDeductionExmpt DOIOwnerIsExtDeductionExmpt

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 A_PRAMaintMarketingExempt.
-- 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 A_PRAMaintMarketingExempt AS
SELECT
  CompanyCode,
  PRAJointVenture,
  DivisionOfInterest,
  PRACustomerSupplierCode,
  PRAOwner,
  OwnerInterestType,
  OwnerInterestSequence,
  DOIOwnerEffectiveFromDate,
  PRADivisionOfInterestNmbr,
  MajorProduct,
  MarketingType,
  PRAMaterial,
  DOIOwnerIsExtReimbmtExmpt,
  DOIOwnerIsIntDeductionExmpt,
  DOIOwnerIsExtDeductionExmpt
FROM A_PRAMaintMktgExemptHierNode
;