How to put validations for Bank Gl accounts
I have a requirement, where i want to make Profit center mandatory for the Bank Debits only.
Can you please suggest if my below written Validation would be useful in this respect.
Please correct my coding also. As i am doing validation for first time.
My working in Validation at line item level is :
Prerequisite: BKPF-BURKS = "ABCD"
Check : BSEG-BSCHL = 40 and BSEG-HKONT = "xxxxxx" to "yyyyyy"
Message: Please enter profit center.