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 ABAP - PAYROLL - Copy existing payroll function and changes

Former Member
0 Likes
1,613

Hello all,

Required a help over an issue with HR ABAP - Payroll module.

My requirement is to Copy an existing custom Payroll Function (Transaction PE04), into a new one. The existing payroll function has the code for updating payroll results in RT table. I have to change the statements in the new function making sure that now it will update IT/OT table instead of RT table.

Kindly help me with the issue.

Thanks,

Ruchir.

Edited by: Ruchir Pathak on Nov 17, 2011 9:09 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,093

Hi,

you can not copy function as i know. you should create a new one and copy code from the existing function to new function and modify code for the new requirement. this will be mush easier.

Çağatay

Hello all,

Required a help over an issue with HR ABAP - Payroll module.

My requirement is to Copy an existing custom Payroll Function (Transaction PE04), into a new one. The existing payroll function has the code for updating payroll results in RT table. I have to change the statements in the new function making sure that now it will update IT/OT table instead of RT table.

Kindly help me with the issue.

Thanks,

Ruchir.

Edited by: Ruchir Pathak on Nov 17, 2011 9:09 AM

4 REPLIES 4
Read only

Former Member
0 Likes
1,094

Hi,

you can not copy function as i know. you should create a new one and copy code from the existing function to new function and modify code for the new requirement. this will be mush easier.

Çağatay

Read only

0 Likes
1,093

Hi,

Thanks for the update about copying function not possible. Do you have any info on how to update OT table instead of RT. The custom payroll function is filling the payroll results in RT table. Thanks for your help.

Thanks,

Ruchir.

Read only

0 Likes
1,093

Hi,

Just replace RT to OT.

Let me know the result.

Çağatay

Read only

0 Likes
1,093

Hi,

Thanks for the reply. Will let you know after doing. Thanks,

Ruchir.