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

User exit-SD

Former Member
0 Likes
857

Hi All

Whenever the user saves the sales order, based on some condition I need to change the ship to number based on some condition.

Which user exit should I use ? I also need to change the shipping condition field , Can both of these changes be done in the same user exit? I think the shipping condition field is available in xvbap, but how can I change the partner number.

Rgds,

Ajay

p.s points will be awarded for the right answer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
772

Hi,

Use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ..

Try using XVBPA to change the ship-to..

Thanks,

Naren

4 REPLIES 4
Read only

Former Member
0 Likes
773

Hi,

Use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ..

Try using XVBPA to change the ship-to..

Thanks,

Naren

Read only

0 Likes
772

Thanks Naren. Point Awarded full

Read only

0 Likes
772

Naren & All,

One question though, how do we identify which internal tables or variables are available for change in a user exit. I have heard about some stack , but don't know anything more about it.Any inputs on this highly appreciated. Like with experience I knew I need to modify xvbak or xvbap but how can I be sure.

Regards,

Ajay

Read only

Former Member
0 Likes
772

Hi,

you can use the variables/internal tables in the top include MV45ATOP..

Thanks

Naren