C_SbsMssProcgElmContrDoc
Mass Processing Element Document
C_SbsMssProcgElmContrDoc is a Consumption CDS View that provides data about "Mass Processing Element Document" in SAP S/4HANA. It reads from 1 data source (R_SubscriptionContractTP) and exposes 55 fields with key field SubscriptionContract. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SubscriptionContractTP | R_SubscriptionContractTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_SubscriptionContractItemTP | _Item | $projection.SubscriptionContract = _Item.SubscriptionContract |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Mass Processing Element Document | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | false | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscriptionContract | SubscriptionContract | Transaction ID | |
| SubscriptionContractType | SubscriptionContractType | |||
| SubscrpnContractDescription | SubscrpnContractDescription | |||
| SubscriptionContractUUID | SubscriptionContractUUID | Object GUID | ||
| ServiceObjectType | ServiceObjectType | Object Type | ||
| Language | Language | Report Text Language | ||
| SubscriptionContractPostingDte | SubscriptionContractPostingDte | |||
| SubscriptionContractStatus | SubscriptionContractStatus | |||
| SubscrpnContractIsCompleted | SubscrpnContractIsCompleted | |||
| SubscriptionContractHasError | SubscriptionContractHasError | |||
| SbsConItmGTSEmbargoStatus | SbsConGTSEmbargoStatus | |||
| SbsConItmGTSScreeningStatus | SbsConGTSScreeningStatus | |||
| SbsConItmGTSLglControlStatus | SbsConGTSLglControlStatus | |||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| SoldToPartyName | _SoldToParty | BusinessPartnerName | Extracted Customer Name | |
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| ShipToPartyName | _ShipToParty | BusinessPartnerName | Extracted Customer Name | |
| BillToParty | BillToParty | Inv. Recipient | ||
| BillToPartyName | _BillToParty | BusinessPartnerFullName | Broker Name | |
| PayerParty | PayerParty | Payer | ||
| PayerPartyName | _PayerParty | BusinessPartnerFullName | Broker Name | |
| RespEmployeeBusinessPartnerId | RespEmployeeBusinessPartnerId | |||
| ResponsibleEmployeeName | _RespEmployee | BusinessPartnerName | Extracted Customer Name | |
| ContactPersonBusinessPartnerId | ContactPersonBusinessPartnerId | |||
| ContactPersonName | _ContactPerson | BusinessPartnerName | Extracted Customer 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 | ||||
| SalesOrganizationOrgUnitID | SalesOrganizationOrgUnitID | |||
| SalesOfficeOrgUnitID | SalesOfficeOrgUnitID | |||
| SalesGroupOrgUnitID | SalesGroupOrgUnitID | |||
| ServiceOrganization | ServiceOrganization | |||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| SubscrpnMassProcgElmntSts | _SbsMssProcgElmContrDocChg | SubscrpnMassProcgElmntSts | Status | |
| SubscrpnMassProcgElmntStsTxtlocalized | ||||
| SubscrpnMassProcgID | _SbsMssProcgElmContrDocChg | SubscrpnMassProcgID | Mass Processing ID | |
| virtualProductproductnumber | ||||
| virtualProductNameproductdescription | ||||
| int1 | ||||
| _Item | _Item | |||
| _SrvcDocGTSLglControlStatus | _SrvcDocGTSLglControlStatus | |||
| _SrvcDocGTSScreeningStatus | _SrvcDocGTSScreeningStatus | |||
| _SrvcDocGTSEmbargoStatus | _SrvcDocGTSEmbargoStatus |
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_SbsMssProcgElmContrDoc.
-- 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_SbsMssProcgElmContrDoc AS
SELECT
SubscriptionContract,
SubscriptionContractType,
SubscrpnContractDescription,
SubscriptionContractUUID,
ServiceObjectType,
Language,
SubscriptionContractPostingDte,
SubscriptionContractStatus,
SubscrpnContractIsCompleted,
SubscriptionContractHasError,
SbsConGTSEmbargoStatus AS SbsConItmGTSEmbargoStatus,
SbsConGTSScreeningStatus AS SbsConItmGTSScreeningStatus,
SbsConGTSLglControlStatus AS SbsConItmGTSLglControlStatus,
ServiceDocumentType,
SoldToParty,
_SoldToParty.BusinessPartnerName AS SoldToPartyName,
ShipToParty,
_ShipToParty.BusinessPartnerName AS ShipToPartyName,
BillToParty,
_BillToParty.BusinessPartnerFullName AS BillToPartyName,
PayerParty,
_PayerParty.BusinessPartnerFullName AS PayerPartyName,
RespEmployeeBusinessPartnerId,
_RespEmployee.BusinessPartnerName AS ResponsibleEmployeeName,
ContactPersonBusinessPartnerId,
_ContactPerson.BusinessPartnerName AS ContactPersonName,
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,
SalesOrganizationOrgUnitID,
SalesOfficeOrgUnitID,
SalesGroupOrgUnitID,
ServiceOrganization,
PurchaseOrderByCustomer,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
_SbsMssProcgElmContrDocChg.SubscrpnMassProcgElmntSts AS SubscrpnMassProcgElmntSts,
_SbsMssProcgElmContrDocChg._SubscrpnMassProcgElmntSts._Text.SubscrpnMassProcgElmntStsTxt : localized AS SubscrpnMassProcgElmntStsTxtlocalized,
_SbsMssProcgElmContrDocChg.SubscrpnMassProcgID AS SubscrpnMassProcgID,
virtual Product : productnumber AS virtualProductproductnumber,
virtual ProductName : productdescription AS virtualProductNameproductdescription,
virtual SbsMssProcgElmStsCritlty : abap.int1 AS int1
FROM R_SubscriptionContractTP
LEFT OUTER JOIN C_SubscriptionContractItemTP AS _Item ON SubscriptionContract = _Item.SubscriptionContract -- 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