I_SlsOrdPaytCardInfo
Sales Order with Payment Card Data
I_SlsOrdPaytCardInfo is a Composite CDS View that provides data about "Sales Order with Payment Card Data" in SAP S/4HANA. It reads from 2 data sources (P_PaymentCardLimitInformation, I_SalesOrder) and exposes 40 fields with key fields SalesOrder, PaymentPlan, PaymentPlanItem. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_PaymentCardLimitInformation | PaytPlanItemDetails | from |
| I_SalesOrder | SalesOrder | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SDDocumentPaymentCardType | _PaymentCardType | $projection.PaymentCardType = _PaymentCardType.PaymentCardType |
| [0..1] | I_PaytCardAuthznRqmtStatus | _PaytCardAuthznRqmtStatus | $projection.PaytCardAuthznRqmtStatus = _PaytCardAuthznRqmtStatus.PaytCardAuthznRqmtStatus |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ISLSORDPAYCINFO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Sales Order with Payment Card Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | I_SalesOrder | SalesOrder | SD Document |
| KEY | PaymentPlan | I_SalesOrder | PaymentPlan | Paym.Ca.Pl.No. |
| KEY | PaymentPlanItem | P_PaymentCardLimitInformation | PaymentPlanItem | Item |
| SalesOrderType | SalesOrderType | Sales Order Type | ||
| SalesOrderDate | I_SalesOrder | SalesOrderDate | Document Date | |
| TodayDate | ||||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CustomerReferenceNumber | ||||
| TotalCreditCheckStatus | TotalCreditCheckStatus | |||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallDeliveryStatus | OverallDeliveryStatus | |||
| PaytAuthsnCreditCheckSts | PaytAuthsnCreditCheckSts | |||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TransactionCurrency | I_SalesOrder | TransactionCurrency | Transaction Currency | |
| OrderCreationDate | I_SalesOrder | CreationDate | Time Stamp | |
| AuthorizationDate | P_PaymentCardLimitInformation | AuthorizationDate | ||
| PaymentCardType | P_PaymentCardLimitInformation | ElectronicPaymentType | ||
| PreauthorizationIsRequested | P_PaymentCardLimitInformation | PreauthorizationIsRequested | ||
| AuthorizedAmountInAuthznCrcy | P_PaymentCardLimitInformation | AuthorizedAmountInAuthznCrcy | ||
| PaymentPlanRelatedBillgStatus | P_PaymentCardLimitInformation | PaymentPlanRelatedBillgStatus | ||
| AuthorizationCurrency | P_PaymentCardLimitInformation | AuthorizationCurrency | ||
| PaytCardAuthznRqmtStatus | P_PaymentCardLimitInformation | PaytCardAuthznRqmtStatus | ||
| PaymentCardAuthznPeriodDays | P_PaymentCardLimitInformation | PaymentCardAuthznPeriodDays | ||
| PaytCardAuthznExprtnDate | P_PaymentCardLimitInformation | PaytCardAuthznExprtnDate | ||
| TotalOpenAuthorizedAmount | P_PaymentCardLimitInformation | TotalOpenAuthorizedAmount | ||
| _SoldToParty | _SoldToParty | |||
| _SalesOrderType | _SalesOrderType | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _OrganizationDivision | _OrganizationDivision | |||
| _OverallSDProcessStatus | _OverallSDProcessStatus | |||
| _OverallDeliveryStatus | _OverallDeliveryStatus | |||
| _PaytAuthsnCreditCheckSts | _PaytAuthsnCreditCheckSts | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _PaymentCardType | _PaymentCardType | |||
| _PaytCardAuthznRqmtStatus | _PaytCardAuthznRqmtStatus | |||
| _TotalCreditCheckStatus | _TotalCreditCheckStatus |
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_SlsOrdPaytCardInfo.
-- 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_SlsOrdPaytCardInfo AS
SELECT
SalesOrder.SalesOrder AS SalesOrder,
SalesOrder.PaymentPlan AS PaymentPlan,
PaytPlanItemDetails.PaymentPlanItem AS PaymentPlanItem,
SalesOrderType,
SalesOrder.SalesOrderDate AS SalesOrderDate,
cast( $session.system_date as sydate preserving type ) AS TodayDate,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SoldToParty,
cast( SalesOrder.PurchaseOrderByCustomer as /plmb/ecr_cust_change_no ) AS CustomerReferenceNumber,
TotalCreditCheckStatus,
OverallSDProcessStatus,
OverallDeliveryStatus,
PaytAuthsnCreditCheckSts,
TotalNetAmount,
SalesOrder.TransactionCurrency AS TransactionCurrency,
SalesOrder.CreationDate AS OrderCreationDate,
PaytPlanItemDetails.AuthorizationDate AS AuthorizationDate,
PaytPlanItemDetails.ElectronicPaymentType AS PaymentCardType,
PaytPlanItemDetails.PreauthorizationIsRequested AS PreauthorizationIsRequested,
PaytPlanItemDetails.AuthorizedAmountInAuthznCrcy AS AuthorizedAmountInAuthznCrcy,
PaytPlanItemDetails.PaymentPlanRelatedBillgStatus AS PaymentPlanRelatedBillgStatus,
PaytPlanItemDetails.AuthorizationCurrency AS AuthorizationCurrency,
PaytPlanItemDetails.PaytCardAuthznRqmtStatus AS PaytCardAuthznRqmtStatus,
PaytPlanItemDetails.PaymentCardAuthznPeriodDays AS PaymentCardAuthznPeriodDays,
PaytPlanItemDetails.PaytCardAuthznExprtnDate AS PaytCardAuthznExprtnDate,
PaytPlanItemDetails.TotalOpenAuthorizedAmount AS TotalOpenAuthorizedAmount
FROM P_PaymentCardLimitInformation AS PaytPlanItemDetails
INNER JOIN I_SalesOrder AS SalesOrder ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SDDocumentPaymentCardType AS _PaymentCardType ON PaymentCardType = _PaymentCardType.PaymentCardType -- association [0..1]
LEFT OUTER JOIN I_PaytCardAuthznRqmtStatus AS _PaytCardAuthznRqmtStatus ON PaytCardAuthznRqmtStatus = _PaytCardAuthznRqmtStatus.PaytCardAuthznRqmtStatus -- association [0..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