I_CrdtDcsnDocApprvlStepStatus

DDL: I_CRDTDCSNDOCAPPRVLSTEPSTATUS Type: view BASIC

Approval Step Status

I_CrdtDcsnDocApprvlStepStatus is a Basic CDS View that provides data about "Approval Step Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CreditDecisionDocApprvlStatus. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Credit Evaluation and Management
StatusStatus
Purpose
This CDS view is designed to provide information about the approval step status of credit decision documents. It retrieves and presents the status of these documents, allowing users to understand the current state of approval processes. This view provides supported values for CreditDecisionDocApprvlStatus . The values and their meanings are: Value Meaning 1 Pending 2 Approved 3 Rejected 4 Redundant This CDS view provides the data to answer the following business questions: What is the current approval status of a specific credit decision document? How can I access the descriptive text associated with each approval status? What are the possible approval statuses defined for credit decision documents? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description CreditDecisionDocApprvlStatus Status

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CrdtDcsnDocApprvlStepStsText _Text $projection.CreditDecisionDocApprvlStatus = _Text.CreditDecisionDocApprvlStatus

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IDCDAPST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Approval Step Status view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
ObjectModel.representativeKey CreditDecisionDocApprvlStatus view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CreditDecisionDocApprvlStatus Lower Value
_Text _Text

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_CrdtDcsnDocApprvlStepStatus.
-- 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 I_CrdtDcsnDocApprvlStepStatus AS
SELECT
  cast( domvalue_l as ukm_dcd_approval_status ) AS CreditDecisionDocApprvlStatus
FROM dd07l
LEFT OUTER JOIN I_CrdtDcsnDocApprvlStepStsText AS _Text ON CreditDecisionDocApprvlStatus = _Text.CreditDecisionDocApprvlStatus  -- association [0..*]
;