cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW - PA40 UPLOAD WITH INTERNAL PERNR

0 Kudos
829

Hi Experts,

When i Upload infotypes (0000,0001&0002) for 16 employees  in PA40 using LSMW with internal PERNR (employee codes) only one  employee code is getting assigned to all master data row wise and it stops in the last row and the employee code is assigned to the last record which i upload and the datas which is there in top is not updated in the system.

I have mentioned above the text file which i need to upload in LSMW infotypes (0000,0001&0002)


Start DateEnd DateReason for ActionPositionPERSONNEL AREAEmployee groupEmployee subgroupPersonnel subareaLast nameFirst nameDate of birth
01.07.201131.12.9999AB50000036AMUM1A5APRORAGHAVENDRAGURU01.01.1985
01.07.201131.12.9999AB50000037AMUM1A5APRONATHANSAI01.01.1985
01.07.201131.12.9999AB50000038AMUM1A5APROKANTHRAJINI01.01.1985
01.07.201131.12.9999AB50000039AMUM1A3AMAIHAASANKAMAL01.01.1985
01.07.201131.12.9999AB50000040AMUM1A5AMAIKUMARAJITH01.01.1985
01.07.201131.12.9999AB50000041AMUM1A5AMAIBABUSUTHISH01.01.1985
01.07.201131.12.9999AB50000042AMUM1A3MFINKRISHNAMOORTHYBHUVANA01.01.1985
01.07.201131.12.9999AB50000043AMUM1A4MFINBABUMADHUSUDHANA01.01.1985
01.07.201131.12.9999AB50000099AMUM1A3AMATRAGHAVENDRANVIJAY01.01.1985
01.07.201131.12.9999AB50000091AMUM1A3ASALSRAGHAVENDRANVINOTH01.01.1985
01.07.201131.12.9999AB50000095AMUM1A4ASALSKKUSHBU01.01.1985
01.07.201131.12.9999AB50000097AMUM1A4ASALSKRATHINA01.01.1985
01.07.201131.12.9999AB50000098AMUM1A3AHRMRBALA01.01.1985
01.07.201131.12.9999AB50000100AMUM1A4ATMESMOHAN01.01.1985
01.07.201131.12.9999AB50000101AMUM1A4APAYPSENTHIL01.01.1985
01.07.201131.12.9999AB50000102AMUM1A4APAYGMMANISH01.01.1985
01.07.201131.12.9999AB50000106AMUM1A3ABCITVVIVEK01.01.1985

I have enclosed my STEP 1 recording in (PNG-1,2&3) for your reference

Kindly help in resolving the query


regards,

Surain Babu D

SAP HCM

View Entire Topic
VKP
Contributor
0 Kudos

Hi,

from what I understand you are saying, a new pernr is not getting generated while hiring. Let us know if this is correct.

Please use starting Tcode as PA30 instead of PA40 and then try doing the LSMW by keying IT 0000 and Subtype = Action Type.

I had the same problem with PA40, so when I used PA30 it worked.

Rgds

Vishwas

0 Kudos

Hi,

Thanks!

1) The employee i upload with LSMW are new employees and  and is it possible to use PA30?

2) Is it possible to upload two or three  infotypes at the same time without employee code in PA30 transaction.

3) I am uploading the LSMW PA40 with internal PERNR, whether for new master updation for employee who r not there in the system whether PA30 can be used?

regards,

Surain Babu D

7066199640

Pardhasaradhi_Reddy_Chelikam
Active Contributor
0 Kudos

Dear,

1) For new employees to Hire or to terminate PERNR, use PA40.& Use PA30 after creating PERNR for any changes in master data of PERNR.

2) How can you update the info types with out PERNR in PA30.Against whom you want to update master?

3) PA40 clearly says for personnel actions( Hiring,terminate,transfer etc...) and PA30 clearly says changes in master data.

Hope you got an idea about usage of PA40 & PA30

Regards,

Pardhu

0 Kudos

Hi Pardhu,

Thanks for your reply!

1) I am currently trying to use PA40 for LSMW for New Hires and the info types i am uploading is (0000,0001 & 0002).

2) When i upload the action runs for 10 sample employees  with  INTERNAL PERNR, what assigned to first employee is getting updated till 10th employee when i am running the last step and the employee code at last getting assigned to last employee and stops.

3) I need to know how to assign employee codes for all 10 employees for running personnel actions using LSMW batch recording  with internal PERNR.

regards,

Surain Babu D

Pardhasaradhi_Reddy_Chelikam
Active Contributor
0 Kudos

Dear,

Then i need to check your LSMW recording.Did you get the right details at step"Display Converted Data"?

you need to assign the internal number assignment number of PERNR in the file it self for all employees hiring.

Regards,

pardhu

0 Kudos

Dear Pardhu,

I have already enclosed my recording screen shot in the first query .I request you to kindly check it and guide me on the same.

regards,

D Surain Babu

Pardhasaradhi_Reddy_Chelikam
Active Contributor
0 Kudos

Dear,

You just shown  the recorded fields.Kindly do send me your source fields and fields mapped.

Regards,

Pardhu

0 Kudos
VKP
Contributor
0 Kudos

Hello,

To answer your questions -

1) The employee i upload with LSMW are new employees and  and is it possible to use PA30? - YES

2) Is it possible to upload two or three  infotypes at the same time without employee code in PA30 transaction. _ YES

3) I am uploading the LSMW PA40 with internal PERNR, whether for new master updation for employee who r not there in the system whether PA30 can be used? - YES

In general if you use PA30, give 1st IT to be recorded as IT0000, then the subsequent ITs will be automatically called.

You can try this by executing an Hiring action using PA30, as you would generally use in PA40.

Try this with LSMW giving pa30 and test , you will get to know yourself....

Hope this helps

Vishwas

0 Kudos

Hi Vishwas,

When i execute using PA30 IN LSMW the "Enter the Personnel number" message appears but i wanted to execute a process where system automatically assign employee code for new hires.

regards

Surain

former_member221248
Active Participant
0 Kudos

Hello Surain,

You have to implement BADI for uploading Mass data for infotype 0000,0001 and 0002. You can not acheive the result by LSMW. I have faced issue in my project and ended up on development of BADi. You can ask your developer to implement for you.

Regards,

Nanny

0 Kudos

Hi Nanny,

Thanks for your reply!

I am in test process and i am uploading only 20 Sample employees and i want to know the GAP as why the same  Personnel number is assigned to 19 employees and at updated to the 20th employee.

Former Member
0 Kudos

Hi,

Try to hire with two employees through LSMW in foreground and try to understand what happens.

Some time if you try to hire employees through LSMW with internal numbering in background may face this problem.

In between open the converted data  and  see all the field are matching correctly.

John Cheriyan