Skip to Content

Generic datasource and implicit "commit work"

Hi,

I have created a generic FM, to pull data from ECC to BW system. Within the generic function module I need to call another function module,this function module which I call, has the statement "SUBMIT" within it and this submit calls a report to derive data. Because of this "SUBMIT" I think "implicit commit " occurs, due to which the cursor gets closed. So the "fetch cursor" statement ends up to dump file.

Is there any way to overcome such scenario? (I cannot avoid calling Function module which in turn calls the "Submit" statement)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 12, 2017 at 08:54 PM

    Call the second function module in a new task. (Read the F1 help of the various additions to CALL FUNCTION). Or rewrite your extractor so that it doesn't call the submit within the cursor.

    Btw - in some scenarion an extractor works fine when run from BW, but dumps due to commits in RSA3 (e.g. with parallel processing). You might want to test that.

    Add comment
    10|10000 characters needed characters exceeded