Skip to Content
0
Former Member
Sep 06, 2007 at 05:27 AM

How to use CHETAB in CATT in 4.6C to validate entries before posting

25 Views

Hello,

How to use CHETAB in CATT to validate data ?

I am new to this forum and I have one question.

I am using CATT and a CHETAB command on SKA1, with the key fields : COA and Account number (SAKNR), plus a non key field which is the account group (BILKT)

When the account SAKNR is not there in the table then the transaction is failed : OK

But, when the account SAKNR is there but with a different account group (BILKT) SAP is displaying an error message saying that the account group is expected to be different, but still continuer with SUBRC=0 and therefore post the transaction, which I don't want.

Do you know how to deal with this ?

Best Regards, Manuel

Message was edited by:

Manuel COLLET-BEILLON

Message was edited by:

Manuel COLLET-BEILLON