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: 

VA01 - user exit to do field modification

Former Member
0 Kudos

I have need in VA01, where in I need to

1. Move a z field into vbap-ntgew (shipping tab) on the line item. this should happen during create. user tabs to shipping tab from additional data b in line item

2. move the z field value to vbap-ntgew during save. i am able to do this for va02 in user_save_document_prepare. But in VA01, i tried modifying xvbap and giving the updkz field as 'U' and 'I', still does not work.

any pointers will be appreciated.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Could you please tell where is NTWEG in Additional data B in VA02.I could not find the field there?

Thanks and Regards

Davinder Singh

4 REPLIES 4

Former Member
0 Kudos

Hi,

You can write the code in subroutine USEREXIT_MOVE_FIELDS_TO_VBAP in MV45AFZZ.

  vbap-ntgew = ztable-field.  

It works for both VA01 and VA02.

Regards

Sailaja.

0 Kudos

It did not work for me. I had tried that. For VA02 as I had said, it works for me. I have the code in save doc prepare.

thanks anyways for ur time

0 Kudos

Hi Swaroop,

I did the same requirement in my project.

I have written code in USEREXIT_MOVE_FIELDS_TO_<b>VBAP</b>.

Check if the select on Z table is fetching data or not.

Regards

Sailaja.

Former Member
0 Kudos

Hi

Could you please tell where is NTWEG in Additional data B in VA02.I could not find the field there?

Thanks and Regards

Davinder Singh