12-11-2012 1:21 PM
Dear abap ers ,
i use a update fm (V1) for update purpose in a report.
call function zupdatev1 in update task
exporting.
p_x =
p_y =
.
commit work and wait.
after execution of 'commit work and wait' statement it ends current database LUW and also ends dialog workprocess and calls a v1 update workprocess and creates a new db luw.
in this case some db tables used like vbhdr, vbmod, vbdata , vblog.
actually, i want to know what is the important roles of these db tables in update work process???
best regards,
Sabyasachi
Moderator Message: Mechanism of Update WPs is well documented in the SAP online documentation, please go through that. Un-marked as question.
Message was edited by: Suhas Saha
12-11-2012 1:47 PM
Hello Sabyasachi,
As you might know, unlike normal function modules, update function modules are not called immediately. If you call a function module in update task, it is registered by the system for later execution. The execution is triggered when a commit happens. The VB* tables are used for the purpose of registering update function modules. They store all data (like name of FM, data to be passed) which are required for later execution of the update function module.
Regards,
KA
12-11-2012 2:58 PM
Hi Kumar,
after searching some times in GOOGLE i found that vblog vbdata vbmod are used for registering (update fm name, the data ) but vbhdr is not for that.....description of this table is Update header. can you give some idea about this??
12-12-2012 4:13 AM
Even VBHDR is used for the same purpose. You can have a look at the fields it has and you will know. Some of the fields in the table are:
VBKEY - Key for update and enqueue/dequeue
VBMANDT - Client for update request
VBUSR - User name in update request
12-11-2012 2:00 PM
Hi Sabyasachi,
refer this
http://help.sap.com/saphelp_nw04/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/content.htm
Regards.
12-11-2012 2:40 PM
Before posting here, look (google, scn search tool or http://service.sap.com/xsearch) at SAP online documentation help.sap.com for documents like Update Request, here you will find the table definitions. (Read the Rules of Engagement.)
Regards,
Raymond