cancel
Showing results for 
Search instead for 
Did you mean: 

Function modules transfer repeated records in Generic data source

Former Member
0 Kudos

Hello Friends ,

I have created a FM to extract the data from fields of tables BKPF and BSEG .

This functional module is used in the Generic data source.

Now if I check in RSA3 for this Generic data source,

the records are coming 10 times instead of a single time.

Means one records at data base table is showing ten records in RSA3.

Any help please.

Regards,

Amol.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amol,

Can you please check the Fetch statement that you are using after opening the cursor and selecting data into it. It should be in the format below.

FETCH NEXT CURSOR S_CURSOR APPENDING CORRESPONDING FIELDS OF TABLE E_T_DATA PACKAGE SIZE S_S_IF-MAXSIZE.

Also are you incrementing data package ID or not by using the statement

S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.

Regards,

Prakash B

Former Member
0 Kudos

Hi Amol,

are you the same person or just doing the same stuff accidentially? Have a look here:

regards

Siggi

Former Member
0 Kudos

Hello ,

I have already added the Clear statement in the FM.

Regards ,

Amol.