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

Function modules

Former Member
0 Likes
442

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
Read only

Former Member
0 Likes
415

Hi,

You can use HR_READ_INFOTYPE.

Regards,

Atish

Read only

0 Likes
415

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?

Read only

0 Likes
415

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

Regards,

Atish

Read only

0 Likes
415

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