I_ProcmtHubCompanyCode
Co Code in Conncd Syst for Cntrl Procmt
I_ProcmtHubCompanyCode (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
I_ProcmtHubCompanyCode is a Basic CDS View that provides data about "Co Code in Conncd Syst for Cntrl Procmt" in SAP S/4HANA. It reads from 1 data source (mmpur_c_be_ccreg) and exposes 6 fields with key fields ProcurementHubSourceSystem, ProcmtHubCompanyCode. It has 1 association to related views. Part of development package APPL_PROC_HUB_GF.
SAP Help Documentation
| Category | CDS Views for Company Code |
|---|---|
| Data Category | Basic |
| Status | Released |
This CDS view retrieves the company codes of the connected systems that are configured for Central Procurement. This CDS view provides the prerequisites for answering the following business questions: Which company codes in the connected system have been configured for Central Procurement? Is a certain company code in the connected system configured for Central Procurement?
Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above.
Structure
Object types This view relates to the following SAP object types: Purchase Requisition Main parameters and filters of the CDS view The main parameters and filters are as follows: Connected System ID Connected Company Code Connected System Name Measures and attributes Some important measures and attributes are: Connected System ID Connected Company Code Connected System Name
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-HUB-FND-2CL |
| Capabilities | Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Sourcing and Procurement for SAP S/4HANA Cloud Public Edition |
| Description | This CDS view retrieves the company codes of the connected systems that are configured for Central Procurement.<p>This CDS view provides the prerequisites for answering the following business questions:</p><ul> <li> <p>Which company codes in the connected system have been configured for Central Procurement?</p> </li> <li> <p>Is a certain company code in the connected system configured for Central Procurement?</p> </li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmpur_c_be_ccreg | mmpur_c_be_ccreg | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProcmtHubBackendSourceSystem | _ProcmtHubBackendSourceSystem | $projection.ProcurementHubSourceSystem = _ProcmtHubBackendSourceSystem.ProcurementHubSourceSystem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| AbapCatalog.sqlViewName | IPROCMTHUBCC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.representativeKey | ProcmtHubCompanyCode | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Co Code in Conncd Syst for Cntrl Procmt | view | |
| ObjectModel.modelingPattern | #NONE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcurementHubSourceSystem | be_source_sys | Connected System ID | |
| KEY | ProcmtHubCompanyCode | be_co_code | Connected Company Code | |
| ProcmtHubCompanyCodeUniqueID | be_cc_unique_id | Company Code Unique ID | ||
| ProcmtHubCompanyCodeName | be_co_code_name | Name of Company Code or Company | ||
| ProcurementHubSourceSystemName | _ProcmtHubBackendSourceSystem | ProcurementHubSourceSystemName | Connected System Name | |
| _ProcmtHubBackendSourceSystem | _ProcmtHubBackendSourceSystem |
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_ProcmtHubCompanyCode.
-- 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.
-- SQL view name: IPROCMTHUBCC
CREATE VIEW I_ProcmtHubCompanyCode AS
SELECT
be_source_sys AS ProcurementHubSourceSystem,
be_co_code AS ProcmtHubCompanyCode,
be_cc_unique_id AS ProcmtHubCompanyCodeUniqueID,
be_co_code_name AS ProcmtHubCompanyCodeName,
_ProcmtHubBackendSourceSystem.ProcurementHubSourceSystemName AS ProcurementHubSourceSystemName
FROM mmpur_c_be_ccreg
LEFT OUTER JOIN I_ProcmtHubBackendSourceSystem AS _ProcmtHubBackendSourceSystem ON ProcurementHubSourceSystem = _ProcmtHubBackendSourceSystem.ProcurementHubSourceSystem -- association [1..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