on 02-23-2010 6:13 PM
Hi,
I have written some code to update a bespoke table.
The class used is based on interface IF_SWF_IFS_WORKITEM_EXIT (workflow exit)
The issue is that my code is getting called too early before the updates have been made to the database tables, what I want to do is use a perform on commit, this of course can't be done in OO programming.
So I've written 2 function modules
The first FM carries out a perform on commit and variables are exported to memory
The second FM is called in update task, and the variables are imported from memory. The aim is that the database table will be updated at this point.
I have debugged the class and I can see that a commit is called however my update is not happening and when I switch on update debugger my second FM is not triggered.
Not sure what I'm doing wrong, is there another way of doing the update in OO rather than use a perform on commit i.e the old way!
Any help will be appreciated
Regards J-J
called FM starting new task and worked a treat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.