I_PromiseToPayEvent
Promise to Pay Event data
I_PromiseToPayEvent is a Composite CDS View that provides data about "Promise to Pay Event data" in SAP S/4HANA. It reads from 3 data sources (I_BhvrlInsgtsEvtConfign, I_AccountMasterData, I_BhvrlInsgtsPromiseToPay) and exposes 28 fields with key field CustomerEventRecordID.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_BhvrlInsgtsEvtConfign | BhvrlInsgtsEvtConfign | inner |
| I_AccountMasterData | I_AccountMasterData | inner |
| I_BhvrlInsgtsPromiseToPay | I_BhvrlInsgtsPromiseToPay | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_BhvrlInsgtsAccountCategory | bei_vktyp |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IPROMISEEVT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| EndUserText.label | Promise to Pay Event data | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerEventRecordID | |||
| BusinessPartner | I_BhvrlInsgtsPromiseToPay | BusinessPartner | Issuing Authority | |
| CompanyCode | I_BhvrlInsgtsPromiseToPay | CompanyCode | Receiver Company Code | |
| BhvrlInsgtsEventNumber | ||||
| BhvrlInsgtsEventName | I_BhvrlInsgtsEvtConfign | BhvrlInsgtsEventName | ||
| BhvrlInsgtsEventCategoryTxt | I_BhvrlInsgtsEvtConfign | BhvrlInsgtsEventCategoryTxt | ||
| CustomerEventStartDate | I_BhvrlInsgtsPromiseToPay | CustomerEventStartDate | Time Stamp | |
| CustomerEventEndDate | I_BhvrlInsgtsPromiseToPay | CustomerEventEndDate | Time Stamp | |
| CustomerEventStartDateTime | ||||
| CustomerEventEndDateTime | ||||
| OpenAmountInLocalCurrency | ||||
| ClearedAmountInLocalCurrency | ||||
| LocalCurrency | I_BhvrlInsgtsPromiseToPay | LocalCurrency | Local Currency | |
| OpenAmountInGlobalCurrency | ||||
| ClearedAmountInGlobalCurrency | ||||
| GlobalCurrency | ||||
| CustomerEventClearingStatus | ||||
| CustomerEventClearingDate | ||||
| BhvrlInsgtsPeriodCode | ||||
| BhvrlInsgtsPeriodCodeTxt | ||||
| CustomerEventValue | I_BhvrlInsgtsPromiseToPay | CAPromiseToPayStatus | Statuses | |
| CustomerEventValueTxt | ||||
| BhvrlInsgtsAccountNumber | I_BhvrlInsgtsPromiseToPay | ContractAccount | Contract Acct | |
| BhvrlInsgtsAccountName | I_AccountMasterData | BhvrlInsgtsAccountName | ||
| BhvrlInsgtsAccountCategory | I_AccountMasterData | BhvrlInsgtsAccountCategory | ||
| BhvrlInsgtsAccountCategoryTxt | I_AccountMasterData | BhvrlInsgtsAccountCategoryTxt | ||
| BhvrlInsgtsSubAccountNumber | ||||
| BhvrlInsgtsSubAccountName |
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_PromiseToPayEvent.
-- 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: IPROMISEEVT
-- Parameters: P_BhvrlInsgtsAccountCategory : bei_vktyp
CREATE VIEW I_PromiseToPayEvent AS
SELECT
cast(concat('29',I_BhvrlInsgtsPromiseToPay.CustomerEventRecordID) as abap.char(70)) AS CustomerEventRecordID,
I_BhvrlInsgtsPromiseToPay.BusinessPartner AS BusinessPartner,
I_BhvrlInsgtsPromiseToPay.CompanyCode AS CompanyCode,
cast(29 as abap.int2) AS BhvrlInsgtsEventNumber,
BhvrlInsgtsEvtConfign.BhvrlInsgtsEventName AS BhvrlInsgtsEventName,
BhvrlInsgtsEvtConfign.BhvrlInsgtsEventCategoryTxt AS BhvrlInsgtsEventCategoryTxt,
I_BhvrlInsgtsPromiseToPay.CustomerEventStartDate AS CustomerEventStartDate,
I_BhvrlInsgtsPromiseToPay.CustomerEventEndDate AS CustomerEventEndDate,
dats_tims_to_tstmp( I_BhvrlInsgtsPromiseToPay.CustomerEventStartDate,'000000',abap_system_timezone( $session.client,'NULL' ),$session.client,'NULL') AS CustomerEventStartDateTime,
dats_tims_to_tstmp(I_BhvrlInsgtsPromiseToPay.CustomerEventEndDate,'000000',abap_system_timezone( $session.client,'NULL' ),$session.client,'NULL') AS CustomerEventEndDateTime,
cast(0 as abap.curr( 13, 2 )) AS OpenAmountInLocalCurrency,
cast(0 as abap.curr( 13, 2 )) AS ClearedAmountInLocalCurrency,
I_BhvrlInsgtsPromiseToPay.LocalCurrency AS LocalCurrency,
cast(0 as abap.curr( 13, 2 )) AS OpenAmountInGlobalCurrency,
cast(0 as abap.curr( 13, 2 )) AS ClearedAmountInGlobalCurrency,
cast('' as abap.cuky( 5 )) AS GlobalCurrency,
cast( '' as abap.char( 1 ) ) AS CustomerEventClearingStatus,
cast( '00000000' as abap.dats) AS CustomerEventClearingDate,
cast('' as persl_kk) AS BhvrlInsgtsPeriodCode,
'' AS BhvrlInsgtsPeriodCodeTxt,
I_BhvrlInsgtsPromiseToPay.CAPromiseToPayStatus AS CustomerEventValue,
cast('' as abap.char( 100 )) AS CustomerEventValueTxt,
I_BhvrlInsgtsPromiseToPay.ContractAccount AS BhvrlInsgtsAccountNumber,
I_AccountMasterData.BhvrlInsgtsAccountName AS BhvrlInsgtsAccountName,
I_AccountMasterData.BhvrlInsgtsAccountCategory AS BhvrlInsgtsAccountCategory,
I_AccountMasterData.BhvrlInsgtsAccountCategoryTxt AS BhvrlInsgtsAccountCategoryTxt,
cast('' as vtref_kk) AS BhvrlInsgtsSubAccountNumber,
'' AS BhvrlInsgtsSubAccountName
FROM I_BhvrlInsgtsPromiseToPay
INNER JOIN I_AccountMasterData ON /* join condition not captured in parsed metadata */
INNER JOIN I_BhvrlInsgtsEvtConfign AS BhvrlInsgtsEvtConfign ON /* join condition not captured in parsed metadata */
;
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