Skip to Content
avatar image
Former Member

validation -with two call up points

Hi,

When I do posting in f-04 I want to validate the transaction as follow

First line item should have either posting key 40 or 50 and gl account should be 401001.For which I created the validation as follow

First call up point -0001-validation-1

Prerequisite: BKPF-TCODE = 'F-04'

Second call up point :0002 u2013validation -2

Step-1

Prerequisite: BSEG-BUZEI = '001'

Check: BSEG-BSCHL = '40' OR BSEG-BSCHL = '50'

Message :Error.

Step-2:

Prerequisite : BSEG-BSCHL = '40' OR BSEG-BSCHL = '50'

Check: BSEG-HKONT = '401001' AND BSEG-WRBTR <= '100.00'

Message :Error

I assigned validation 2 to company code and call up point -2.

But it has impact on all t-codes.In all t-codes I could enter 401001 only .it does not accept any other gl accounts.

Regards,

guru

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 03:20 PM

    Hi,

    I'd suggest you to make one validation, but on call point 3. Make your prereqisites for transaction code, G/L account and posting key there. Do not use BKPF-TCODE, but SYST-TCODE.

    Regards,

    Eli

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      User-exit is something you have to create (there is no standard code provided for validation by SAP). Ask to your ABAP team to help you on this; it's 5 minutes work. Explain, that you want BSEG data to be checked in terms of G/L account and amounts.

      Regards,

      Eli