validation -with two call up points
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
Prerequisite: BSEG-BUZEI = '001'
Check: BSEG-BSCHL = '40' OR BSEG-BSCHL = '50'
Prerequisite : BSEG-BSCHL = '40' OR BSEG-BSCHL = '50'
Check: BSEG-HKONT = '401001' AND BSEG-WRBTR <= '100.00'
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.
Eli Klovski replied
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.