04-21-2009 10:55 PM
Hi,
In my case, I have written a BADI and in it's method I will be updating a custom table. In the earlier approach I was updating the custom table in a function module which was invoked in update task as
CALL FUNCTION 'Z_XXX'
IN UPDATE TASK
EXPORTING
...
...
Do we have a similar update task concept w.r.t class methods ? So that whatever i have written in the FM I will copy into the method but that code must execute in update task !!
thks
04-21-2009 11:05 PM
Hi,
I dont think we have similar option using class methods.. can you please tell us when this BADI is triggered ?
my suggestion would be you can call the same function module inside the method instead of writing the whole code .
method update.
call function in update task.......
endmethod.
Regards,
KK
04-21-2009 11:05 PM
Hi,
I dont think we have similar option using class methods.. can you please tell us when this BADI is triggered ?
my suggestion would be you can call the same function module inside the method instead of writing the whole code .
method update.
call function in update task.......
endmethod.
Regards,
KK
04-21-2009 11:34 PM
Thanks Krishna, I too thought of the same initially but this looks like too many layers involved...
BTW, I came across a document in SAP help,
http://help.sap.com/saphelp_nw04/helpdata/EN/fa/f23c15330411d5992100508b6b8b11/content.htm
Any idea on this ? Will this be of any help ?
thks