SHSM_I_EDISCDOCALL
CDS SH for Disc. Doc. with Ref. ALL
SHSM_I_EDISCDOCALL is a CDS View that provides data about "CDS SH for Disc. Doc. with Ref. ALL" in SAP S/4HANA. It reads from 14 data sources and exposes 78 fields.
Data Sources (14)
| Source | Alias | Join Type |
|---|---|---|
| SHSM_I_EDISCDOCCONNOBJ | _ConnObj | inner |
| SHSM_I_EDISCDOCDEVICE | _Device | inner |
| SHSM_I_EDISCDOCISUACCountVH | _FKKContract | inner |
| SHSM_I_EDISCDOCINSTLN | _Installation | inner |
| SHSM_I_EDISCDOCISUPARTNER | _Partner | inner |
| SHSM_I_EDISCDOCPREMISE | _Premise | inner |
| SHSM_I_EDISCDOCISUCONTR | _UtilitiesContract | inner |
| ediscdoc | ediscdoc | from |
| ediscdoc | ediscdoc | union_all |
| ediscdoc | ediscdoc | union_all |
| ediscdoc | ediscdoc | union_all |
| ediscdoc | ediscdoc | union_all |
| ediscdoc | ediscdoc | union_all |
| ediscdoc | ediscdoc | union_all |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SHSMIEDISCALL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | CDS SH for Disc. Doc. with Ref. ALL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (78)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| discno | ediscdoc | discno | Disconnect.doc. | |
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | SHSM_I_EDISCDOCCONNOBJ | AuthorizationGroup | AuthorizGroup | |
| Division | Internal Division ID | |||
| CompanyCode | Receiver Company Code | |||
| IsBusinessPurposeCompleted | Purpose Completed | |||
| BusinessPartner | Issuing Authority | |||
| CAAuthorizationGroup | AuthorizGroup | |||
| discno | Disconnect.doc. | |||
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | AuthorizGroup | |||
| Division | Internal Division ID | |||
| CompanyCode | Receiver Company Code | |||
| IsBusinessPurposeCompleted | Purpose Completed | |||
| BusinessPartner | Issuing Authority | |||
| CAAuthorizationGroup | AuthorizGroup | |||
| discno | Disconnect.doc. | |||
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | SHSM_I_EDISCDOCINSTLN | AuthorizationGroup | AuthorizGroup | |
| Division | SHSM_I_EDISCDOCINSTLN | Division | Internal Division ID | |
| CompanyCode | Receiver Company Code | |||
| IsBusinessPurposeCompleted | Purpose Completed | |||
| BusinessPartner | Issuing Authority | |||
| CAAuthorizationGroup | AuthorizGroup | |||
| discno | Disconnect.doc. | |||
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | SHSM_I_EDISCDOCISUCONTR | AuthorizationGroup | AuthorizGroup | |
| Division | SHSM_I_EDISCDOCISUCONTR | Division | Internal Division ID | |
| CompanyCode | SHSM_I_EDISCDOCISUCONTR | CompanyCode | Receiver Company Code | |
| IsBusinessPurposeCompleted | Purpose Completed | |||
| BusinessPartner | Issuing Authority | |||
| CAAuthorizationGroup | AuthorizGroup | |||
| discno | Disconnect.doc. | |||
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | SHSM_I_EDISCDOCPREMISE | AuthorizationGroup | AuthorizGroup | |
| Division | Internal Division ID | |||
| CompanyCode | Receiver Company Code | |||
| IsBusinessPurposeCompleted | Purpose Completed | |||
| BusinessPartner | Issuing Authority | |||
| CAAuthorizationGroup | AuthorizGroup | |||
| discno | Disconnect.doc. | |||
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | SHSM_I_EDISCDOCISUPARTNER | AuthorizationGroup | AuthorizGroup | |
| Division | Internal Division ID | |||
| CompanyCode | Receiver Company Code | |||
| IsBusinessPurposeCompleted | SHSM_I_EDISCDOCISUPARTNER | IsBusinessPurposeCompleted | Purpose Completed | |
| BusinessPartner | Issuing Authority | |||
| CAAuthorizationGroup | AuthorizGroup | |||
| discno | Disconnect.doc. | |||
| discreason | ediscdoc | discreason | Discon. reason | |
| status | ediscdoc | status | Workflow Status | |
| refobjtype | ediscdoc | refobjtype | Ref. obj. type | |
| refobjkey | ediscdoc | refobjkey | Refer. obj. key | |
| AuthorizationGroup | AuthorizGroup | |||
| Division | Internal Division ID | |||
| CompanyCode | Receiver Company Code | |||
| IsBusinessPurposeCompleted | Purpose Completed | |||
| BusinessPartner | SHSM_I_EDISCDOCISUACCountVH | BusinessPartner | Issuing Authority | |
| CAAuthorizationGroup | SHSM_I_EDISCDOCISUACCountVH | CAAuthorizationGroup | AuthorizGroup | |
| ContractAccountCategory | SHSM_I_EDISCDOCISUACCountVH | ContractAccountCategory | Cont. Acct Cat. |
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 SHSM_I_EDISCDOCALL.
-- 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: SHSMIEDISCALL
CREATE VIEW SHSM_I_EDISCDOCALL AS
SELECT
ediscdoc.discno AS discno,
ediscdoc.discreason AS discreason,
ediscdoc.status AS status,
ediscdoc.refobjtype AS refobjtype,
ediscdoc.refobjkey AS refobjkey,
_ConnObj.AuthorizationGroup AS AuthorizationGroup,
' ' AS Division,
' ' AS CompanyCode,
' ' AS IsBusinessPurposeCompleted,
' ' AS BusinessPartner,
' ' AS CAAuthorizationGroup,
_FKKContract.ContractAccountCategory AS ContractAccountCategory
FROM ediscdoc
INNER JOIN SHSM_I_EDISCDOCCONNOBJ AS _ConnObj ON /* join condition not captured in parsed metadata */
INNER JOIN SHSM_I_EDISCDOCDEVICE AS _Device ON /* join condition not captured in parsed metadata */
INNER JOIN SHSM_I_EDISCDOCINSTLN AS _Installation ON /* join condition not captured in parsed metadata */
INNER JOIN SHSM_I_EDISCDOCISUCONTR AS _UtilitiesContract ON /* join condition not captured in parsed metadata */
INNER JOIN SHSM_I_EDISCDOCPREMISE AS _Premise ON /* join condition not captured in parsed metadata */
INNER JOIN SHSM_I_EDISCDOCISUPARTNER AS _Partner ON /* join condition not captured in parsed metadata */
INNER JOIN SHSM_I_EDISCDOCISUACCountVH AS _FKKContract ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): ediscdoc
;
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