/LTB/I_MIG_PROJECT_LIST

DDL: /LTB/I_MIG_PROJECT_LIST SQL: /LTB/IMIG_PRJCTS Type: view Package: /LTB/MC_CORE

I_MIG_PROJECT_LIST

/LTB/I_MIG_PROJECT_LIST is a CDS View that provides data about "I_MIG_PROJECT_LIST" in SAP S/4HANA. It reads from 4 data sources (/ltb/mc_appr, dmc_mt_header, /ltb/mc_proj, dmc_prjct) and exposes 14 fields. Part of development package /LTB/MC_CORE.

Data Sources (4)

SourceAliasJoin Type
/ltb/mc_appr app inner
dmc_mt_header dmc_dt inner
/ltb/mc_proj p from
dmc_prjct pr inner

Parameters (1)

NameTypeDefault
p_lang abap.lang

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName /LTB/IMIG_PRJCTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.type #CLIENT_DEPENDENT view
EndUserText.label I_MIG_PROJECT_LIST view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (14)

KeyFieldSource TableSource FieldDescription
MigationProjectUUID /ltb/mc_proj uuid Waste Partner UUID
ProjectName dmc_prjct ident Tree Structure
ProjectDescription
CreatedOn /ltb/mc_proj cre_time Time Stamp
UserDescriptionendendasCreatedBy
ProjectFinished /ltb/mc_proj finished TRUE
ProjectToBeDeleted /ltb/mc_proj to_be_deleted TRUE
ProjectImported /ltb/mc_proj imported TRUE
MigrationApproach /ltb/mc_proj approach Migrtn Approach
ProjectScenario /ltb/mc_proj scenario VAT Scenario
rfc_destnaendasMigrationDestination
rfc_destnaendasMigrationDestinationDESCR
MigrationCount
MigrationObjCount

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 /LTB/I_MIG_PROJECT_LIST.
-- 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: /LTB/IMIG_PRJCTS
-- Parameters: p_lang : abap.lang

CREATE VIEW /LTB/I_MIG_PROJECT_LIST AS
SELECT
  p.uuid AS MigationProjectUUID,
  pr.ident AS ProjectName,
  coalesce( coalesce( pre.descr, prt.descr ), pr.ident ) AS ProjectDescription,
  p.cre_time AS CreatedOn,
  case when user.UserDescription is null then p.cre_user else case ltrim(user.UserDescription, ' ') when '' then p.cre_user else user.UserDescription end end as CreatedBy AS UserDescriptionendendasCreatedBy,
  p.finished AS ProjectFinished,
  p.to_be_deleted AS ProjectToBeDeleted,
  p.imported AS ProjectImported,
  p.approach AS MigrationApproach,
  p.scenario AS ProjectScenario,
  case when p.approach = 'STAGING' and df.rfc_dest = 'R/3*' then 'DEFAULT' else coalesce( df.rfc_dest, '<n/a>' ) end as MigrationDestination AS rfc_destnaendasMigrationDestination,
  case when p.approach = 'STAGING' and df.rfc_dest = 'R/3*' then con_t.connection_desc else coalesce( df.rfc_dest, '<n/a>' ) end as MigrationDestinationDESCR AS rfc_destnaendasMigrationDestinationDESCR,
  count( distinct sin_co.cobj_ident_src) AS MigrationCount,
  count( distinct cobj.ident ) AS MigrationObjCount
FROM /ltb/mc_proj AS p
INNER JOIN /ltb/mc_appr AS app ON /* join condition not captured in parsed metadata */
INNER JOIN dmc_prjct AS pr ON /* join condition not captured in parsed metadata */
INNER JOIN dmc_mt_header AS dmc_dt ON /* join condition not captured in parsed metadata */
;