Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding update work process

Former Member
0 Kudos

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

5 REPLIES 5

kakshat
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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??

0 Kudos

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

Former Member

raymond_giuseppi
Active Contributor
0 Kudos

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