Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Validation of partner change in VA01/VA02

$
0
0

Dear all,

 

I have to implement a kind of validation for the change of the ship-to party in a sales order. Whenever a user changes the ship-to party, a check has to be performed and if conditions have not been met, the ship-to party has to be set back to the old value.

 

I'm trying to place my coding in USEREXIT_MOVE_FIELD_TO_VBAK. However, it doesn't work quite as expected. If the value has to be reset to the old one, I'm entering the old one into the structure xvbpa, but it doesn't seem to have any effect. The value on the screen remains the one entered by the user and not the old value I'm setting it back to.

 

What am I doing wrong!

 

Thank you for any suggestions!

 

Alexander.


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>