ABAP Dump due to RFC Function module call in another thread
I am facing some problem since yesterday. In one of my executable program I am calling a RFC fm as below mentioned
CALL FUNCTION 'Z_XXXXXXXXX'
STARTING NEW TASK L_NAME
DESTINATION IN GROUP 'TASK'
PERFORMING RETURN_INFO ON END OF TASK
P_exp1 = l_emp
R_VBELN = r_it_vbeln
NO_DATA_TO_PROCESS = 1
OTHERS = 2.
wait until v_task = 1.
Due to some data inconsistence one of the SAP function
module which I am calling in my function module Z_XXXXXXXXX
is generating dump with message type X. Since there is data inconsistence it is generating dump that's OK.
But the problem i am getting is, report ZREPORT is generating dump at WAIT statement saying illegal statement even though I am calling that function module
Z_XXXXXXXXX as a separate new task.
Can somebody help me.