2012 Jun 07 11:24 AM
Hi Abap Gurus,
My Query is while creation of Purchase order there will be a field called Currency. we have to consider for 2 condition types called
'PBXX' and 'SKTO' such a way that if the user is creating PO and putting the Currency as 'USD or 'EUR' means apart from 'INR'.
through the Error message that 'please enter the Currency as INR' . for this please suggest me the EXIT or BADI.
<offer removed by moderator>
Message was edited by: Thomas Zloch
2012 Jun 07 11:34 AM
hi,
please do the following to find out exits and badis for your requirement. Go to method GET_INSTANCE of class CL_EXITHANDLER. and set a break point as shown in figure. Now execute the scenario where you want to do validation. If there is any exit of badi then the program execution will stop there and you can get the exit name.
Refer the screen shot attached.
The following are the few exits where the debugger will stop :
PPA_CUST_BADI
Hope this helps. Thank you.
Regards,
kartik
2012 Jun 07 11:39 AM
First maintain the conversion factors for the currency pair and the exchange rates which you specified. Choose
Global settings -> Currencies -> Conversion factors in the Implementation Guide.