cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking of tax codes

Former Member
0 Kudos
1,974

Hi

I have list of tax codes (nearly100) i want block all these tax codes,Whenever if user create sales order if these tax code have come,Error has to come

How?

Accepted Solutions (1)

Accepted Solutions (1)

vinod_vemuru2
Active Contributor
0 Kudos

Hello,

If these are used in sales order, use user exit MV45AFZZ to code ABAP logic to check if the tax codes are in obsolete list. If any of these tax codes are used, issue appropriate error message. You can use subroutine USEREXIT_SAVE_DOCUMENT_PREPARE for coding. Check with your ABAPer on exact ABAP logic.

If you are using these tax codes in any FI document, then create item level validation in t-code OB28.

There are lot of discussions available in SCN on how to create validation:-)

Thanks,

V V

Answers (7)

Answers (7)

former_member222241
Active Contributor
0 Kudos

Hi,

In case you want to delete tax code created through FTXP do following steps :

Press Enter

In case you want to delete Withholding tax it is advisable to end validity period instead  of deleting as it may create inconsistencies while posting that vendor + you need to remove each of this codes from Vendor master which will be a tedious task. Please refer below screen shot

The path is as follows :

IMG --> Financial Accounting (New) --> Withholding Tax --> Extended Withholding Tax --> Extended Withholding Tax -> Company Code --> Assign Withholding Tax Types to Company Codes.

Hope, this solves your issue else revert.

Former Member
0 Kudos

Dear Legend,

Remove the tax types which you assign to company code by using the below path.  Remove it from Master Records also.

SPRO> IMG> Financial  Accounting> Financial  Accounting Global Settings> Withholding Tax> Extended Withholding Tax> Company Code> Assign W/tax types to company codes


Regards,

Inthiyaz

0 Kudos

Hi Legend,

We faced the same issue and got advice from somewhere to update the tax codes since it is very difficult to educate people to use new tax codes particularly if you get entries from different locations. But this should not be done as we dont where will the impact be if the tax rate is changed subsequently.

We simply removed text from obsolete tax codes and it worked for us.

Regards

Former Member
0 Kudos

hi legend,

you can try to deactivate it using FTXP

or

use validation rule to give error msg

hope this helps

regards,

Aziz

Former Member
0 Kudos

Hi aziz

Can you tell me how to create validation,I have only basuc idea.

Former Member
0 Kudos

Hi Legend,

There are plenty of threads on validation creation. Validations are done on header level, line item level and complete document level, these are called call up points. Validations are conditionality checks. You define steps for a call up point. Only one step per call up point.

define a prerequisite -> what is needed for the validation to execute

define a check -> condition for the validation to execute

define a msg -> what should msg be on execution of validation

Tcode - OB28

hope this helps,

regards,

Aziz (pls mark as helpful or correct)

former_member627286
Active Participant
0 Kudos

Dear VV,

The tax code itself cannot be deactivated nor blocked.

As suggested by the others: you can try to create a validation rule on the tax code (BSEG-MWSK1).

You find the validation in the Implementation Guide in the path R/3 Customizing Implementation Guide -> Financials -> basic settings Financials -> document -> line item -> to define validations for

posting.

Please read the documentation in the Implementation Guide.

For FI postings, you must create a validation at the moment of 2 (Line item).

You find further information on the validation in the attached note 42615, the related notes mentioned in that as well as in the R/3 of Online documentation at the following position:

FI - Financials

-> FI - Special Purpose Ledger

   -> basic settings

     -> validation.

The validation is originally a technology from the module "Special Purpose Ledger, therefore the description is there settled.

Additional info: you can also deactivate the tax percentage of the no longer valid tax code.

The user would then receive the error message when using this tax code, that it does not exist.

Best regards,

Vera

kabil_g
Active Participant
0 Kudos

Hi Legend,

You can deactivate the tax conditions .

vinod_vemuru2
Active Contributor
0 Kudos

Hello,

In addition to validation, better change the description of these tax codes to Obsolete/Don't use.

Thanks,

V V

Former Member
0 Kudos

HI ,

In standard SAP you can't block the tax code . but I believe you can create validation rule for this .

Many Thanks