Application Development and Automation 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: 
Read only

update vbap table

Former Member
0 Likes
1,264

Hi All,

I added same zfield to vbak and vbap table and added those

fields to va01 screen.

My requirement is that if the user enters any data in the header

field that field should be copy into the item field.

I wrote the code in Userexit_move_vbak.

It was updating vbak table but it wa not updating vbap table.

Can any one suggest when wil the vbap table will update.

6 REPLIES 6
Read only

Former Member
0 Likes
780

Ram,

the same thing you need to do in FORM USEREXIT_MOVE_FIELD_TO_VBAP from MV45AFZZ as you did for VBAK.

Amit.

Read only

0 Likes
780

HI,

I tried it in that userexit also.But is ws not working.

Read only

0 Likes
780

try to See in debug wehter your code getting execute or not.

else post your code

Edited by: Amit Gujargoud on Aug 21, 2008 7:37 AM

Read only

0 Likes
780

HI Amit,

In debugging am getting all the values.But when I come from

degubing. when i checked the vbap table this entry doesnot exist.

Read only

0 Likes
780

Post the code of USEREXIT_MOVE_FIELD_TO_VBAP and some can help you out.

Read only

Former Member
0 Likes
780

Hi,

I am facing the same prob when updating Z fields from VA01 transaction.

If you found the solution then can you please share the same.