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

HRABAP issue

former_member532868
Participant
0 Likes
1,265

Hi All

I have one requirement in HRABAP. while I was running hincalc0 program(payroll running program) I want to fix Profissional Tax 208/- based on gross salary is greater than 20000(wage type is /101).I am not getting Badi In RT Table data but I am getting RT Table Data in Before going to Badi is there.But How to pass RT Table data to Badi.

Please send me the solution."Its very urgent requirement"

Regards

Hari

Hi All

I have one requirement in HRABAP. while I was running hincalc0 program(payroll running program) I want to fix Profissional Tax 208/- based on gross salary is greater than 20000(wage type is /101).I am not getting Badi In RT Table data but I am getting RT Table Data in Before going to Badi is there.But How to pass RT Table data to Badi.

Please send me the solution."Its very urgent requirement"

Regards

Hari

10 REPLIES 10
Read only

chaithanya_mk
Participant
0 Likes
1,240

Hi Harihara,

Firstly, I wouldn't suggest you to go for a BADI for this issue.

Instead please create a function in PE04 transaction and then read the RT table and modify the wage type value.

This will be much easier and useful even from functional point of view.

Rewards if useful.

Thanks,

Chaith.

Read only

0 Likes
1,240

Hi Chaith

Thanks for giving fast response.Because I have to face first time this issue.Till now i am not use PE04 tcode.You please send me screen shots about creation of function module using PE04 tcode.

Regards

Hari

Read only

0 Likes
1,240

Hi All

how to transfor the entire person data from one client to another "client or server" using Cross Apps.

Regards,

Hari

Read only

0 Likes
1,240

Hi Chaith

Actually my requirement is particular personnel area under every person is having greater than 20000 /- (Gross Salary- wage type is /101) while i was run hincalc0 program at the time of entering into badi RT table doesnt have /101 wagetype value.First time i was execute hincalc0 with live and then second time run the program at the time of entering into badi RT table doesnt have /101 wage type.

How can i fix the condition based on gross salary of /101 wage type.Please send me to solution about my query.

Regards

Hari

Read only

0 Likes
1,240

Hi,

Creating a Payroll function can be done by a functional consultant, You have only write the code inside this function.

You can either ask functional consultant which one to use or ask him to guide you through to create a function with Input and output parameters as RT table.

Once, this is done click on the 'source text' button on application bar and write the below code.

check for personnel area: p0001-WERKS.

Loop at RT.

if rt-lgart = '/101'.

if rt-betrg > '20000'.

*Condition true, perform required *steps

endif.

endif.

endloop.

I hope this is what your require.

Rewards if useful.

Thanks,

Chaith.

Read only

0 Likes
1,240

Hi

Before coming into payroll function module i am not getting

/101 value because In RT Table value is not there.While i was write a payroll function module even it is not use full.How can i

change that PF Tax about my requirement.

or

If it is posible to convert Hincalc0 program to zprogram and then i have to write about my requirement.Is it possible.Please tell me as early as possible.Because I have more number of requirements while i am not getting execute a hincalc0 program for payroll driver.

major requirement is Seasonal Payroll.

Employees getting full salary onseason only and off season in getting half of the salary only.

Regards,

Hari

Read only

0 Likes
1,240

Carry forward Leaves from 2007 balance leaves to add 2008 quota

Hi

In 2007 sick leave quota is 15 sombody taken in that of 2 days leave.His balance 13 Sick Leaves.

In 2008 Sick Leave quota is 15 .

Actually my requirement is 2008 quota is including 2007 balance leaves.

2008 Sick Leave Quota is 28 ("Actually I want to get this value only)"Carry forward leaves".

But didnt get my requirement in Actuall scenario.While I was executing year ending payroll leaves will not carryforward.

Please send me the solution about my query.This is very urgent Requirement

Regards,

Hari

Read only

Former Member
0 Likes
1,240

Hi Hari,

Follow the instruction..

Creating Customer Specific Functions for HR Payroll

During the execution of payroll, 'Personnel Calculation Schema' (created using Transaction: PE01) is used to calculate the employee's salary. The schema comprises of funtions (created using Transaction: PE04), inorder to incorporate cutomer specific calculation routines during execution of payroll, SAP allows you to create payroll functions in customer namspace (Starting from Y or Z).

Step by Step creation of SAP Payroll Funcitons:

1) Follow the menu path

Human Resources>>Time Management>>Administration>>Tools>>Funtions/Operations

or transaction PE04. Enter a four digit name for e.g ZIABC, and press the create

button, enter the description. On creation the system proposes the name of

the routine use it, or enter a name of your choice by selecting the option 'Self-defined'.

2) During the execution of payroll some tables are filled with wage types and there amounts

to make these tables available to your routine enter the name of the table for e.g (RT or

CRT) in the input parameters, and to make the changes done to the data in the tables

avaiable to the payroll enter the name of the table in the Output parameters as well.

Input Parameters

-


Ctry Num Object Name

-


99 1 RT

99 2 CRT

and same shall be done in the Output Paramters if required.

3) Create an include in the program PCBURZ990 (using Transaction:

SE38), in which create a subroutine with the name supplied by SAP or the

name selected by you during Funtion creation,

in our case, it is FUZIABC.

Note: The program PCBURZ990 is in SAP Namespace, so an Access Key

will be required before you can proceed. But it will not be overwritten during any upgrade.

*Example of the subroutine

*----


FORM FUZIABC.

*enter the code

ENDFORM.

4) After this activate the program the Funtion and add it in the schema used for payroll processing.

Award Points if its useful.

Read only

0 Likes
1,240

Hi Experts

Can you please send abaphr technical questions or websites.

Regards,

Hari

Read only

chaithanya_mk
Participant
0 Likes
1,240

Hi Hari,

Please follow the below steps:

1: go to PE04.

2. Create a function ZXXXX.

3. Click on source code button on the applicaiton bar.

4. A include will be create where you have to read the RT table and check if the wagetype amount is greater than 20000.

5. Once the check is done proceed further.

6. Provide rewards if useful

Thanks,

Chaith.