11/24/2017
Validation for Cash Journal
(http://w ww.sap.c Products om/)
(https://www.sap.c www.sap.com/ om/products.html) products.html)
(https://www.sap.c www.sap.com/industries.html) om/industries.html) Support
Industries
Training
(https://www.sap.c www.sap.com/ om/support.html) support.html)
(https://www.sap.c www.sap.com/training-c om/training-certication.html) ertication.html)
Community Community
Developer eveloper
About
Support
(https://www.sap.c www.sap.com/ om/community community.html) .html)
(https:/ (https://www.sap www.sap.co .com/ m/dev Partner developer eloper.html) .html)
Partner Partner
(https://www.sap.com/partner.html) (https://www.sap.com/partner.html)
(https:/ (https ://www.sap.com/corporate/en.html) www.sap.com/corporate/en.html)
Home Home (https://www.sap.com) / Community (https://www.sap (https://www.sap.com/community.html) .com/community.html) / Archives (/) / Discussions
Actions
Archive Archive (/discussions) / SAP ERP Financials Financials (/discussions/space/ (/discussions/space/ erp/financials)
Archived Archived discussions are read-only read- only.. Learn more about SAP Q&A (https://go.sap.com/community/ https://go.sap.com/community/about/questions-and-answers.html) about/questions-and-answers.html)
Validation for Cash Journal Dear Expert, We are making a validation for restricting Payment more than 20000. I create validation it is working perfectly. perfectly. But i have a problem that when we are trying to deposit cash to bank. Which the validation should allow to by pass. It should not check the payment amount https://archive.sap.com/discussions/thread/1908033
1/7
11/24/2017
Validation for Cash Journal
Here is the validation i have used Prerequiste BKPF-TCODE = 'FBCJ' AND BSEG-BSCHL = '50' AND ( BSEG-HKONT = '20400300' ) Check BSEG-DMBTR <= '19999.00' BSEG-HKONT is my cash gl. Can anyone suggest me how can we exclude bank gls from this validation. I also created A basic set of all Bank GL.
(https://people.sap.com/lovell.j) Lovell J (https://people.sap.com/lovell.j) November 12, 2013 at 18:26 PM 0 Likes
Helpful Answer by Ajay Maheshwari SAP Trainer (/discussions/message/10068726#10068726)
king for? View more on this topic (https://go.sap.com/community/tag.html? 3523242285841826221) or ps://answers.sap.com/questions/ask.html?primaryTagId=648420875567243523242285841826221)
10 replies
(https://people.sap.com/rahulbalasaheb.dorugade) Rahul Balasaheb Dorugade (https://people.sap.com/rahulbalasaheb.dorugade)replied March 08, 2011 at 11:21 AM
Hi, Please try to differentiate your transactions with different document types and include document type in validation. I hope the same is clear. Regards, Rahul 0 https://archive.sap.com/discussions/thread/1908033
2/7
11/24/2017
Validation for Cash Journal
(https://people.sap.com/kavita.agarwal) Kavita Agarwal (https://people.sap.com/kavita.agarwal)replied
March 08, 2011 at 11:40 AM
Hi, I think in general, you can exclude a particular person from this validation BKPF-USNAM and that person, who would be an authorized person to deposit cash in bank can make this entry in the system. Give a thought to this.. Regards, SAPFICO 0
(https://people.sap.com/dewang.trivedi) Dewang TRIVEDI (https://people.sap.com/dewang.trivedi)replied
March 08, 2011 at 12:12 PM
Create a Set in GS01 for all the bank GL accounts . In the validation remove the condition for BSCHL or else include 40 in to it , check for GL ( Cash clearing ) and NOT in SET A . This would then trigger the error only when system finds both the GL accounts and hence doesnt trigger this . Check this else , as a final option use the EXIT funtionality. Cheers , Dewang 0
(https://people.sap.com/lovell.j)
https://archive.sap.com/discussions/thread/1908033
Lovell J (https://people.sap.com/lovell.j)replied 3/7
11/24/2017
Validation for Cash Journal
March 08, 2011 at 12:33 PM
Dear Dewang, As per your suggestion i have created the following prerequisite BKPF-TCODE = 'FBCJ' AND BSEG-BSCHL = '50' O R BSEGBSCHL = '40' AND ( BSEG-HKONT = '20400300' ) AND NOT ( BSEGHKONT IN ZLJBNK ) But still it is not allowing me the make the entry the error message is popping up. Can you tell me if i have done the validation correctly. Edited by: lolu jo on Mar 8, 2011 12:33 PM 0
(https://people.sap.com/kavita.agarwal) Kavita Agarwal (https://people.sap.com/kavita.agarwal)replied
March 08, 2011 at 12:38 PM
Hi, But if you create a validation like this, System won't allow you to take receipt also if it is more than 20,000 and I don't think business would want that.. as the restriction as per law is only on payment and not on receipt. Regards, SAPFICO 0
(https://people.sap.com/ajay.maheshwari) Ajay Maheshwari SAP Trainer (https://people.sap.com/ajay.maheshwari)replied March 08, 2011 at 12:45 PM
Hi I would prefer to include BKPF-USNAM in the validation and do this....
https://archive.sap.com/discussions/thread/1908033
4/7
11/24/2017
Validation for Cash Journal
If you have so many OR / AND in a validation rule its not go ing to work.. Still if you wanna try, try like this.... BKPF-TCODE = 'FBCJ' AND (BSEG-BSCHL = '50' AND ( BSEGHKONT = '20400300' )) AND (BSEG-BSCHL ='40' AND NOT ( BSEG-HKONT IN ZLJBNK )) Br, Ajay M 0
(https://people.sap.com/lovell.j)
Lovell J (https://people.sap.com/lovell.j)replied March 08, 2011 at 13:31 PM
Dear Ajay, Thank you very much for your reply. My issue is that only one user will be using the cash journal. So i can't restrict on user basis. I tired with your logic it is allowing for all transaction. even which are supposed to be blocked. 0
Helpful Answer
(https://people.sap.com/ajay.maheshwari) Ajay Maheshwari SAP Trainer (https://people.sap.com/ajay.maheshwari)replied March 08, 2011 at 14:27 PM
Hi Then create a validation step in OB28 using Exit RGGBR000 Br, Ajay M 0
https://archive.sap.com/discussions/thread/1908033
5/7
11/24/2017
Validation for Cash Journal
(https://people.sap.com/lovell.j)
Lovell J (https://people.sap.com/lovell.j)replied March 10, 2011 at 07:52 AM
Thank Ajay I think we will go with user exit 0
(https://people.sap.com/sarvottamdarshan) Sarvottam Darshan (https://people.sap.com/sarvottamdarshan)replied
November 12, 2013 at 18:30 PM
This is possible with the help of following validation (confirmed solution used in live projects): ----------------------------------------------------------------------------------------------------------Pre-requisite BKPF-BUKRS = '1000' AND BKPF-AWTYP = 'CAJO' AND
BSEG-BSCHL = '50' AND (BSEG-HKONT = '220000' ) AND ( BKPF-BKTXT <> 'CASH DEPOSITED TO BANK' ) Check BSEG-DMBTR <= '20000' Message (Create custom msg) Enter Amount less than 20000 for outgoing payments ------------------------------------------------------------------------------------------------------------
Where , BSEG-HKONT is the cash GL account BKPF-BKTXT 'CASH DEPOSITED TO BANK' is the text of the business transaction which needs to be excluded from the above validation (in this case the cash deposit to bank transaction from cash journal) Regards, Sarvo https://archive.sap.com/discussions/thread/1908033
6/7
11/24/2017
Validation for Cash Journal
0
Share & Follow (https://www.facebook.com/sapcommunity) (https://www.youtube.com/c/SAPCommunities) (https://plus.google.com/+SAPCommunities)
(https://twitter.com/SAPCommunity) (https://www.linkedin.com/company/sap) (https://instagram.com/sap/)
(http://www.slideshare.net/SAP)
Privacy (http://go.sap.com/about/legal/privacy.html) Terms of Use (http://go.sap.com/corporate/en/legal/terms-of-use.html) Legal Disclosure (http://go.sap.com/about/legal/impressum.html) Copyright (http://go.sap.com/about/legal/copyright.html) Trademark (http://go.sap.com/about/legal/trademark.html) Sitemap (http://www.sap.com/sitemap/index.html) Newsletter (https://go.sap.com/registration/newsletter.html)
https://archive.sap.com/discussions/thread/1908033
7/7