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: 

Data retrieval from infotype 0024(Qualification)

Former Member
0 Kudos
1,309

hi abapers,

could someone suggest me how to retrieve data from infotype 0024(Qualification)

I tried from pa0024,but no data is stored there.

yogesh

10 REPLIES 10

Former Member
0 Kudos
271

Hi

How you fetched the data from PA0024 Infotype?

You can write a select statement for PA0024 and fetch data

or if you use PNP LDB use

GET PERNR.

rp_provide_from_last p0024 space pnpbegda pnpendda.

you will get the data with this statement.

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos
271

Hi Yogesh,

PA0024 is nothing but the infotype 0024.

You can create data using PA30 transaction or ask your functional guy to create it for you.

Regards,

Atish

0 Kudos
271

Hi Yogesh,

Make use of below FMs to fetch the data from IT0024 -



* Fill t_pernr_tmp with employees (PERNRs) as follows - 
      t_pernr_tmp-plvar = '01'.
      t_pernr_tmp-otype = 'P'.
      t_pernr_tmp-sobid = '00000001'.  "give employee number here
      append t_pernr_tmp.


*     READ QUALIFICATION
      CALL FUNCTION 'RHPP_Q_PROFILE_READ'
        EXPORTING
          begda            = w_low  "provide date in sy-datum format
          endda            = w_high "provide date in sy-datum format
          with_stext       = c_x
          with_qk_info     = c_x
        TABLES
          OBJECTS    = t_pernr_tmp
          profile          = t_qual_data
        EXCEPTIONS
          no_authority     = 1
          wrong_otype      = 2
          object_not_found = 3
          undefined        = 4
          OTHERS           = 5.

* here t_qual_data will have qualification  data.
*after that make use of FM 'RHPE_QCAT_BRANCH_READ_UP' and the *t_qual_data table to read the branches of qualification data.

Former Member
0 Kudos
271

If there is no data in PA0024 then how it will come out..

First maintain IT0024 for some pernr using PA30... then data will be stored in table PA0024..

after that... you can retrieve data using :

1. FM : HR_READ_INFOTYPE

2. macro rp-read-infotype

3. using logical database PNP or PNPCE and event GET PERNR / GET PERAS.

Reward if useful

Regards

Prax

Former Member
0 Kudos
271

Hi guys,

Data is already entered through pa30 but that data is not getting stored in pa0024,

that's what i mean.I think it gets stored in some other table.

I am able to view data in pa30 through display but the table pa0024 is empty.

yogesh

0 Kudos
271

is the data getting updated in HRP1000 if yes then take the data from there

bhanu

Former Member
0 Kudos
271

Thanks Amit and rest of you guys,

I am able to get Qualification data using

that function module.Thanks a lot

yogesh

Former Member
0 Kudos
271

actually data is stored there but you have enter all the selection fields with correct value.

Former Member
0 Kudos
271

hi every body i am not able to get the qualification profile from pernr or resource guid. please help me out

0 Kudos
271

Try function  BAPI_QUALIFIC_GETLIST