12-04-2007 5:16 AM
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....
12-04-2007 5:36 AM
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
12-04-2007 1:33 PM
Do you know how to show cashed a range of checks ( instead of clearing them one by one) thru the Accts Payable so I can get them off my outstanding list-we do not receive an electronic file from our bank but I may have over 100 checks in a row that need to be cleared when the bank statement comes.
Thanks.
12-04-2007 7:26 AM
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