04-07-2017 12:08 PM
Hello Experts
i have a requirement that document shouldn't get posted if amount exceeds 10,000,000 per line item in Customer and Vendor and also total amount in bapi while posting shouldn't get exceeded more than 20,000,000 if that user doesn't defined with proper limit in tables T043 and T043T.
Please suggest if i can use any standard FM or Any Enhancements where i can write the logic to get stopped that document posted with proper error message.
Any Suggestion will be really appreciated. Thanks
04-10-2017 5:45 PM
I did the code in the program itself by following the validation performed in standard Tcode FB50. i fetched data from T043 and T043T tables and then validated the amount with field "t043t-maxeb" (Per line item limit) and "t043t-maxbt" (Per document Limit). it's working Now. 🙂
04-07-2017 2:58 PM
Sanjay,
Check the FM FI_TOLERANCES_CHECK (but it is not released ) to see if it meets your requirement.
K.Kiran.
04-10-2017 5:43 PM
Thanks kiran for your valuable respose.
i was looking for EXIT where i could do the code for tolerance validation while posting data from BAPI "BAPI_ACC_DOCUMENT_POST" but unfortunately i didn't get any EXIT so I did the code in the program itself by following the validation performed in standard Tcode FB50. i fetched data from T043 and T043T tables and then validated the amount with field "t043t-maxeb" (Per line item limit) and "t043t-maxbt" (Per document Limit). it's working Now. 🙂
04-10-2017 5:45 PM
I did the code in the program itself by following the validation performed in standard Tcode FB50. i fetched data from T043 and T043T tables and then validated the amount with field "t043t-maxeb" (Per line item limit) and "t043t-maxbt" (Per document Limit). it's working Now. 🙂
07-20-2017 9:13 PM
Hi Matt,
This Question was completely different from the content which i wrote in my blog, so as you suggested to accept the answer and close the question, i did that.
Thanks,
Sanjay