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

Field Level Validation

Former Member
0 Likes
606

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

2 REPLIES 2
Read only

Kartik2
Contributor
0 Likes
518

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

Read only

Former Member
0 Likes
518

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.