‎2010 Jun 18 8:43 AM
Hi,
I read SAP document saying that if we call an update function module like
CALL FUNCTION <FM_NAME> IN UPDATE TASK.......
we can have a log of parameters passed to the function module in VBLOG table.
I Created an update FM and I am passing parameters and inside that I am updating a customized table.
But, When I debug control never goes into that FM source code and the table is not updated.
What may be the reason.
Thanks and regards,
venkat
‎2010 Jun 18 8:59 AM
Did you understand the concept of update function modules at all ?
The call to the update FM is logged in the table VBLOG along with the actual parameters.
The actual processing starts after the COMMIT WORK statement. Read the SAP documentation thoroughly, it is explained in a very simple manner there. [http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_UPDATE.htm]
BR,
Suhas
‎2010 Jun 18 8:59 AM
Did you understand the concept of update function modules at all ?
The call to the update FM is logged in the table VBLOG along with the actual parameters.
The actual processing starts after the COMMIT WORK statement. Read the SAP documentation thoroughly, it is explained in a very simple manner there. [http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_UPDATE.htm]
BR,
Suhas
‎2010 Jun 19 10:46 AM
Hello venkat,
The update function module is executed in a different work process other than your current program.You can write a COMMIT WORK in your current report to trigger it. If you want to debug the update function module, enable the check box " update debugging", after that you can reach the breakpoint you set in the function module.
Best Regards,
Jerry