Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to put validations for Bank Gl accounts

Dear Gurus,

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.



Former Member


You can acheive it in 2 ways.

1. (GL account >= xxxxx AND <= yyyyy)


2. Create a set for GL account using t-code GS03 and use as -

GL Account in <set name>



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question