‎2010 Jun 14 6:19 AM
hi grus,
i used a function module RP_FILL_WAGE_TYPE_TABLE in indirect valuation module for wage types in infotype 15 to read current data of infotype 8. it is working fine for infotype operations but during payroll execution i m getting an error of TABLE_FREE_IN_LOOP. kindly suggest me how to solve this problem as soon as possible.
161 * IF PP0015 IS REQUESTED.
162 IF CALL_BY_EXT = FALSE AND PP0015 IS REQUESTED OR "N0210677
163 CALL_BY_EXT = TRUE AND PP0015_REQUESTED = TRUE. "N0210677
164 P0015 = PP0015.
>>>>> P0015[] = PP0015[].
166 ELSE. "N0210677
167 CLEAR P0015. "N0210677
168 REFRESH P0015. "N0210677
169 ENDIF. "PP0015 IS REQUESTED.
‎2011 Mar 02 2:08 PM
I am also having this exact same problem,
i'm using this function in a BADI implementation.
‎2011 Mar 02 11:46 PM
Hi Waheed,
Did you check OSS?
The following notes look promising to me in the sense that they are related to the HR module. Since I do not have much experience in this module, it is hard for me to judge if they are relevant or not. However I can imagine that a payroll run will perform a lot checks and therefore invokes a lot of other objects.
[Note 919345 - Function QUOTA: Program termination|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=919345]
[Note 962641 - QUOTA function: Program termination II|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=962641]
Kind regards,
Robert
‎2015 Oct 08 3:42 PM
Hi, I am finding the same error,
Can any one help on the solution?
King Regards,
Fernando