Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Best Practice: Delimiting Infotypes

Greetings, SAP Experts!

I'm relatively new to ABAP/SAP so the way I'm doing this may not be ideal. Here's how I'm doing it but I'm curious as to whether there is a standard function module or better practice for delimiting a plan.

1) I'm reading the active 167 record

2) I'm getting the new begda from my input file and I'm changing the endda of the current record (soon to be the "old" record) by making it: endda = {effective-date-of-new-plan} - 1 day.

3) I'm doing a "MOD" operation via HR_INFOTYPE_OPERATION to update current 167 (changing the ENDDA)

4) I'm adding the new 167 record with begda = date in my file, endda = 99991231.

This is working fine but I just want to make sure there's not a better way.


Former Member
Former Member replied

Hi Steve

Instead of calling the FM twice first to change endda then crete new if time constraint of Infotype is 1 then you directly create a new record with begda as new date endda as 31.12.9999 and operation as INS, the old record would be automatically deleimited.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question