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

How to Create a CDS View ?

Steps to create CDS view:

  • Open Eclipse IDE (with ADT installed).
  • Right-click your ABAP project → NewOther → Search for “DCL/CDS” → Select “Data Definition”.
  • Enter:
    • Name (e.g., zempView )
    • Description
  • Select a transport request
  • Click Finish.
    @AbapCatalog.viewEnhancementCategory: [#NONE]
    @AccessControl.authorizationCheck: #NOT_REQUIRED
    @EndUserText.label: 'view entity for employee'
    @Metadata.ignorePropagatedAnnotations: true
    @ObjectModel.usageType:{
    serviceQuality: #X,
    sizeCategory: #S,
    dataClass: #MIXED
    }
    define view entity zempView as select from zdpm_employee
    {
    key empid as Empid,
    empname as Empname,
    depid as Depid,
    salary as Salary
    }

Related Questions

Leave an answer

Leave an answer