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.
Showing results for 
Search instead for 
Did you mean: 

Help with userexit_save_document

Former Member
0 Kudos

I create a new tab in sales order head information called addational data .and i put a component named 'add_address' . My problem is when I click the save button. the 'add_address' will be saved default value when it is initial. otherwise, it will be saved with input value.

Now what I do is :

Form userexit_save_document.

if xvbak-zz_address is initial.

xvbak-zz_address = 'defalut address'.



but it didn't work...

anyone can help me?


Former Member
0 Kudos


You need to populate the updkz field of XVBAK structure to 'I' Insert or 'U' update.



0 Kudos

Bhanot ;

thanks for your advice.

but I did it in Call function 'mcv_statistics_order' after.

in call function 'mcv_statistice_order', the exporting xvbak is what i expected ,xvbak_updkz is 'u' but when the program finished. the table values is still not changed.

0 Kudos

Maybe I got the answer.

vbak and vbap is not additional tabels .So I think I should use userexit_save_document_prepare instead of userexit_save_document.

Former Member
0 Kudos


I needed to find an user exit for FV60 transaction code,

tried everything that was listed thru SMOD.

Has anyone done this before....

If so, would really Appreciate your input

Thank you