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

VA01 user exit , update value

Former Member
0 Likes
1,322

hi..

I need to copy a value in header to, item level, that is after highlighting the lineitem goto --> item --> more functions --> additional data A --> Material Grp 4

this should occur at the sales order creation stage..

I tried in USEREXIT_SAVE_DOCUMENT the following but this doesn't seem to work.. Any ideas pls ? thanks

loop at xvbap.

xvbap-mvgr4 = vbak-j_3akvgr7.

modify xvbap.

endloop.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,147

Hi,

U'll get all user exits in MV45AFZZ.

try USEREXIT_FIELD_MODIFICATION .

I've used it to modify some fields & its working.

hi..

I need to copy a value in header to, item level, that is after highlighting the lineitem goto --> item --> more functions --> additional data A --> Material Grp 4

this should occur at the sales order creation stage..

I tried in USEREXIT_SAVE_DOCUMENT the following but this doesn't seem to work.. Any ideas pls ? thanks

loop at xvbap.

xvbap-mvgr4 = vbak-j_3akvgr7.

modify xvbap.

endloop.

6 REPLIES 6
Read only

Former Member
0 Likes
1,147

as it is SD related u have to use MV45AFZZ...This has various routinues inside...Check the appropriate one and use it...

Read only

Former Member
0 Likes
1,147

Which field value from header are you interested to copy ? Vbak-j_3akvgr7 ?

Thanks,

Ashish

Read only

0 Likes
1,147

Yes.

Read only

0 Likes
1,147

What is the field label for that ?

Ashish

Read only

Former Member
0 Likes
1,148

Hi,

U'll get all user exits in MV45AFZZ.

try USEREXIT_FIELD_MODIFICATION .

I've used it to modify some fields & its working.

Read only

0 Likes
1,147

Thanks....... It worked