CRMS4V_PS_SDP_I2
SDP Item
CRMS4V_PS_SDP_I2 is a CDS View that provides data about "SDP Item" in SAP S/4HANA. It reads from 1 data source (crms4d_psdp_i) and exposes 35 fields with key fields client, object_type, object_id, number_int. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crms4d_psdp_i | _SDPI | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | but000 | _dedf | _SDPI.deduct_from_party = _dedf.partner |
| [0..1] | but000 | _dedt | _SDPI.deduct_to_party = _dedt.partner |
| [0..1] | CRMS4V_PS_ACTV_STATUS | _actv | _SDPI.stat_activation_h = _actv.domvalue_l |
| [0..1] | CRMS4V_PS_RELA_STATUS | _rela | _SDPI.stat_released_i = _rela.domvalue_l |
| [0..1] | CRMS4V_PS_CREA_STATUS | _crea | _SDPI.stat_activation_h = _crea.domvalue_l |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CRMS4VPSSDPI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | SDP Item | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | client | crms4d_psdp_i | client | Workflow definition: Client |
| KEY | object_type | crms4d_psdp_i | objtype_h | Trans. Cat. |
| KEY | object_id | crms4d_psdp_i | object_id | Transaction ID |
| KEY | number_int | crms4d_psdp_i | number_int | Item Number in Doc. |
| item_guid | crms4d_psdp_i | item_guid | Push ItemGU | |
| created_at_i | crms4d_psdp_i | created_at_i | Created On | |
| created_by_i | crms4d_psdp_i | created_by_i | Created By | |
| changed_at_i | crms4d_psdp_i | changed_at_i | Changed On | |
| changed_by_i | crms4d_psdp_i | changed_by_i | Changed By | |
| objtype_i | crms4d_psdp_i | objtype_i | Object Type | |
| header_guid | crms4d_psdp_i | header_guid | Unique Identifier | |
| parent | crms4d_psdp_i | parent | UUID | |
| alternative | crms4d_psdp_i | alternative | Usage | |
| product | crms4d_psdp_i | product | Product Sold | |
| product_id | crms4d_psdp_i | ordered_prod | Product | |
| partner_prod | crms4d_psdp_i | partner_prod | Partner Product | |
| description | crms4d_psdp_i | description_i | Short Text | |
| itm_language | crms4d_psdp_i | itm_language | Language | |
| number_ext | crms4d_psdp_i | number_ext | Ext. Item No. | |
| item_type | crms4d_psdp_i | itm_type | Item Category | |
| order_date | crms4d_psdp_i | order_date | Posting Date | |
| itm_usage | crms4d_psdp_i | itm_usage | Usage HL Item | |
| product_kind | crms4d_psdp_i | product_kind | Prod. Tech. Typ | |
| revacc_refid | crms4d_psdp_i | revacc_refid | Rev.Acc. Ref ID | |
| process_type | crms4d_psdp_i | process_type | Type of Data | |
| clientNULLasheader_valid_from | ||||
| clientNULLasheader_valid_to | ||||
| item_no_appt | crms4d_psdp_i | item_no_appt | Item Number in Doc. | |
| clientNULLasvalid_from | ||||
| clientNULLasvalid_to | ||||
| deduct_from | crms4d_psdp_i | deduct_from_party | Deduct-From Party | |
| DEDUCT_FROM_LIST | ||||
| deduct_to | crms4d_psdp_i | deduct_to_party | Deduct-To Party | |
| DEDUCT_TO_LIST | ||||
| deduct_ddr | crms4d_psdp_i | deduct_ddr | Due Date 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 CRMS4V_PS_SDP_I2.
-- 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: CRMS4VPSSDPI
CREATE VIEW CRMS4V_PS_SDP_I2 AS
SELECT
_SDPI.client AS client,
_SDPI.objtype_h AS object_type,
_SDPI.object_id AS object_id,
_SDPI.number_int AS number_int,
_SDPI.item_guid AS item_guid,
_SDPI.created_at_i AS created_at_i,
_SDPI.created_by_i AS created_by_i,
_SDPI.changed_at_i AS changed_at_i,
_SDPI.changed_by_i AS changed_by_i,
_SDPI.objtype_i AS objtype_i,
_SDPI.header_guid AS header_guid,
_SDPI.parent AS parent,
_SDPI.alternative AS alternative,
_SDPI.product AS product,
_SDPI.ordered_prod AS product_id,
_SDPI.partner_prod AS partner_prod,
_SDPI.description_i AS description,
_SDPI.itm_language AS itm_language,
_SDPI.number_ext AS number_ext,
_SDPI.itm_type AS item_type,
_SDPI.order_date AS order_date,
_SDPI.itm_usage AS itm_usage,
_SDPI.product_kind AS product_kind,
_SDPI.revacc_refid AS revacc_refid,
_SDPI.process_type AS process_type,
tstmp_to_dats( _SDPI.contstart_h, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as header_valid_from AS clientNULLasheader_valid_from,
tstmp_to_dats( _SDPI.contend_h, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as header_valid_to AS clientNULLasheader_valid_to,
_SDPI.item_no_appt AS item_no_appt,
tstmp_to_dats( _SDPI.contstart_i, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as valid_from AS clientNULLasvalid_from,
tstmp_to_dats( _SDPI.contend_i, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as valid_to AS clientNULLasvalid_to,
_SDPI.deduct_from_party AS deduct_from,
CONCAT_WITH_SPACE( _dedf.mc_name2, _dedf.mc_name1, 1 ) AS DEDUCT_FROM_LIST,
_SDPI.deduct_to_party AS deduct_to,
CONCAT_WITH_SPACE( _dedt.mc_name2, _dedt.mc_name1, 1 ) AS DEDUCT_TO_LIST,
_SDPI.deduct_ddr AS deduct_ddr
FROM crms4d_psdp_i AS _SDPI
LEFT OUTER JOIN but000 AS _dedf ON _SDPI.deduct_from_party = _dedf.partner -- association [0..1]
LEFT OUTER JOIN but000 AS _dedt ON _SDPI.deduct_to_party = _dedt.partner -- association [0..1]
LEFT OUTER JOIN CRMS4V_PS_ACTV_STATUS AS _actv ON _SDPI.stat_activation_h = _actv.domvalue_l -- association [0..1]
LEFT OUTER JOIN CRMS4V_PS_RELA_STATUS AS _rela ON _SDPI.stat_released_i = _rela.domvalue_l -- association [0..1]
LEFT OUTER JOIN CRMS4V_PS_CREA_STATUS AS _crea ON _SDPI.stat_activation_h = _crea.domvalue_l -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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