05-15-2007 4:12 PM
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.
05-17-2007 7:31 AM
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
05-15-2007 4:21 PM
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.
05-15-2007 4:37 PM
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
05-15-2007 4:43 PM
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.
05-17-2007 7:31 AM
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