partner determinition in va01
I need help in user exit coding i.e. the requirement is like this.
Exit is EXIT_SAPLV09A_004.
After entering the sold to party in VA01,one pop up comes when we press enter.
In that pop up we can see SH,BP,PY.From that if we select SH and that SH having account group 'zjst' then that default values of BP, PY should be override with that SH partner selected.
And also user not be able to enter any values in that BP,PY after overriding.
do we need to modify userexit_save_document_prepare .If how can we do that whole thing.
Pls help me in this.