Skip to Content
0

Generic datasource and implicit "commit work"

Apr 12, 2017 at 05:39 PM

50

avatar image

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)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Matthew Billingham
Apr 12, 2017 at 08:54 PM
1

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.

Share
10 |10000 characters needed characters left characters exceeded