Skip to Content
avatar image
Former Member

SAP OData Annotation ValueList for Entity with multiple keys

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers