Hi
we have a typical scenario where the <b>my sales order(va01)</b> is acepting two currency.
i want my sales order have only one currency.
for eg.
v r goin 2 maintain IDR.
if i try 2 enter INr, it should not save,
but Now its saving...
i need the user exit . & guide hw to solve this probs.
can you help me out....
Try to check the user exit program MV45AFZZ.
You can use the form USEREXIT_MOVE_FIELD_TO_VBAP.
Here you can check the internal table XVBAP. Check for currenies in this form.
Regards,
Naimesh Patel
Hi Irfan,
Use exit <b>EXIT_SAPMV45A_003</b>. Now inside the exit you can write the following code.
data : t_vbap type standard table of xvbap.
data : v_lines type i.
t_vbap[] = xvbap[].
delete adjacent duplicates from t_vbap comparing waerk.
describe table t_vbap lines v_lines.
if v_lines > 1.
message 'Cannot enter 2 currencies'.
endif.
Try this and get back to me incase of any queries.
Kindly reward points if found useful.
Thanks and Regards,
Satyesh T
Add a comment