cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Datasource using Function module

Former Member
0 Likes
2,567

Hi All,

I have created a datasource to extract data through Function module.When i run the Function module independandtly in Tcode SE37 it is giving me the exact result.But when i check the data in RSA3 extract checker i can find that the data is totally not matching.

For ex in se37 when i executed the function module i could get the output as 32 entries.

But in RSA3 i get it as 320 . i.e 10 datapackets with 32 entries.

RSA3 output.

DataPa Record

     1     32
     2     32
     3     32
     4     32
     5     32
     6     32
     7     32
     8     32
     9     32
    10     32

* Tota    320

Can someone tell me whether i am doing something wrong.What do i need to do to get the same ouput in RSA3 as SE37 output.

Thanks in advance for you valuable suggestions.

Regards,

kumar

View Entire Topic
Former Member
0 Likes

you def got duplicates, the way rsa3 works that it loops through the statement, do this in rsa3 change the numbers from100 to 1000 and run it you will see 1 file with duplicates records. you will need to write code not to make it loop. put a break pointing your abap  code of your function module and run rsa3 on 1 record and see how its duplicating. and code around it

Former Member
0 Likes

Hi All,

If i run it in RSA3 by changing the display call as just value 1i am able to get the exact result as SE37 output.

But when i run the infopackage in BW to extract the data from R/3 system then the job keeps running and the records are getting added.The job doesnt stop at all.Any suggestions.

Kumar