cancel
Showing results for 
Search instead for 
Did you mean: 

Find behavior definition name by its alias name

bohong_liu
Explorer
0 Kudos

Dear experts:

There is a RAP URI like this: http://host/sap/opu/odata/sap/ZRAP_SEVICE_NAME/PurchaseDocument_U

PurchaseDocument_U is an alias of a behavior definition,my question is how can I find the behavior definition name by the alias(PurchaseDocument_U).

SachinArtani
Participant
0 Kudos

Hi Liu,

Try Ctrl + Shift + A in eclipse to Open development object and search with Alias name. If that does not work, shorten the alias name like PurchaseDocument. There won't be many Bdefs with this name, so you can navigate to each result. Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

j_pavan_kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Hobart,

You can backtrack with your service name. Check in ADT( Ctrl+Shift+A) for the service binding using service name and from there you can get the service definition then you can get the list of projected CDS views and finally you can find the root view as well as its corresponding behavior definition by analyzing the projected views.

OR

Once you can get the service binding based on the service name, please check for the package name and from there you can find the whole repository of objects inside the package.

Thanks,

Pavan