Skip to Content

Cash GL in Cash Doc.Type Only.

Dear Experts,

We are not using Cash Journal . We are using FB50 for cash G/L entries.We have 4 we created 4 cash types for different centers.My problem is even in cash doc. type user is able to post other entries without choosing Cash GL.My requirement is whenever cash doc.type is chosen user must enter cash GL (either in debit or credit). For this I have tried validation like this.

Prerequsite -- All cash doc. type . in check I give all the cash GL . In this condition system allows only cash GLs ,not other Gls except cash Gls.So what check should I give so that system must not allow other gls than cash Gl in either debit or credit.Please suggest.

In addition I can say..If cash doc. type is chosen then cash GL must be mandatory in either debit or credit.

Edited by: Biraja Senapati on Jun 25, 2011 10:19 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jun 27, 2011 at 05:21 AM


    I don't think a simple validation rule will work for your requirements. You need to make use of a user exit in validation. Here in prerequisites will be your document type for cash journal. In the check call up the user exit in validation, where in you need to check that in the entire document for account type"s", at least one of the HKONT is your Cash GL. If the check fails, system should return an error message. The process for defining validation is:


    Sanil Bhandari

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 25, 2011 at 09:54 AM


    You have to define validation at Complete document level in GGB0 and in prerequisite you are also required to give sys-tcode = 'FB50' along with BKPF-BLART= ' ?'

    In check specify the GL Accounts and assign an error message to it with category E.

    Make sure to assign the validation in OB28 for your relevant co code.

    Hope this will work for you.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 24, 2011 at 07:50 AM

    Please suggest

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.