cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement delta logic in FM based extractor?

Former Member
0 Kudos

Hi,

I am currently working on a generic data source creation based on function module. I have created a function module (copying the standard one) and created a generic extractor, which is now extracting full update. Although this extractor is fetching data from different tables, the base table is MBEW and I have a date field which I could use for delta in generic delta. I have given this field as calday in generic delta.

This is the first time I am working on a function module based extractor and I am really confused on how to implement the logic for delta in the function module. Currently, I am working with an ABAPer for writing the code but I have to explain them the logic for delta. Can anybody help me on how I should implement the logic for delta in the FM using the date field in MBEW?

Thanks a lot for your time. Request your valuable support.

Sanjana

Accepted Solutions (0)

Answers (4)

Answers (4)

prem_shanker
Participant
0 Kudos

Hi,

You can use the below PDF, this is for How to create Delta Enable FM based Datasource based on one or two date Fields

https://archive.sap.com/kmuuid2/30f1a423-02ae-2e10-bd85-bde64e61fe7b/Functional%20Module%20Based%20D...

Thanks

Prem

0 Kudos

any date or timestamp field would be sufficient to enable the delta. You can use numeric pointer as well if key field value is always set to be in incremental order.

Regards,
Md.Ekram

former_member188080
Active Contributor
0 Kudos
former_member188080
Active Contributor
0 Kudos

Hi ,

You can create a data source in RSO2 and make it delta enabled on timestamp based on the code provided in the following doc and modify it accordingly to work for timestamp.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8...

It is working as it seems.

Generic datasource with functional module

Thanks and regards

Kiran