Skip to Content
0
Former Member
Sep 14, 2005 at 08:01 PM

Generic extractor behaving funny

37 Views

Hi,

I need to extract some Z-tables to BW, for which I have to make a generic extractor using a function module.

All the examples I have seen so far use function module RSAX_BIW_GET_DATA_SIMPLE as an example, but I need something more advanced, to be able to detect whether a delta repeat is requested etc.

Therefore I thought I could use RSAX_BIW_GET_DATA as an example. I made a copy and put my own code in it etc. Then I created a generic datasource based on aforementioned FM.

When performing a Full-load test in RSA3 I got the error "update mode not supported by extraction API".

In the debugger I saw that it used the simple interface to talk to my FM; this interface does not pass a required parameter I_ISOURCE.

I found out that in table ROOSOURCE the extraction type was set to F2 (FM with simple interface). However, my function is a copy of RSAX_BIW_GET_DATA, which should be of type F1 (FM with full interface).

What did I do wrong and how can I create a generic datasource implementing the full interface?

Interesting fact maybe:

A quick hack -I set the extractor type to F1 manually in ROOSOURCE- was convincing enough for RSA3, but was insufficient to get things going for BW.

And besides, I cannot believe SE16 is the SAP-approved-way-to-get-extractors-working 😊