cancel
Showing results for 
Search instead for 
Did you mean: 

SAP OData Annotation ValueList for Entity with multiple keys

kai2015
Contributor
0 Kudos

Hi,

would be nice, if someone could help me on this 🙂

I know how to create a ValueHelp for an entity with one key, by using sap annotations and smart-fields.

Example Odata Structure:

Entity: LineItems

- GUID

- KEY_TYPE => Entity: LineType

- KEY_KIND => Entity: LineKind

- ... more properties

Entity: LineType

- KEY_TYPE

- DESCRIPTION

Entity: LineKind

- KEY_TYPE

- KEY_KIND

- DESCRIPTION

Now I want to create a ValueHelp for LineKind, which should only show results with KEY_TYPE = LineItem.KEY_TYPE.

Do you know, how annotation should look like? Or do you have any helpful source to get more information on this .. or an example?

Thank you for any help!

kind regards,

Kai

Accepted Solutions (0)

Answers (0)