cancel
Showing results for 
Search instead for 
Did you mean: 

Lock Sales Document item condition currency must always follow sales document header currency

Former Member
0 Kudos

Dear SD Expert,

is there a possible way to check that if a sales document item condition currency must always follow sales document header currency, and if user change the item currency to a different currency than sales document header currency, system will prevent it from saving the document.

regards,

Karya

Accepted Solutions (0)

Answers (2)

Answers (2)

moazzam_ali
Active Contributor
0 Kudos

Hi

There is no way to do this in standard customization. You have to go for pricing routine as suggested earlier or you can also use program MV45AFZZ and write code in pricing prepare user-exit to check the item and header currency on run time.

Thank$

Former Member
0 Kudos

Hi, Please contact your ABAPER and give the below logic to write new routing in PROO calculation type(V/08),i hope this will help you. LOOP AT xkomv WHERE kschl = 'PR00'.       IF  xkomv-waers NE komk-waerk.         MESSAGE 'Document currency not match' TYPE 'W'.         xkomv-waers = komk-waerk .

Former Member
0 Kudos

Dear Ravi,

Thanks for your input. is there anyway to control this from customizing ?

regards,

Karya

Former Member
0 Kudos

Hi,

This is very simple logic ,please contact your ABAPER,He will help you.

Thanks.

Former Member
0 Kudos

Dear Ravi,

OK, thanks for your answer, very appreciated.

Regards,
Karya