cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a custom field to Fiori TRV 2.0 Travel Request App and persist it?

flotxi
Participant
0 Kudos
1,876

Hello experts,

I am trying to add new custom fields to the Fiori TRV 2.0 Travel Request app but can't figure out how to do that on the frontend.

Following the note 2693032 there are two ways to do that:

  1. Creating a local annotation file in my app extension
  2. Modify two helper classes which create the annotations within the MPC_EXT class.

When I try to create the local annotation I will get following error opening the annotation modeller:

And modifying (even if it's via enhancement points) will be my last option.

Now I am thinking about trying to add the fields like the Travel Expense 2.0 app (via some view and controller extensions). But that's not the suggested way by SAP. What do you think?

And even if I get to display the field one day, I have not found any documentation on how to persist the new fields on the travel header.

Thanks in advance and best regards,

Florian

Accepted Solutions (0)

Answers (1)

Answers (1)

flotxi
Participant
0 Kudos

Hi Yusuf,

I can't provide you with a solution for this error. At the end I worked with View Extension:

My Manifest file:

And the beginnning of my extension fragment:

I hope this helps!

Best regards,

Florian