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

Problem reading retro accouting records

Former Member
0 Likes
615

Hi,

I want to bypass the retro processed records from the payroll result, for the pernr.

How to find check for the retro records?

Thanx in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
582

Hi Heena,

For retro periods, the FOR PERIOD and IN PERIOD will be different. Hence you may select only corresponding records or after selecting all, you may remove from your itab.

Regards,

Amit Mittal.

Hi,

I want to bypass the retro processed records from the payroll result, for the pernr.

How to find check for the retro records?

Thanx in advance

3 REPLIES 3
Read only

Former Member
0 Likes
583

Hi Heena,

For retro periods, the FOR PERIOD and IN PERIOD will be different. Hence you may select only corresponding records or after selecting all, you may remove from your itab.

Regards,

Amit Mittal.

Read only

0 Likes
582

Thanks for the reply. See I am fetching the RGDIR and then now would apply the criteria on loop for RGDIR.

Right?

Is there any FM do the same?

thanx in advance.

Read only

0 Likes
582

Hi again,

Yes. To keep it simple, we can do like this also.

(we can remove records from RGDIR from our internal table and keep only those which have same periods).

eg. like this

where itab contains records from HRPY_RGDIR.



loop at my itab.

if itab-FPPER NE itab-INPER.
 delete myitab.
endif.


endloop.

Regards,

Amit Mittal.