P_ALTERNATE_PAYEE

DDL: P_ALTERNATE_PAYEE SQL: P_ALT_PAYEE_CDS Type: view BASIC Package: ODATA_MASTER_DATA_COMMON

Alternative Payee

P_ALTERNATE_PAYEE is a Basic CDS View that provides data about "Alternative Payee" in SAP S/4HANA. It reads from 2 data sources (but000, lfb1) and exposes 4 fields with key fields Supplier, CompanyCode, AlternativePayee. Part of development package ODATA_MASTER_DATA_COMMON.

Data Sources (2)

SourceAliasJoin Type
but000 but000 inner
lfb1 lfb1 from

Annotations (3)

NameValueLevelField
AbapCatalog.sqlViewName P_ALT_PAYEE_CDS view
VDM.private true view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Supplier lfb1 lifnr Vendor no.
KEY CompanyCode lfb1 bukrs Value
KEY AlternativePayee lfb1 lnrzb Payee
AlternativePayeeName but000 name_org1 Name 1

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 P_ALTERNATE_PAYEE.
-- 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: P_ALT_PAYEE_CDS

CREATE VIEW P_ALTERNATE_PAYEE AS
SELECT
  lfb1.lifnr AS Supplier,
  lfb1.bukrs AS CompanyCode,
  lfb1.lnrzb AS AlternativePayee,
  but000.name_org1 AS AlternativePayeeName
FROM lfb1
INNER JOIN but000 ON /* join condition not captured in parsed metadata */
;