cancel
Showing results for 
Search instead for 
Did you mean: 

How to query the labels of Gender field in Personal Information by Odata API

Bin
Discoverer
0 Kudos

Hello everyone,

We are facing an issue of querying the labels of Gender field in Personal Information by Odata API.

The value returned was only "M"/"F", but we need the value of labels based on user's language, such as "Male"/"Female" if the user's language is English_US.

According to the following KBA, we have recognized that Gender is a hard-coded picklist and Gender field in Personal Information need to be defined as a STRING field, which means we can't get the labels through navigation.

https://userapps.support.sap.com/sap/support/knowledge/en/2249519

If you have any information please share.

Accepted Solutions (0)

Answers (1)

Answers (1)

nlgro023
Active Contributor
0 Kudos

Sounds about right unfortunately. With integration center or middleware you could at least use some transformation to make M --> Male and F --> Female.

Bin
Discoverer
0 Kudos

Thank you for the information. Yes we are considering to config some transformation in middleware if there is no better way else.