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

Using HR_MAINTAIN_MASTERDATA create a new employee

Former Member
0 Likes
1,858

Hi, Expertise,

I'm dealing with a ABAP programm using HR_MAINTAIN_MASTERDATA to create new employee, instead of executing pa30/40.

Here I found a brief reply: , but there's something I still have not answer.

My question is: After importing parameters and executing HR_MAINTAIN_MASTERDATA, I found that no record in pa30/40, and system msg came out: Personnel number not yet assinged. How can I solove this problem?

Another question: If HR_MAINTAIN_MASTERDATA could successfully create an employee, could the employee's infotype be modified/updated in future?

I really apprecite your kindly help.words from heart...

Lisa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,051

hi did you passed this data..

PERNR = NUMBER --->legacy employee number

ACTIO = OPERATION ---> INS

TCLAS = TCLAS -


> A

BEGDA = VALIDITYBEGIN -


>begin date

ENDDA = VALIDITYEND -


> end date

WERKS = WERKS -


>v_werks

PERSG = PERSG -


>v_persg

PERSK = PERSK -


>v_persk

LUW_MODE = LUW_MODE -


>0

DIALOG_MODE = DIALOG_MODE -


>0

NO_EXISTENCE_CHECK = 'X'

NO_ENQUEUE = 'X'

Hi, Expertise,

I'm dealing with a ABAP programm using HR_MAINTAIN_MASTERDATA to create new employee, instead of executing pa30/40.

Here I found a brief reply: , but there's something I still have not answer.

My question is: After importing parameters and executing HR_MAINTAIN_MASTERDATA, I found that no record in pa30/40, and system msg came out: Personnel number not yet assinged. How can I solove this problem?

Another question: If HR_MAINTAIN_MASTERDATA could successfully create an employee, could the employee's infotype be modified/updated in future?

I really apprecite your kindly help.words from heart...

Lisa

5 REPLIES 5
Read only

Former Member
0 Likes
1,052

hi did you passed this data..

PERNR = NUMBER --->legacy employee number

ACTIO = OPERATION ---> INS

TCLAS = TCLAS -


> A

BEGDA = VALIDITYBEGIN -


>begin date

ENDDA = VALIDITYEND -


> end date

WERKS = WERKS -


>v_werks

PERSG = PERSG -


>v_persg

PERSK = PERSK -


>v_persk

LUW_MODE = LUW_MODE -


>0

DIALOG_MODE = DIALOG_MODE -


>0

NO_EXISTENCE_CHECK = 'X'

NO_ENQUEUE = 'X'

Read only

0 Likes
1,051

Hi, Venkat,

Yes,I've passed all the value you mentioned, as well as some more IT0000/0001/0002 data.

But the FM runs without reture error. I also tried to set DIALOG_MODE=1 to see detail error, but not any comes out.

Thanks for your kindly reply.

Read only

Former Member
0 Likes
1,051

Any one who know why this error comes: "Personnel number not yet assinged" ?????

Read only

0 Likes
1,051

Hai,

Is it due to the reason that the person is not yet hired and hence the person may not be available in the system.

Regards,

Jubish

Read only

0 Likes
1,051

Usually this error is when you pass a PERNR that isn't yet assigned and the measure requires a valid PERNR.