FCLM_PROMISE2PAY

DDL: FCLM_PROMISE2PAY SQL: VAP_PROMISE2PAY Type: view Package: FCLM_CP

Promise To Pay Information

FCLM_PROMISE2PAY is a CDS View that provides data about "Promise To Pay Information" in SAP S/4HANA. It reads from 2 data sources (scmg_t_case_attr, udm_p2p_attr) and exposes 10 fields. Part of development package FCLM_CP.

Data Sources (2)

SourceAliasJoin Type
scmg_t_case_attr attribute left_outer
udm_p2p_attr promisetopay from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName VAP_PROMISE2PAY view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Promise To Pay Information view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (10)

KeyFieldSource TableSource FieldDescription
InternalKey udm_p2p_attr case_guid UUID
InstallmentNo udm_p2p_attr fin_no_of_inst Installments
StatusOfPromiseToPay udm_p2p_attr fin_p2p_state State
LevelOfPromiseToPay udm_p2p_attr fin_p2p_level Level
PromisedAmount udm_p2p_attr fin_promised_amt Promised
FIN_INVOICE_KEY
DateOfLastPayment udm_p2p_attr fin_last_payment Last Payment
PromisedBy udm_p2p_attr fin_promised_by Promised By
CreatedBy scmg_t_case_attr created_by Version Created By
ChangedBy scmg_t_case_attr changed_by User Name

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 FCLM_PROMISE2PAY.
-- 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: VAP_PROMISE2PAY

CREATE VIEW FCLM_PROMISE2PAY AS
SELECT
  promisetopay.case_guid AS InternalKey,
  promisetopay.fin_no_of_inst AS InstallmentNo,
  promisetopay.fin_p2p_state AS StatusOfPromiseToPay,
  promisetopay.fin_p2p_level AS LevelOfPromiseToPay,
  promisetopay.fin_promised_amt AS PromisedAmount,
  substring( promisetopay.fin_invoice_key, 5, 10 ) AS FIN_INVOICE_KEY,
  promisetopay.fin_last_payment AS DateOfLastPayment,
  promisetopay.fin_promised_by AS PromisedBy,
  attribute.created_by AS CreatedBy,
  attribute.changed_by AS ChangedBy
FROM udm_p2p_attr AS promisetopay
LEFT OUTER JOIN scmg_t_case_attr AS attribute ON /* join condition not captured in parsed metadata */
;