Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

SAP EWM Help Latest Questions

  • 0
  • 0
DPM125

Extend an existing CDS view

Identify the Type of CDS View You Want to Extend

There are different layers in RAP:

  • Interface View (I_)
  • Consumption/Projection View (C_ or ZC_)
  • Data Definition View (Z_)

Usually, you extend interface or projection views.

Use the EXTEND VIEW Statement

You can extend a CDS view using the EXTEND VIEW ABAP statement.

extend view ZI_YOUR_ORIGINAL_VIEW with ZI_YOUR_VIEW_EXTENSION {
key YOUR_FIELD_1,
YOUR_FIELD_2
}

ZI_YOUR_ORIGINAL_VIEW is the CDS view you’re extending.
YOUR_FIELD_1, YOUR_FIELD_2 must be available in the underlying base table/view or added via association.

Related Questions

Leave an answer

Leave an answer