VFCLM_BAM_DDL_ACCOUNTINAPPROC

DDL: FCLM_BAM_ACCOUNTINREQUEST SQL: VFCLMACTAPVW Type: view

VFCLM_BAM_DDL_ACCOUNTINAPPROC is a CDS View in SAP S/4HANA. It reads from 8 data sources and exposes 61 fields with key fields request_id, acc_id, revision, acc_id, revision.

Data Sources (8)

SourceAliasJoin Type
FCLM_BAM_DDL_AMD_BASE_NO_HBA account inner
FCLM_BAM_DDL_AMD_BASE_NO_HBA account inner
fclm_bam_reqacnt reqaccount from
fclm_bam_reqacnt reqaccount union_all
fclm_bam_req reqheader inner
fclm_bam_req reqheader inner
fclm_bam_revwlog reviewlog left_outer
fclm_bam_revwlog reviewlog left_outer

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName VFCLMACTAPVW view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view

Fields (61)

KeyFieldSource TableSource FieldDescription
KEY request_id fclm_bam_req request_id Request unique ID
KEY acc_id fclm_bam_reqacnt acc_id Technical ID
KEY revision fclm_bam_reqacnt revision Revision Number
title fclm_bam_req title View Title
duedate fclm_bam_req duedate Promised For
created_by fclm_bam_req created_by Version Created By
lastchged_by fclm_bam_req lastchged_by Changed By
created_on fclm_bam_req created_on Variant created on
created_tm fclm_bam_req created_tm Entered at
clientNULLastimestampascreated_at
lastchged_on fclm_bam_req lastchged_on Changed On
lastchged_tm fclm_bam_req lastchged_tm Entered at
clientNULLastimestampaslastchged_at
request_step fclm_bam_req request_step Request Step
acc_num FCLM_BAM_DDL_AMD_BASE_NO_HBA acc_num Account Number
acc_type_id FCLM_BAM_DDL_AMD_BASE_NO_HBA acc_type_id Account Type
bukrs FCLM_BAM_DDL_AMD_BASE_NO_HBA bukrs Value
bankl FCLM_BAM_DDL_AMD_BASE_NO_HBA bankl House Bank
banks FCLM_BAM_DDL_AMD_BASE_NO_HBA banks Bank Ctry/Rgn. Key
iban FCLM_BAM_DDL_AMD_BASE_NO_HBA iban IBAN House Bank
beneficial FCLM_BAM_DDL_AMD_BASE_NO_HBA beneficial Account Holder
bank_contact FCLM_BAM_DDL_AMD_BASE_NO_HBA bank_contact General Contact
gsber FCLM_BAM_DDL_AMD_BASE_NO_HBA gsber Business Area
prctr FCLM_BAM_DDL_AMD_BASE_NO_HBA prctr Profit Centers
rel_manager FCLM_BAM_DDL_AMD_BASE_NO_HBA rel_manager Relationship Manager
status FCLM_BAM_DDL_AMD_BASE_NO_HBA status Workflow Status
valid_from FCLM_BAM_DDL_AMD_BASE_NO_HBA valid_from Validity Start Time
valid_to FCLM_BAM_DDL_AMD_BASE_NO_HBA valid_to Validity End Time
reviewed_by fclm_bam_revwlog reviewed_by Reviewed By
reviewed_on fclm_bam_revwlog reviewed_on Reviewed On
request_id Request unique ID
KEY acc_id fclm_bam_reqacnt acc_id Technical ID
KEY revision fclm_bam_reqacnt revision Revision Number
title fclm_bam_req title View Title
duedate fclm_bam_req duedate Promised For
created_by fclm_bam_req created_by Version Created By
lastchged_by fclm_bam_req lastchged_by Changed By
created_on fclm_bam_req created_on Variant created on
created_tm fclm_bam_req created_tm Entered at
clientNULLastimestampascreated_at
lastchged_on fclm_bam_req lastchged_on Changed On
lastchged_tm fclm_bam_req lastchged_tm Entered at
clientNULLastimestampaslastchged_at
request_step fclm_bam_req request_step Request Step
acc_num FCLM_BAM_DDL_AMD_BASE_NO_HBA acc_num Account Number
acc_type_id FCLM_BAM_DDL_AMD_BASE_NO_HBA acc_type_id Account Type
bukrs FCLM_BAM_DDL_AMD_BASE_NO_HBA bukrs Value
bankl FCLM_BAM_DDL_AMD_BASE_NO_HBA bankl House Bank
banks FCLM_BAM_DDL_AMD_BASE_NO_HBA banks Bank Ctry/Rgn. Key
iban FCLM_BAM_DDL_AMD_BASE_NO_HBA iban IBAN House Bank
beneficial FCLM_BAM_DDL_AMD_BASE_NO_HBA beneficial Account Holder
bank_contact FCLM_BAM_DDL_AMD_BASE_NO_HBA bank_contact General Contact
gsber FCLM_BAM_DDL_AMD_BASE_NO_HBA gsber Business Area
prctr FCLM_BAM_DDL_AMD_BASE_NO_HBA prctr Profit Centers
rel_manager FCLM_BAM_DDL_AMD_BASE_NO_HBA rel_manager Relationship Manager
status FCLM_BAM_DDL_AMD_BASE_NO_HBA status Workflow Status
valid_from FCLM_BAM_DDL_AMD_BASE_NO_HBA valid_from Validity Start Time
valid_to FCLM_BAM_DDL_AMD_BASE_NO_HBA valid_to Validity End Time
reviewed_by fclm_bam_revwlog reviewed_by Reviewed By
reviewed_on fclm_bam_revwlog reviewed_on Reviewed On
AccountNotReviewed

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 VFCLM_BAM_DDL_ACCOUNTINAPPROC.
-- 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: VFCLMACTAPVW

CREATE VIEW VFCLM_BAM_DDL_ACCOUNTINAPPROC AS
SELECT
  reqheader.request_id AS request_id,
  reqaccount.acc_id AS acc_id,
  reqaccount.revision AS revision,
  reqheader.title AS title,
  reqheader.duedate AS duedate,
  reqheader.created_by AS created_by,
  reqheader.lastchged_by AS lastchged_by,
  reqheader.created_on AS created_on,
  reqheader.created_tm AS created_tm,
  cast( DATS_TIMS_TO_TSTMP( reqheader.created_on, reqheader.created_tm, abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as timestamp ) as created_at AS clientNULLastimestampascreated_at,
  reqheader.lastchged_on AS lastchged_on,
  reqheader.lastchged_tm AS lastchged_tm,
  cast( DATS_TIMS_TO_TSTMP( reqheader.lastchged_on, reqheader.lastchged_tm, abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as timestamp ) as lastchged_at AS clientNULLastimestampaslastchged_at,
  reqheader.request_step AS request_step,
  account.acc_num AS acc_num,
  account.acc_type_id AS acc_type_id,
  account.bukrs AS bukrs,
  account.bankl AS bankl,
  account.banks AS banks,
  account.iban AS iban,
  account.beneficial AS beneficial,
  account.bank_contact AS bank_contact,
  account.gsber AS gsber,
  account.prctr AS prctr,
  account.rel_manager AS rel_manager,
  account.status AS status,
  account.valid_from AS valid_from,
  account.valid_to AS valid_to,
  reviewlog.reviewed_by AS reviewed_by,
  reviewlog.reviewed_on AS reviewed_on,
  '' AS AccountNotReviewed
FROM fclm_bam_reqacnt AS reqaccount
INNER JOIN fclm_bam_req AS reqheader ON /* join condition not captured in parsed metadata */
INNER JOIN FCLM_BAM_DDL_AMD_BASE_NO_HBA AS account ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fclm_bam_revwlog AS reviewlog ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): fclm_bam_reqacnt
;