2011 Jan 24 8:32 AM
Hi all,
I want to get the gender text from infotype 0021 (HR). The field FASEX in table PA0021 (which stands for family data) contains the gender code of a relative. I want to extract the text (i.e 'Female' ) but I cannot find the table which holds the relevant texts. Can you please point me to the correct table.
P.S.: A function module or class which retrieves the gender text automatically will also do.
2011 Jan 24 8:40 AM
Hello
Use FM DOMAIN_VALUE_GET with
I_DOMNAME = 'GESCH'
I_DOMVALUE = PA0021-FASEX
Hi all,
I want to get the gender text from infotype 0021 (HR). The field FASEX in table PA0021 (which stands for family data) contains the gender code of a relative. I want to extract the text (i.e 'Female' ) but I cannot find the table which holds the relevant texts. Can you please point me to the correct table.
P.S.: A function module or class which retrieves the gender text automatically will also do.
2011 Jan 24 8:40 AM
Hello
Use FM DOMAIN_VALUE_GET with
I_DOMNAME = 'GESCH'
I_DOMVALUE = PA0021-FASEX
2011 Jan 24 8:43 AM
2011 Jan 24 8:53 AM
Hello,
Use FM DOMAIN_VALUE_GET and pass
I_DOMNAME = 'GESCH'
I_DOMVALUE = PA0021-FASEX (Gender Keys : space, 1 or 2 )
and get the text in E_DDTEXT like ( Unknown, Male or Female)
Regards
Ganesh Reddy
2011 Mar 30 8:45 AM
The 'FICO_DOMAIN_VALUES_GET' has also good one. It will gives data at one time and you can use it as read statement.
Thanks
Jahnavee
2011 Jun 16 6:19 AM
2011 Jan 24 8:41 AM
There are only 3 possible values for Gender key (Check Value Range of Domain GESCH)
<SPACE> Unknown
1 Male
2 Female
I think it will be ok to use a IF case...
Regards,
Trikanth
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |