cancel
Showing results for 
Search instead for 
Did you mean: 

Accounting Validation for blocking TDS posting with T-code

Former Member
0 Kudos

Dear Expert,

I have a requirement like below in OB28 Accounting Validation:-

I want to block Accounting posting with F-02 T code with Wht GL code Posting.

I have written:-

Prequisite:-

BKPF-BUKRS = '1020'

SYST-TCODE = 'F-02'

Check:-

BSEG-HKONT='403625' (which is a TDS liabilityGL code)

Message:- Error

But it is not working, The document with F-02 and GL code 403625 is getting posted

Please advise.

Regards,

Alok

Accepted Solutions (0)

Answers (3)

Answers (3)

narasimhulu_konnipati
Active Contributor
0 Kudos

A small correction in Validation rule.

Check:-

BSEG-HKONT<>'403625' (which is a TDS liabilityGL code)

BSEG-HKONT should not be equal to 403625

Correct that and try posting.

former_member182098
Active Contributor
0 Kudos

Check if you need to use

BKPF-TCODE=F-02 (instead of SYST-TCODE)

BSEG-HKONT<>'403625' (<> instead of 😃



Create validation at complete document.


Ensure once you have created in GGB0 that it is maintained in OB28 and it is active.

Former Member
0 Kudos

Hi Alok,

Can you try with T-Code FB01 instead of F-02

Regards,

kavita