2015 Sep 07 1:21 PM
Hello ,
I am trying to find a table , search help so that I can get an F4 Help for sub type for SAP HR.
What I found is Standard entries are stored in T591A / T591A table and some custom subtype in T5R05 Table
I need a solution so that I can get sub type for particular infotype so I can put the same the table maintenance of my table.
Regards,
Gaurang
2015 Sep 07 3:41 PM
Hi,
you can use this FM: HR_F4_GET_SUBTYPE
or you can create a Search help exit and select from the table which you want,
look to these FMs: may it help you too.
Regards
Ibr
2015 Sep 07 1:26 PM
Hi,
Create a elementary search help and use Search help exit where you can write ABAP code to display the searchhelp. Then you can use it to attach it either in data element or Table field level in your custom table.
R
2015 Sep 07 2:30 PM
Hi Gaurang,
Use the FM HR_F4_GET_SUBTYPE to get the subtype F4 help.
Hope this helps.
Regards,
Shadab.
2015 Sep 08 5:30 AM
Hello Shadab,
I cannot use this FM as it requires PERNR and in the table maintenance. I only have info type and based on info type I need to fetch the Sub type.
Regards,
Gaurang
2015 Sep 08 6:42 AM
Hi Gaurang,
But PERNR is optional here, without this also you can fetch the subtypes.
Regards,
Shadab.
2015 Sep 07 3:41 PM
Hi,
you can use this FM: HR_F4_GET_SUBTYPE
or you can create a Search help exit and select from the table which you want,
look to these FMs: may it help you too.
Regards
Ibr
2015 Sep 08 5:35 AM
Hello Ibrahim,
I cannot use this FM as it Requires PERNR as an Input parameter.
In my table maintenance there is only infotype and based on that I need to fetch an f4 on subtype.
Regards,
Gaurang
2015 Sep 08 6:06 AM
Hi Gaurang,
you can use it without PERNR , you can just give the infotype and you will get all the sybtype for infotype.
look to this pictures.
this FM has persnr as optional, so you don't need to pass it, just ignore it.
Just give the INFTY and you will get all sybtypes for infotype
this is the result what you can get,
this is also the table T591A, for infotype 0006 as example.
Regards
Ibrahim
2015 Sep 08 6:59 AM
Hi,
You can use FM : HR_F4_GET_SUBTYPE.
There is a pernr field in this FM too but that is optional and you can use it without Pernr.
Hope this helps.