Application Development 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: 

reading only customer or modal wage type from rt

Former Member
0 Kudos

Hi expertise,

I need youe help regarding reading only customer or modal wage type

from rt. in sap payroll.

Regards.

Priyaranjan

3 REPLIES 3

venuarun
Active Participant
0 Kudos

Hi,

    Use these two function modules to get the wage type from Rt Table

  FM 'CU_READ_RGDIR'  -> to get the sequence number we use this function module .

FM 'PYXX_READ_PAYROLL_RESULT'

That sequence number is passed over here

regards

Arun VS

Former Member
0 Kudos

I am getting result in rt. but again i need to filter only customer wage type.

no need to display technical wt.

venuarun
Active Participant
0 Kudos

Hi Priyaranjan

You just loop your result table like this

LOOP AT it_result-inter-rt INTO wa_rt.

Case  wa_rt-lgart. ---> Wage type

When 'Give your Wage type'.

Gwa_output_customer Wage = WA_RT-BETRG.

Endcase

Endloop.