Skip to Content
author's profile photo
Former Member

Raising Custom error message during posting

Hi All,

I have a requirement , while vendor/customer posting (Say in FB01 one will be Vendor line item and other will be GL line item). If the user enters the GL line item first then it should throw an error and should not allow the user to post the document.

Please help me how to achieve this.

Regards,

SK

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on May 03, 2011 at 03:08 PM

    Hi,

    You can achieve this through Validation. Create a validation in GGB0

    Create Validation

    prerequisite: Transaction code = (give the transaction code that you want) FB01 and Line Item = 001

    Check: Posting Key= Vendor posting key or Customer posting key

    Message: Enter Message type as E

    Message number: 001 (for eg)

    Message text: Entry allowed only for Vendors/ customers or what ever text ou want to give you can enter.

    For message number and text goto SE91 and select the message class and then change

    Select the next free number and enter the text.

    Regards,

    B. Radhika.

    Add comment
    10|10000 characters needed characters exceeded