P_RepetitiveCodeBasic

DDL: P_REPETITIVECODEBASIC Type: view_entity BASIC Package: ODATA_BANKTRANSFER

Basic View for Repetitive Code

P_RepetitiveCodeBasic is a Basic CDS View that provides data about "Basic View for Repetitive Code" in SAP S/4HANA. It reads from 1 data source (fibl_rpcode) and exposes 10 fields with key fields PayingCompanyCode, HouseBank, RepetitiveCode. Part of development package ODATA_BANKTRANSFER.

Data Sources (1)

SourceAliasJoin Type
fibl_rpcode rpcode from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PayingCompanyCode bukrs Value
KEY HouseBank hbkid House Bank
KEY RepetitiveCode Repetitive Code
HouseBankAccount hktid House Bank Account
PayeeCompanyCode pbukr Target Company Code
PayeeHouseBank partn Ptr/cus
PayeeHouseBankAccount parta Bank Details
PaymentMethod zlsch Pymt Meth.
Currency waers Transaction Currency
BankCountry banks Bank Ctry/Rgn. Key

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_RepetitiveCodeBasic.
-- 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 P_RepetitiveCodeBasic AS
SELECT
  bukrs AS PayingCompanyCode,
  hbkid AS HouseBank,
  cast(rpcode as fclm_cp_template) AS RepetitiveCode,
  hktid AS HouseBankAccount,
  pbukr AS PayeeCompanyCode,
  partn AS PayeeHouseBank,
  parta AS PayeeHouseBankAccount,
  zlsch AS PaymentMethod,
  waers AS Currency,
  banks AS BankCountry
FROM fibl_rpcode AS rpcode
;