cancel
Showing results for 
Search instead for 
Did you mean: 

Extend Fiori Apps with table

former_member568822
Active Participant
0 Kudos

Hi,

We are able to adding custom field in OData via the BADI but how about adding a table inside of just a fields. Anyone have the idea on it? Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182874
Active Contributor
0 Kudos

Hi

You can also check enhancement from SEGW approach.

Redefine the standard service and you can add your own structures and populate it in metadata.

Check how to :

Or

perform Implicit enhancement points. Look out for enhancement points in your MPC and DPC class.

Regards,

Tejas

former_member568822
Active Participant
0 Kudos

Hi,

We had done the extension in SEGW, any idea how to expand the new added entity set to the uri? Currently the standard apps uri for Odata is without the newly added entity.

former_member182874
Active Contributor
0 Kudos

Did you activate or generated the project extension ? Try clearing metadata cache in gateway and backend

IWFND/CACHE_cLEANUP

IWBEP/CACHE_CLEANUP

former_member568822
Active Participant
0 Kudos

Yes we already refresh the cache. Getting error as below

:"Resource not found for the segment 'RelStrH'."

former_member182874
Active Contributor
0 Kudos

Check out your entity type for RelStrH and see if this is your property name or abap name.

May be you are missing something on your modelling part. Check your mpc class if your modelling property is visible thr

Regards

Tejas

former_member568822
Active Participant
0 Kudos

Hi Tejas,

The error had been fix but how can we add the entity type into the fiori URI? Currently the OData URI called by the FIORI apps is without the RelStrH in the expand uri. Thanks.

former_member182874
Active Contributor
0 Kudos

Hi,

You need to write logic for filter criteria. Not sure what this entity means.

/sap/opu/odata/sap/ZYourSEGWProject/Entityset?$filter=RelStrH eq 'value'

In the service implementation, Implement "Get entity" or "Get entityset" method.

Either you can write an RFC/BAPI or write your own custom code in the redefinition.

Your import will be RelStrH and output will be the desired values.

Regards,

Tejas

former_member568822
Active Participant
0 Kudos

Hi Tejas,

Thanks for you reply. Can you share with me on how to add the newly added entity to the uri expand in standard Fiori apps?

former_member182874
Active Contributor
0 Kudos

Hi,

You can check all the URI in this page :

URI Conventions (OData Version 2.0) · OData - the Best Way to REST

You can see detailed example on the usage as well.


Thanks

Tejas