I_PaymentAdviceFromAssignment

DDL: I_PAYMENTADVICEFROMASSIGNMENT SQL: IPAYTADVCFRMASGN Type: view BASIC Package: ODATA_ASSIGNOPENITEMS

Payment advices created from assignment

I_PaymentAdviceFromAssignment is a Basic CDS View that provides data about "Payment advices created from assignment" in SAP S/4HANA. It reads from 1 data source (I_PaymentAdvice) and exposes 14 fields with key fields CompanyCode, PaymentAdviceAccountType, PaymentAdviceAccount, PaymentAdvice. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F2626). Part of development package ODATA_ASSIGNOPENITEMS.

Data Sources (1)

SourceAliasJoin Type
I_PaymentAdvice I_PaymentAdvice from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_PaytAdviceItemFromAssignment _PaytAdviceItemFromAssignment $projection.CompanyCode = _PaytAdviceItemFromAssignment.CompanyCode and $projection.PaymentAdviceAccountType = _PaytAdviceItemFromAssignment.PaymentAdviceAccountType and $projection.PaymentAdviceAccount = _PaytAdviceItemFromAssignment.PaymentAdviceAccount and $projection.PaymentAdvice = _PaytAdviceItemFromAssignment.PaymentAdvice

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPAYTADVCFRMASGN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Payment advices created from assignment view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
UI.headerInfo.typeName Assignment of Open Items view
UI.headerInfo.typeNamePlural Assignments of Open Items view
UI.headerInfo.title.label Assignment of Open Items view
UI.headerInfo.title.value PaymentAdvice view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2626 ASQL_F2626 C2 NOT_RELEASED

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PaymentAdviceAccountType PaymentAdviceAccountType Account Type
KEY PaymentAdviceAccount PaymentAdviceAccount Account
KEY PaymentAdvice PaymentAdvice Payment Advice Number
PaidAmountInPaytCurrency PaidAmountInPaytCurrency Payment Amount
PaymentCurrency PaymentCurrency Payment Currency
PaymentAdviceStatus Payment Advice Status
CreatedByUser CreatedByUser User Name
CreationDateTime
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
_PaytAdviceItemFromAssignment _PaytAdviceItemFromAssignment
_Customer _Customer
_Supplier _Supplier

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_PaymentAdviceFromAssignment.
-- 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: IPAYTADVCFRMASGN

CREATE VIEW I_PaymentAdviceFromAssignment AS
SELECT
  CompanyCode,
  PaymentAdviceAccountType,
  PaymentAdviceAccount,
  PaymentAdvice,
  PaidAmountInPaytCurrency,
  PaymentCurrency,
  cast( PaymentAdviceStatus as farp_pa_astat_avik preserving type ) AS PaymentAdviceStatus,
  CreatedByUser,
  cast(dats_tims_to_tstmp(CreationDate, CreationTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') as fis_creation_timestamp) AS CreationDateTime,
  LastChangedByUser,
  LastChangeDate
FROM I_PaymentAdvice
LEFT OUTER JOIN I_PaytAdviceItemFromAssignment AS _PaytAdviceItemFromAssignment ON CompanyCode = _PaytAdviceItemFromAssignment.CompanyCode AND PaymentAdviceAccountType = _PaytAdviceItemFromAssignment.PaymentAdviceAccountType AND PaymentAdviceAccount = _PaytAdviceItemFromAssignment.PaymentAdviceAccount AND PaymentAdvice = _PaytAdviceItemFromAssignment.PaymentAdvice  -- association [1..*]
;