Skip to Content
author's profile photo Former Member
Former Member

Generic extractor

Hello Gurus,

Can we add logic(ABAP code) while creating a view or a infoset based generic extractor. Or is it possible only in a function module extractor?

I am trying to build a generic extractor on fields coming from 3 tables mainly but need to put in some logic for some fields coming from a 4th table.

Thanks,

Anirudh

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2006 at 07:46 PM

    You cant have code while creating generic datasource by view.. or table or infoset.. you need to do this in Function module extractor..

    Regards

    Manga (Assign points if it helps!!)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 13, 2006 at 08:10 PM

    Hi:

    If the logic is simple to use in selection conditions, you can write that in the View.

    I myseld never did it, but I guess its easier to create a DataSource based on IndoSet Query than a function module, so you can try the former.

    Ram C.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2006 at 08:25 PM

    Function module for an extractor is not that complex. really 😊

    However, if you do not want to do anything with an FM extractor, you can do a view based extractor on the three fields, and enhance the extract structure with 4th table's fields and write the code for fetching values for those fields in the extractor user-exit (not a good idea really).

    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.