Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2740

Re: FM for delimit the infotype record

$
0
0

Hi Terry,

I'm trying to delimit infotype 0170 when I try using the DEL with and putting the one day after the delimit date into the BEGDA but keep getting the error message change before earliest retro. date 01012016 acc. to control rec.  From my understanding we can not have these items go back to retro.

The current begin date in record is 09012015 end date of 12319999.  Trying to delimit to date of 04302015.

 

Do you know a way around this?

 

Thanks for any help,

Wendy

 

After doing some further looking and searching ended up using the FM 'HR_BEN_DELETE_SPENDING_PLANS'  This allows you to delimit without effecting retroactive.
Code:

     CALL FUNCTION 'HR_BEN_DELETE_SPENDING_PLANS'

          EXPORTING

               spenda_selection = spenda_selection

               nocommit = ' '

               reaction = ' '

          IMPORTING

               return = g_return

               subrc = subrc

          TABLES

               error_table = error_tables2.

 

Note: the spenda_selection begda = the delimit date + 1

          the spenda_selection endda = current end date example 12319999

          the spenda_selection-del_bplan = 'X'

          fill the other fields such as pernr, pltyp, etc.


Viewing all articles
Browse latest Browse all 2740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>