cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine an Employee with an Hourly Rate

Former Member
0 Kudos

Hi,

I want to hear suggestions on how to determine if an employee has an hourly rate aside from looking at the Employee Subgoup... Thanks in advance!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

USe the following Function module :

Get the latest records from infotypes 1 , 7 , 8 and 230.

move p0008 to g_pnnnn.

PTBINBW is an internal table of type PTBINBW,

fill the following fields:

LGART , BETRG , WAERS , IND01 , ANZHL from P0008

and MODNA from T511-MODNA.

CALL FUNCTION 'RP_EVALUATE_INDIRECTLY'

EXPORTING

APPLI = 'M'

PBEGDA = p0008-begda

PINFTY = '0008'

PMOLGA = MOLGA

PTCLAS = 'A'

PPERNR = PERNR

PP0001 = P0001

PP0007 = P0007

PP0008 = P0008

PP0230 = P0230

PPNNNN = G_PNNNN

MSGFLG = 'P'

NORDCT = ' '

CONV_CURR = ' '

IMPORTING

PENDDA = p0008-endda

TABLES

PTBINDBW = PTBINDBW

Hourly rate = PTBINDBW-BETRG.

Try this.

Former Member
0 Kudos

Thanks so much lanka...!