cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Custom function in I_TH_REF_DATA

Former Member
0 Kudos

Hi All,

I have a custom function where I have implemented interfaces IF_RSPLFA_SRVTYPE_IMP_CHECK & IF_RSPLFA_SRVTYPE_IMP_EXEC_REF. In method GET_REF_DATA_SEL I could specify the selection criteria to read reference data and system does read the reference data specified in E_T_REF_CHARSEL table. When I go to ADD_NEW_BLOCKS method I can see the reference data in I_TH_REF_DATA table but when control reaches to EXECUTE method I_TH_REF_DATA becomes empty

Can anyone suggest what did I miss here which lead me to this problem?

Regards,

Deepti

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved by self.

jennychen1
Participant
0 Kudos

Hi, Deepti:

I got some issue similar to this. Would you please let me know how you solved this problem?

Thanks!

Jenny

Former Member
0 Kudos

Hi Deepti,

the planning function is executed in blocks. So the data and reference data is split up into blocks (and for each block the execute method is called). The blocks are defined based on the characteristic values for the fields not to be changed.

It looks like you are working on a block for which no reference data has been found. Can you check this.

Regards Matthias