cancel
Showing results for 
Search instead for 
Did you mean: 

Function RFRSH has an incorrect value for parameter 2 - Error

jjoseph
Explorer
0 Kudos

Please see the attached image schema K2EN. I am trying to refresh AIT internal table to copy RT results. The schema is not passing syntax check. It seems to me a very simple RFRSH call. AIT can be sued as parameter as per documentation.

Not sure why it is throwing error.

Accepted Solutions (1)

Accepted Solutions (1)

ted_dinh
Active Contributor
0 Kudos

Looks like parameter 'AIT' can be used in 'RFRSH' payroll function only for Japan, and not CA nor US payrolls (by going into the logic of the function).

It would be nice if SAP mentions this in the function documentation.

RFRSH with parameter 'ALL' will refresh AIT along with other internal tables which probably is not what you want. If you really want to just refresh AIT, you may have to write your own custom payroll function.

jjoseph
Explorer
0 Kudos

Thank you very much Ted. In hindsight, I should have checked the code myself... I totally agree that SAP should have mentioned it in documentation. I wonder why a utility function like RFRSH should be limited to certain country versions...

Answers (0)