cancel
Showing results for 
Search instead for 
Did you mean: 

Generic datasource and implicit "commit work"

lakshminarasimhan_n4
Active Contributor
0 Kudos

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)

Accepted Solutions (0)

Answers (1)

Answers (1)

matt
Active Contributor

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.