Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

F4 Help for Subtype

gaurang_gujar
Contributor
0 Likes
3,078

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

1 ACCEPTED SOLUTION
Read only

former_member184158
Active Contributor
0 Likes
2,516

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

8 REPLIES 8
Read only

Former Member
0 Likes
2,516

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

Read only

shadab_maldar
Active Participant
0 Likes
2,516

Hi Gaurang,

Use the FM HR_F4_GET_SUBTYPE to get the subtype F4 help.

Hope this helps.

Regards,

Shadab.

Read only

0 Likes
2,516

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

Read only

0 Likes
2,516

Hi Gaurang,

But PERNR is optional here, without this also you can fetch the subtypes.

Regards,

Shadab.

Read only

former_member184158
Active Contributor
0 Likes
2,517

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

Read only

0 Likes
2,516

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

Read only

0 Likes
2,516

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

Read only

0 Likes
2,516

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.