cancel
Showing results for 
Search instead for 
Did you mean: 

Regardin Employee details BAPI

Former Member
0 Kudos

Hi all,

I want to get employee details from a standard bapi and edit them in webdynpro.

I am trying to use a BAPI related to employee details. (BAPI_PERSDATA_GETDETAIL and BAP_PERSDATA_CHANGE).But i dont know how to get the valid data already existing in the system,using which i can getdetails.

Its asking for 6 mandatory parameters.. Can someone tel me how to get the existing sample data. Or can anyone give a valid data value.

Regards

Bharathwaj

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Marcel,

Thanks a lot for ur reply. I have one more query to ask. I actually got the data and trying to modify it now..

For bapi_persdate_change iam giving objectid,recordno,lock indicator,validity end and begin ,

and personnel no.. plus the fullname .

But its saying make entry in all the required fields.

Isnt it sufficient if we enter data in the six mandatory fields alone.

Are there any more mandatory parameters .

Regards

Bharathwaj

Former Member
0 Kudos

Hi Bharathwaj,

You forgot to pass on the field SUBTYPE. This field is mandatory as well. This makes 7 mandatory fields.

Furthermore I suggest you transfer the data from the FM BAPI_PERSDATA_GETDETAIL to the FM BAPI_PERSDATA_CHANGE and make the necessary changes in between.

Regards,

Marcel

Former Member
0 Kudos

Hi,

Try Bapi BAPI_EMPLOYEE_GETDATA. The table in which this data is stored are named PA****. Replace the **** with number of the infotype. Thus infotype 0001, organizational assignment, can be found in table PA0001.

Good luck!

Regards,

Marcel

Former Member
0 Kudos

Hi,

I have tried to navigate through the RFC's . I could not find any tables there. As far i had went i could only see structures used .

Can anyone give me the table names which are storing this data.

Regards

Bharathwaj

Former Member
0 Kudos

Hi,

First you should look for the sap table from which this

BAPI is fetching data, then through data browser i.e. se16

you can see table entries and find valid data.

I hope this will help you.

Regards,

Narinder Hartala

Former Member
0 Kudos

Hi,

Check this link and u can find the bapi that you require,

http://www.planetsap.com/LIST_ALL_BAPIs.htm

like: BAPI_PERSDANL_GETDETAILEDLIST

Regards,

Anjali