Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Exits - - - >

Former Member
0 Likes
528

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....

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....

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
483

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

Read only

0 Likes
483

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.

Read only

Former Member
0 Likes
483

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