Application Development 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: 

Function modules

Former Member
0 Kudos

Hi all

Is there any standard function module that gives all the subtypes related to particular infotype..for ex if i give pa006 it shud read all the subtypes under that along with text and no..

Thanks and Regards

abapuser

4 REPLIES 4

Former Member
0 Kudos

Hi,

You can use HR_READ_INFOTYPE.

Regards,

Atish

0 Kudos

Hi atish

that works only for that particular pernr..i dotn want to give any pernr..

only no of the subtype and text...is there any fm for that?

0 Kudos

I don't think there is any FM like this as without PERNR it will fetch everything from table(infotype)

Regards,

Atish

0 Kudos

Hi atish

I found out the fm..it might help everybody later.

HR_F4_GET_TABLES.

in this fm if u give the infotype it will return all the subtypes along with text..

there is a paremeter pernr..but even if u dont enter also it works..

Regards

abapuser