Skip to Content

SAP CRM provides a very useful tool to validate tax information that is set-up and which is to be synchronized between ECC and CRM. However, there may be cases when due to improper entries maintained (read human error) in the system, the report fails to execute properly and results in an uncaught exception. As CRM consultants, this shouldn’t deter anyone from going ahead and trying to resolve the issue. A few simple steps of debugging would help to fix it quickly.

The report program that SAP provides for the afore mentioned purpose is : CRM_TAX_CUST_VALIDATE.

The same can be accessed through the SPRO path shown below:SPRO_path1.jpg

There are several tables storing the tax category, tax classification, sequence information etc. These tables are maintained through the paths shown in the screenshot above (Define Tax Types and Tax Groups).

SPRO_2.jpg

Errors in these entries (eg. duplicates or other inconsistent) entries may through short dumps when the program is executed.

/wp-content/uploads/2012/09/dump1_138682.jpg

/wp-content/uploads/2012/09/dump2_138683.jpg

These are generic error messages resulting in the system. A quick way to identify the cause would be to:

1. Execute the program CRM_TAX_CUST_VALIDATE through transaction code SE38.

2. Take the debugger (or have a breakpoint set previously) in the code shown in the screenshot below. There are two internal tables, one BP specific and the other product specific.

/wp-content/uploads/2012/09/debugger1_138684.jpg

3. The contents of these internal tables are those which will be displayed in the report output. If, due to some inconsistency, a termination occurs in the program, the user will not be able to see the output. Hence the contents of this table would be useful to analyze the issue and make the changes in the tax settings accordingly. (Note : the example shown in the screenshot below does not cause any inconsistency. It is only to show some sample content through debugging). The changes would involve looking up the ECC settings (t-codes OVK1, OVK4 etc) and making similar entries in CRM.

/wp-content/uploads/2012/09/debugger2_138685.jpg

Once the tax settings are corrected (to the level that the remaining issues can be shown in the report output), the report output can be seen.

/wp-content/uploads/2012/09/reportoutput1_138686.jpg

/wp-content/uploads/2012/09/reportoutput2_138687.jpg

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. sunil balne

    Hi Ajit,

    When I checked the DATA TRANSFER CUSTOMIZING SETTINGS (for taxes, Tcode- CRM_TAXCUST_VALIDATE) for Country India, Tax Type JTX3 ,I found error status.

    It is saying …

    ‘ Tax Sequence Number is duplicated – check table TB070 ‘    and..

    ‘ Check on following Partner Tax Groups ‘

       

        ‘ Check tax Category in CRM_TAX_MAP_BP for ALL Tax Type MWST Tax Group FU ‘

        ‘ Check tax Category in CRM_TAX_MAP_BP for ALL Tax Type MWST Tax Group NO ‘

    What I need do to resolve this error?

    Regards,

    Sunil

    (0) 

Leave a Reply