‎2007 Apr 26 11:28 PM
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.
‎2007 Apr 26 11:51 PM
Hi,
Use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ..
Try using XVBPA to change the ship-to..
Thanks,
Naren
‎2007 Apr 26 11:51 PM
Hi,
Use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ..
Try using XVBPA to change the ship-to..
Thanks,
Naren
‎2007 Apr 27 12:21 AM
‎2007 Apr 27 12:29 AM
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
‎2007 Apr 27 12:59 AM
Hi,
you can use the variables/internal tables in the top include MV45ATOP..
Thanks
Naren