Skip to Content
Former Member
Oct 13, 2006 at 06:11 AM

Dynamic action on IT0035 to create data in IT0171 - URGENT


Dear HR-ABAP Gurus

I am new to HR Programming and I am in a situation to achieve the following.

Through a subroutine pool program ZSUBPGR:

1. Based on the personnel number, start date and end date of the IT0035 subtype ‘9SOP’ created, program shall retrieve the corresponding IT0171 records.

If records are found, they need to go into an internal table.

2. Determine the start and end dates of IT0171 records, which overlap with the IT0035 period. Once determined, proceed to create the IT0171 records changing P0171-BENGR of the record to ‘OVRS’ for the overlapped period.

This will end in creation of records in IT0171.

Please help me out by giving some valuable guidelines/sample code towards its resolution at your earliest.

Thanking you guys in advance... Cheers