cancel
Showing results for 
Search instead for 
Did you mean: 

Generic Delta Extraction using Function Module not working in Replication Flow

AlexF_ukr
Discoverer
0 Kudos
227

Hello experts,
tell me how to fix custom Data Source in ECC so that Replicatin Flow works in Initial and Delta mode. 

Сustom Data Source in ECC created according to instructions
Generic Delta Extraction using Function Module alo... - SAP Community

In DataSphere error:

AlexF_ukr_0-1744359254888.png

 

Thanks)

SAP Datasphere 

 

View Entire Topic
maggie_yi
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Alex, If your custom datasource doesn't have a key field (in table ROOSFIELD, no field has 'KEYFLAG DS = X'), then this datasource is only possible for load type initial only just as mentioned in the popup. If you want to enable delta for this datasource, you may append a field called PRIMARYKEY with rollname = PRIMARYKEY. Em... you may refer to the details in Note https://me.sap.com/notes/0003587890. In case you want to use a CDS view, please also check Note: https://me.sap.com/notes/3527268 Regards, Maggie
AlexF_ukr
Discoverer
0 Kudos

I added the PRIMARYKEY field but I don't have the PRIMARYKEY data element so I chose another one. The result is still the same error in Replication FLOW

AlexF_ukr_0-1744462388305.pngAlexF_ukr_1-1744462502762.pngAlexF_ukr_2-1744462562029.pngAlexF_ukr_3-1744462601559.png

 

michal_majer
Active Participant
0 Kudos
Hi Alex, Table / Data Source need to have defined Primary Key (not the filed with that name, but field(s) combination that will specify key. If it's not defined You have to use Initial Load or use Data Flows.
AlexFil
Newcomer
0 Kudos
The question is how to define this Primary KEY for the extractor on FM? Perhaps you can suggest a standard Badi or T-code so as not to make a custom ABAP