You are on page 1of 10

Knowledge article to check information passing from SAP to Sabrix.

Following are the simple steps to check what information is passing from SAP to Sabrix. SAP makes a call to Sabrix with Three different RFC function module. 1. RFC_CALCULATE_TAXES_DOC 2. RFC_UPDATE_TAXES_DOC 3. RFC_FORCE_TAXES_DOC 1. RFC_CALCULATE_TAXES_DOC. This function is called basically to get the Tax amounts from Sabrix solution. This function will be called in Sales orders/Purchase orders/Billing/Invoice (LIV)/FB60/70..etc. In order to check the information passing between SAP and Sabrix for the tax calculation, you need to put break point at the RFC function call and check the item table to see the values. Go to transaction code SE24

Type CL_XTAX_RULES_RFC

Press Display

Double click on the RFC_CALCULATE_TAXES_DOC

Put the Break point on the Call Function RFC_CALCULATE_TEXES_DOC.

Process your transaction (Like sales order, purchase order) and when you save the transaction, the cursor will stop at Call function RFC_CALCULATE_TAXES_DOC function as follows.

If you want to check the items details of the sales order or purchase order double click on the TAX_CAL_ITEM_INXX table. Then the table will show up on the right side pane.

Again double click on the table TAX_CAL_ITEM_INXX on right side pane, then you can see the items details with field by field , if you want to see the complete item details , keep scrolling to the right side of the screen.

If you want to see, what taxes are returned from Sabrix , click on the button and simple press F6 or application bar. The cursor will stop at case sy-subrc on the

Click on the TAX_CAL_JUR_LEVEL_OUTXX table, the table will show up right side pane.

Double click on the table to see the tax results.

2. RFC_UPDATE_TAXES_DOC. This function will be called to audit the invoice document and to save the invoice document to Sabrix audit database, this function will be called after the invoice document posted to GL. The transactions that call this function are VF01/LIV/FB60/FB70etc.

Go to transaction code SE24

Type CL_XTAX_RULES_RFC

Press Display

Double click on the TRFC_UPDATE_TAXES_DOC

Put the break point on the RFC_UPDATE_TAXES_DOC function module.

Process the billing document(VF01) or LIV and Save . Please note that cursor will stop at RFC_CALCULATE_TAXES_DOC at least two or three times before stopping at RFC_UPDATE_TAXES_DOC. Follow the similar steps to check the item details table TAX_UPD_ITEM_INXX for update. 3. RFC_FORCE_TAXES_DOC. This function will be called, whenever there is a inconsistence in the Tax amount between Sabrix Returned and SAP. Basically this function will get triggered, instead of RFC_UPDATE_TAXES_DOC function to force the invoice document taxes detail to Sabrix audit. SAP will either call RFC_UPDATE_TAXES_DOC or RFC_FORCE_TAXES_DOC to save the document to audit database. Please read the OSS note Note 674649 - What are the reasons for 'Forced' Update? to see the reasons for RFC_FORCE call. When you save the invoice document and if the cursor did not stop, then that means SAP called RFC_FORCE_TAXES_DOC function to update the Sabrix audit. Go to transaction code SE24

Type CL_XTAX_RULES_RFC

Press Display

Double click on the TRFC_FORCE_TAXES_DOC

Process your transaction again and follow the similar steps as shown above.

Check the TAX_FRC_ITEM_INXX table to see the item details and TAX_FRC_JUR_LEVEL_INXX to see, what tax amounts/percentages are forced from SAP to Sabrix audit.

You might also like