cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

I want to extend Odata service using Simple field extension technique. Unable to do it.

pradeep_tcs
Explorer
0 Likes
329

Hello Experts,

I want to extend the Fiori app "FIN_GLAUDITJRNL" with 2 new fields from standard table.
The entity is mapped from CDS view. I have added fields to the CDS view by extending it and also to the DDIC structure of entity type.
I have redefined "define" method in MPC_EXT class as well and added below code.

  model->get_entity_type'Journal' )->ADD_AUTO_EXPAND_INCLUDE(
  EXPORTING
    IV_INCLUDE_NAME 'INCL_EEW_ACDOC'
    IV_BIND_CONVERSIONS 'X'

I am able to see, the 2 new fields when I do a "model->get_entity_type'Journal' )->get_properties)", but I am not able to see when I download the metadata of the service.
Can you please help, if I have to do something more?
Please note, it is not possible to achieve this using Custom Fields and Logic App.

Accepted Solutions (0)

Answers (0)