Skip to Content
0
Oct 14, 2009 at 01:23 PM

SAP FI Validation (F-53)

401 Views

Hello Experts,

I have searched all the threads on SDN and did a google search as well for my scenario, however, I am not able to proceed further.

I want to put an error message while making a negative posting in F-53. for e.g. if I my outgoing a/c has a balance of Rs. 1000 and the user is entering Rs. 1500/-, then system should throw an error message right at the beginning of the screen.

I know it sounds familiar.

I have made an entry in OB28 with the callup point '2'. Now from GGB0, what subroutine should I write in order to check the balance?

In prerequisite: I have entered

BKPF-BUKRS = '1000'

BKPF-BLART = 'KZ' AND

BSEG-HKONT = '2401010102' OR

BSEG-HKONT = '2401010112' OR

BSEG-HKONT = '2401010122' OR

BSEG-HKONT = '2401010132' OR

BSEG-HKONT = '2401010142' OR

BSEG-HKONT = '2401010152' OR

BSEG-HKONT = '2401010162' OR

BSEG-HKONT = '2401010172'

The above are outgoing GL accounts.

Now what should I write in check subroutine?

The balance can be checked from FS10N and it's entries can be found in table GLT0, since my FICO consultant has incorporated new GL concept, the tcode in my SAP AFS system is FAGLB03 and table is FAGLFLEXT.

Can anyone send me a sample routine/code for the above mentioned scenario?

Thanks in advance