Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TABLE_FREE_IN_LOOP Error during payroll execution

Former Member
0 Likes
655

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.

3 REPLIES 3
Read only

Former Member
0 Likes
548

I am also having this exact same problem,

i'm using this function in a BADI implementation.

Read only

Former Member
0 Likes
548

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

Read only

0 Likes
548

Hi, I am finding the same error,

Can any one help on the solution?

King Regards,

Fernando