cancel
Showing results for 
Search instead for 
Did you mean: 

Function module based generic extractor not pulling records at the end

Former Member
0 Kudos

Hi Experts,

I am working on a function module based generic datasource where in I am able to correctly populate the data in E_T_DATA till the end. But at the end when I run extraction in RSA3 or run Infopackage in BW, I get 0 records due to some problem. I am really not sure what particular thing I am missing here ? I have debugged the code many time but I could not get through.

This is 'Full update mode' generic datasource.

Can you please help ?

Thanks,

Romil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Varaprsad,

Thank you for your time and help to answer this question.

I had made a mistake in one of the if...elseif..endif statement in my code.Because of this every time at the end of code execution, I got 0 records but after correcting the code, I got my required output.

Thanks,

Romil

Answers (1)

Answers (1)

former_member269156
Active Participant
0 Kudos

Hi,

It seems you are missing ELSE. “Initialization mode or data extraction ? part as explained in following blog.

https://blogs.sap.com/2005/09/29/generic-extraction-via-function-module/

Thanks,

Raju