I_CreditBlockedDeliveryDoc

DDL: I_CREDITBLOCKEDDELIVERYDOC SQL: ICRDTBLKDDELIV Type: view COMPOSITE

Credit Blocked Delivery Document

I_CreditBlockedDeliveryDoc (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sales

I_CreditBlockedDeliveryDoc is a Composite CDS View that provides data about "Credit Blocked Delivery Document" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 36 fields with key field DeliveryDocument. It has 14 associations to related views.

SAP Help Documentation

CategoryGeneric CDS Views for Delivery Documents
StatusReleased
Purpose
This CDS view retrieves delivery documents that are blocked by negative credit check results. This CDS view provides the prerequisites for answering questions about credit blocked delivery documents. Example business questions could include Why is the document rejected? How many credit amount has been released for the document? What is the overall status of credit check for the document?

Prerequisites
You have authorizations to access the relevant shipping point.

Structure
Object types This view relates to the SAP object type DeliveryDocument . Main CDS parameters and filters The CDS view has no parameters or filters. Measures and attributes This CDS view has no measures. Some important attributes are: Delivery document ( DeliveryDocument ) SD document categoty ( SDDocumentCategory ) Customer's account number with credit limit reference ( CustomerCreditAccount ) Released credit value of the document ( ReleasedCreditAmount ) Release date of the document determined by credit management ( CreditBlockReleaseDate ) Reason for the rejection of the document ( SalesDocumentRjcnReason ) Overall status of credit checks ( TotalCreditCheckStatus ) Overall process status of the document ( OverallSDProcessStatus ) Overall status of goods movement ( OverallGoodsMovementStatus )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentSD-BF-CM
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves delivery documents that are blocked by negative credit check results.</p> <p>This CDS view provides the prerequisites for answering questions about credit blocked delivery documents. Example business questions could include</p> <ul> <li><p>Why is the document rejected?</p></li> <li><p>How many credit amount has been released for the document?</p></li> <li><p>What is the overall status of credit check for the document?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocument I_DeliveryDocument from

Associations (14)

CardinalityTargetAliasCondition
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_ShippingPoint _ShippingPoint $projection.ShippingPoint = _ShippingPoint.ShippingPoint
[0..1] I_SalesOffice _SalesOffice $projection.SalesOffice = _SalesOffice.SalesOffice
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_CentralCreditChkTechErrSts _CentralCreditChkTechErrSts $projection.CentralCreditChkTechErrSts = _CentralCreditChkTechErrSts.CentralCreditChkTechErrSts
[0..1] I_OverallSDProcessStatus _OverallSDProcessStatus $projection.OverallSDProcessStatus = _OverallSDProcessStatus.OverallSDProcessStatus
[0..1] I_OverallGoodsMovementStatus _OverallGoodsMovementStatus $projection.OverallGoodsMovementStatus = _OverallGoodsMovementStatus.OverallGoodsMovementStatus
[0..1] I_TotalCreditCheckStatus _TotalCreditCheckStatus $projection.TotalCreditCheckStatus = _TotalCreditCheckStatus.TotalCreditCheckStatus
[0..1] I_FinDocCreditCheckStatus _FinDocCreditCheckStatus $projection.FinDocCreditCheckStatus = _FinDocCreditCheckStatus.FinDocCreditCheckStatus
[0..1] I_CentralCreditCheckStatus _CentralCreditCheckStatus $projection.CentralCreditCheckStatus = _CentralCreditCheckStatus.CentralCreditCheckStatus
[0..1] I_Currency _ControllingAreaCurrency $projection.ControllingAreaCurrency = _ControllingAreaCurrency.Currency
[0..1] I_SDDocumentCategory _SDDocumentCategory $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory
[0..1] I_SalesDocumentRjcnReason _SalesDocumentRjcnReason $projection.SalesDocumentRjcnReason = _SalesDocumentRjcnReason.SalesDocumentRjcnReason
[0..1] E_DeliveryDocument _Extension $projection.DeliveryDocument = _Extension.DeliveryDocument

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ICRDTBLKDDELIV view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey DeliveryDocument view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Credit Blocked Delivery Document view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
SDDocumentCategory SDDocumentCategory SD Document Category
SalesOrganization SalesOrganization Sales Organization
SalesOffice SalesOffice Sales Office
ShippingPoint ShippingPoint Shipping Point / Receiving Point
CreatedByUser CreatedByUser Name of Person Responsible for Creating the Object
CreationDate CreationDate Record Created On
LastChangedByUser LastChangedByUser Name of Person Who Changed Object
LastChangeDate LastChangeDate Last Changed On
SoldToParty SoldToParty Sold-to Party
CustomerCreditAccount CustomerCreditAccount Customer's Account Number with Credit Limit Reference
ControllingAreaCurrency ControllingAreaCurrency Currency key of credit control area
ReleasedCreditAmount ReleasedCreditAmount Released Credit Value of the Document
CreditBlockReleaseDate CreditBlockReleaseDate Release date of the document determined by credit management
NextShippingDate NextShippingDate Next date
SalesDocumentRjcnReason Reason for Rejection of Sales Documents
CentralCreditChkTechErrSts CentralCreditChkTechErrSts Status of Technical Error SAP Credit Management
OverallSDProcessStatus OverallSDProcessStatus Overall Processing Status (Header/All Items)
OverallGoodsMovementStatus OverallGoodsMovementStatus Goods Movement Status (All Items)
TotalCreditCheckStatus TotalCreditCheckStatus Overall Status of Credit Checks
FinDocCreditCheckStatus FinDocCreditCheckStatus Status of Credit Check Against Financial Document
CentralCreditCheckStatus CentralCreditCheckStatus Status of Credit Check SAP Credit Management
_SalesOffice _SalesOffice
_ShippingPoint _ShippingPoint
_SoldToParty _SoldToParty
_ControllingAreaCurrency _ControllingAreaCurrency
_SalesOrganization _SalesOrganization
_CustomerCreditAccount _CustomerCreditAccount
_CentralCreditChkTechErrSts _CentralCreditChkTechErrSts
_OverallSDProcessStatus _OverallSDProcessStatus
_OverallGoodsMovementStatus _OverallGoodsMovementStatus
_TotalCreditCheckStatus _TotalCreditCheckStatus
_FinDocCreditCheckStatus _FinDocCreditCheckStatus
_CentralCreditCheckStatus _CentralCreditCheckStatus
_SDDocumentCategory _SDDocumentCategory
_SalesDocumentRjcnReason _SalesDocumentRjcnReason

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_CreditBlockedDeliveryDoc.
-- 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: ICRDTBLKDDELIV

CREATE VIEW I_CreditBlockedDeliveryDoc AS
SELECT
  DeliveryDocument,
  SDDocumentCategory,
  SalesOrganization,
  SalesOffice,
  ShippingPoint,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  SoldToParty,
  CustomerCreditAccount,
  ControllingAreaCurrency,
  ReleasedCreditAmount,
  CreditBlockReleaseDate,
  NextShippingDate,
  cast( ' ' as abgru_va ) AS SalesDocumentRjcnReason,
  CentralCreditChkTechErrSts,
  OverallSDProcessStatus,
  OverallGoodsMovementStatus,
  TotalCreditCheckStatus,
  FinDocCreditCheckStatus,
  CentralCreditCheckStatus
FROM I_DeliveryDocument
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint  -- association [0..1]
LEFT OUTER JOIN I_SalesOffice AS _SalesOffice ON SalesOffice = _SalesOffice.SalesOffice  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_CentralCreditChkTechErrSts AS _CentralCreditChkTechErrSts ON CentralCreditChkTechErrSts = _CentralCreditChkTechErrSts.CentralCreditChkTechErrSts  -- association [0..1]
LEFT OUTER JOIN I_OverallSDProcessStatus AS _OverallSDProcessStatus ON OverallSDProcessStatus = _OverallSDProcessStatus.OverallSDProcessStatus  -- association [0..1]
LEFT OUTER JOIN I_OverallGoodsMovementStatus AS _OverallGoodsMovementStatus ON OverallGoodsMovementStatus = _OverallGoodsMovementStatus.OverallGoodsMovementStatus  -- association [0..1]
LEFT OUTER JOIN I_TotalCreditCheckStatus AS _TotalCreditCheckStatus ON TotalCreditCheckStatus = _TotalCreditCheckStatus.TotalCreditCheckStatus  -- association [0..1]
LEFT OUTER JOIN I_FinDocCreditCheckStatus AS _FinDocCreditCheckStatus ON FinDocCreditCheckStatus = _FinDocCreditCheckStatus.FinDocCreditCheckStatus  -- association [0..1]
LEFT OUTER JOIN I_CentralCreditCheckStatus AS _CentralCreditCheckStatus ON CentralCreditCheckStatus = _CentralCreditCheckStatus.CentralCreditCheckStatus  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ControllingAreaCurrency ON ControllingAreaCurrency = _ControllingAreaCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentCategory AS _SDDocumentCategory ON SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentRjcnReason AS _SalesDocumentRjcnReason ON SalesDocumentRjcnReason = _SalesDocumentRjcnReason.SalesDocumentRjcnReason  -- association [0..1]
LEFT OUTER JOIN E_DeliveryDocument AS _Extension ON DeliveryDocument = _Extension.DeliveryDocument  -- association [0..1]
;