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

HR : Master data creation

Former Member
0 Likes
531

Hello,

My requirement is user will be giving me a flat file in which master data will be format of PA40 all mandatory fields will be txt file.

Now i want a function module/BAPI for the same to create master record for an employee returning back the personal number.

Please guide as to how this can be done.

Thanks

2 REPLIES 2
Read only

nitesh_jain3
Active Participant
0 Likes
477

You can use fm HR_MAINTAIN_MASTERDATA.

Read only

0 Likes
477

HR_MAINTAIN_MASTERDATA FM checks pernr ne 00000000.In my case intially pernr will be '00000000'.

IF pernr NE '00000000' AND no_existence_check EQ ' '. "XDPK001633