Skip to Content

Delta logic for FM based data source

Dear Experts,

I have searched many threats for creating generic data source based on Function module logic and I have one major doubt in that.

1.Do we need to write delta logic also in Function module.what will happen if we add delta field in FM.

2.While creating datasource based on FM(delta logic also maintained) do we maintain again generic delta in data source like safety interval's.if yes, why we need to maintain 2times.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2016 at 07:51 PM

    You have to maintain generic delta and field name in Data source so that system can understand which field from your DS structure will be delta relevant. Suppose you want Changed date to work as delta field you need to define this while configuring generic delta in DS. This field will work as a selection criteria and the values will be passed by extractor.

    For ex you did a delta on 10th and requested a fresh delta on 15th , During run time the extractor will pass a date range of 10th - 15th to delta relevant field as selection criteria.

    Now you have to fetch the records using the selection criteria in the FM code with a Select statement.Before writing the select you should transport the selection criteria from delta field to a range table, this is compulsory from Abap perspective.

    Moreover there are other important steps like checking DS , opening the cursor , increment the data package etc that must be performed in FM code .

    I suggest go through documents on FM extractors for fundamentals.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.