Function Module to compute Withholding Tax
Hello Experts,
Is there a function module that I can use to compute for the total withholding tax of a parked document?
Thanks!
Jeffrey
Hello,
I've found a way to do it, and considering that I could not find the answer in SCN I'll post it.
I've created a report to show the calculated WHT which would be posted only at the payment moment. Also, in Brazil we work with extended WHT (and not the classic one).
You will need an ABAP.
Create a Z function module as copy of ZFI_WT_FB05_CALCULATE_WT.
This FM has only input parameters, therefore it does not provide you with the calculated WHT as an output (as standard). Knowing this, it is necessary to change it (the FM) by summing all T_WITH_ITEM-WT_QBSHH per accounting document (this table is present in the standard FM).
You need to provide the logic in order to obtain the parameters, The field which need to be filled are:
I_AKTYP = "H”
I_DYNCL = "Z”
Table I_POSTAB
Pick the data below from BKPF/BSEG of the accounting document which needs WHT to be calculated:
BELNR
BUKRS
GJAHR
BUZEI
WAERS
BUDAT
BLDAT
BSCHL
KOART
SHKZG
DMBTR
WRBTR
KONKO
XAKTP = "X"
XAKTS = "X"
Table I_BKPF
BUKRS
GJAHR = year of the system date
BLART = KZ
BLDAT = system date
BUDAT = system date
MONAT = period of the system date
TCODE = FBZ2
WAERS
Then after changing the FM to have T_WITH_ITEM-WT_QBSHH as output, simulate it by inserting the values of the accounting document which has WHT, and check the result, if it is the same as calculated by F-53 or F110.
Similar Messages
-
Function module to calculate withholding taxes
Hi all,
Can anyone please tell me if there is any function module to calculate withholding taxes?
Thanks,
Diogo LF MoreiraHi,
You can use the function module FI_WITHHOLDING_TAX_CALCULATION
Regards,
SDNer -
Need a functional module to compute the invoice balance
Hi,
I need to know if there is a functional module which we can use to compute the invoice balance by deducting the credit notes and the payments.This was not answered
-
Assignment of function module in spro
Hi All,
We are using the Sabrix external system for tax calucation. They defined the function module for computation of tax. where do we assign the functional module in system.
Thanks and regards,
Ravi Vruddhula.hi,
u want to specify ur customized FM here :
SPRO (Cross Application Components  SAP Business Partner  Business Partner  Tax Jurisdictions  Using SAP Software  Assign Function Module to Indicator)
thanks... -
Function module for calculation of Income Tax
Hi Friends,
Please guide me any function module which calculates income tax.
I have total income with me.
I want to know the :--
-->tax on total income,
-->education cess 3%,
--> Tax payable, less: relief under sec 89,
--> Final tax payable
Thanks & Regards,
ShivaniHi,
Refer below link
http://help.sap.com/saphelp_470/helpdata/en/0d/bec6ba2cec4cf69e9ba5b43dbec440/content.htm
thanks,
venkat -
Function Module to get the GST tax rate on basis of posting date
Hi Guys,
Can somebody suggest any function module to get GST tax rate (Canada) according to the posting date. I have already tried GET_TAX_PERCENTAGE. It is not giving me any results.
Is there any other functions modules.?
What is the the name of table for finding the tax?hi,
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-LOW
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
I_GJAHR = GV_GJHAR
I_PERIV = GC_24
I_POPER = GV_POPER
IMPORTING
E_DATE = S_FKDAT-HIGH
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ags. -
Function module to calculate tax
Hi
I want to calculate tax for Invoice document.Is there any function module available to calculate tax??Please let me know
Thanks.Hi Shradha,
plese check below FM:
CALCULATE_TAXES_GROSS
CALCULATE_TAXES_NET
CALCULATE_TAX_DOCUMENT
CALCULATE_TAX_DOCUMENT_START
CALCULATE_TAX_FROM_GROSSAMOUNT
CALCULATE_TAX_FROM_NET_AMOUNT
CALCULATE_TAX_ITEM
Regards,
Tutun -
Error in numbering of withholding tax certificate
Hi ,
I am getting this error, and i have done the certificate certificate number range, and also the number group, but no result came....
Its giving me this error....
please help asap....I will assign points.
Error in numbering of withholding tax certificate
Message no. 7Q626
Diagnosis
An error has occurred during withholding tax certificate numbering.
Procedure
Check your Customizing settings for withholding tax certificate numbering
ThnaksCheck SAP Note No. 127352. Just in case if you cannot, here is what it says.
Solution
Check your Customizing settings:
In the IMG check the settings for
Financial Accounting -> Financial Accounting Global Settings -> ...:
Settings for the company code:
... -> Company Code -> Activate extended withholding tax:
1. Is the extended withholding tax activated for the company code?
(Indicator: Extended withholding tax - yes )
Caution!
If the extended withholding tax is not activated, you should not activate this under any circumstances in the current, productive system. Since the classical and the extended withholding tax functions are independent of each other and also the respective withholding tax data is kept in the database in different tables, there is a need for a separate change process (migration) for the migration from the classical to the extended withholding tax functions. The migration defines a mapping of the withholding tax data (Customizing data, master data and transaction data) of the old withholding tax functions on the data of the extended withholding tax function and creates this. However, no tool is made available by SAP that allows a return to the classical withholding tax functions.
Settings for the extended withholding tax functions:
... -> Withholding Tax -> Extended Withholding Tax -> ...:
... -> Calculation -> Withholding Tax Codes ->
-> Define withholding tax codes
2.1 Is a percentage rate entered for the withholding tax codes?
2.2 If the checkbox Withholding tax formula is activated in the withholding tax code, a scaling must be defined under
... -> Calculation -> Withholding Tax Codes -> Define withholding tax formulas
... -> Company code -> Assign Withholding Tax Types to Company Codes
3. Are the withholding tax types assigned to the company code?
3.1 Is the company code defined as withholding tax obligated from for withholding tax type? (Indicator: Withholding tax obligated from - yes).
3.2. Is the current callup point within the validity period for the obligation?
3.3 For withholding tax on the debit side: is company code defined as subject to withholding tax? (Customer data Subject to withholding tax - yes )
... -> Postings -> Accounts for withholding tax -> ...
4.1 An account must be defined both on the debit side and on the credit side for withholding tax to be paid over.
... -> Define accounts for Withholding Tax to be Paid Over
4.2 For withholding tax codes which are posted with 'Grossing up', an account must be defined for the 'Grossing up' offsetting entry.
... -> Define Accts for W/hold.Tax for "Gross.up" Offsetting Entry
4.3 For withholding tax on the debit side: If the withholding tax type (only for withholding tax during payment) allows self-withholding agent and the company code is authorized to self-withholding agent, an account must be defined for self-withheld withholding tax.
... -> Define Accounts for Self-Withholding Tax
4.4 For withholding tax codes which should be posted with offsetting entry, an account must be defined for offsetting entry.
... -> Define Accounts for Withholding Tax Offsetting Entry
Depending on the rules which are selected for the account determination of the above-mentioned accounts an account must be defined for every withholding tax type or for every combination withholding tax type/tax code. Furthermore, you can also control to debits/credits indicator.
Posting ->, ... Certificate numbering for withholding tax
5. If for withholding tax type ( ...Calculation -> Withholding Tax Type) the option 'no certificate numbering' is not selected, you must carry out all corresponding settings.
Check the settings of the field status groups:
6. The withholding tax for reconciliation and posting accounts must be set to as not suppressed (required or optional).
Check the settings of the vendor or customer master data:
7. The withholding tax types and indicators must be defined as
'liable'.
8. The dialog box does not work if the current callup point is
within the exemption period and no collapsed withholding tax rate
was maintained or if this is equal zero. -
Standard vs extended withholding tax
Hi All,
I would like to seek advice on WHT.
1) may i know what is the difference between standard and extended? why there are kind of WHT?
2) standard and extended version is only in sap system or it is globally known in financial and accounting world.
Thank you.Hi,
These are basic differences
Withholding Tax
Classic Withholding Tax (All release)
Extended Withholding Tax (from release 4)
Difference between the two
S.No Individual Function Classic -- Extended
1 Withholding Tax on Outgoing payment Yes -- Yes
2 TDS on Incoming payment x -- Yes
3 TDS at the time of Invoice x -- Yes
4 TDS on partial payment x -- Yes
5 No. of withholding tax from each document Max 1 -- Several
6 TDS basis
- Net amount Yes -- Yes
-Gross amount Yes -- Yes
-Tax amount x x -- Yes
7 Rounding rule x -- Yes
8 Cash discount consideration x -- Yes
9 Accumulation x -- Yes
10 Minimum/Maximum amt and exemption x -- Yes
11 Certification Numbering x -- Yes
12 Calculation Formula Yes -- Yes
regards,
Santosh kumar
Edited by: santosh kumar on Sep 21, 2009 6:29 AM -
Create customer function module issue
Dear All,
I wanted to created a customer master using the funcion module '/SAPNEA/SMAPI_CUSTOMER_CREATE' or BAPI_CUSTOMER_CREATEFROMDATA1
and I am passing PI_COMPANYDATA and pi_copyreference. But its throwing an error. I have debugged and found out the problem. It is saying the 'reference customer enter is not maintained in Tax table' (table: KNVI). Yes its true the reference customer is not existed in that table. But I dont want to maintain Tax details for my customer. Is there any other function module to create the customer with/without referencing a customer with the data I am passing. (or) atleast please let me know how to stop this function module stop checking this Tax table. One more point I would like to let u know here. I tried to create BDC but BDC does not have 'Email' field which is mandatory for us. Kindly let me know if u know any solution.
Regards
ShijaHi Shija,
I got the same tax juridiction problem while working with vendor creation.
we applied OSS notes to get rid of this tax juridiction verification. It will by passes some of the account groups fromt the tax juridiction verificaiton.
Please check the corresponding OSS notes to get rid of this problem. -
Need name of a function module or BAPI to update the Tax Classification val
Hi Guru's
Need name of a function module or BAPI to update the Tax Classification value for Material master.
Thanks in advance.Hi
U can try to use BAPI_MATERIAL_SAVEREPLICA
Max -
Withholding tax Formula Functionality
Dear Gurus
Is there any way of using the Withholding tax Formula Functionality with an option of four decimal places. Currently, the WHT formula allows for only two decimal places and therefore does not suit the Indian Income Tax law.
Regards
AbhishekHI,
currently above functionality is not available in standard system .
You need to create a Develop request.
http://service.sap.com/rollin.
please refer the note no 11
Reg
Madhu M -
Function Module to read tax in FB60
Hi Gurus,
Is there a function module that reads the values in the folder "taxes" (tax amount) during the recording FB60?
I need something similar to function module FI_WT_GET_X_WITH_ITEM.
Thanks
NikHi Nocola,
Try using this Function Module CALCULATE_TAX_FROM_NET_AMOUNT.
Thanks and Regards
Rinzy Deena Mathews -
Need Function Module for Printing Rates,Discounts and Taxes in Invoice.
Hi All,
For our Invoice printing I need to get a function module which will provide me the rates,discounts and taxes against each item line of the Invoice No.
Finall it will be printed accordingly.
Can anyone help me regarding this with input parameter example.
Thx in Adv.Hi,
As far as I know there is no fun module to print all this stuff.
You have to get this data from KONV table by passing the VBRK table KNUMV field.
Then check for all the Rates and amount KBETR and KWERT fields for the respective condition Types.
You have to loop the KONV internal table and write all the condition rates and amounts in the script driver program.
see any Std script for this.
Regards,
Anji -
Functional module for determining the sales tax code
Dear all,
Kindly help me is there any Functional module to determine the sales tax code?
My Requirement is Based on the Country, Sales Org and Tax code Pricing should pick up automatically.
I tried adding the same fields in the table and inserted in the access sequence and created the condition record for the same.
Created the order but system is not able to get the Tax code while determining the price?
Please help ...
Regards,
SKMy Requirement is Based on the Country, Sales Org and
Tax code Pricing should pick up automatically
but system is not able to get the Tax code while determining the price?
Your both the above comments are contradict to each other. In the first statement, you say pricing should pick up automatically whereas, in the next statement, you say tax code is not determining. Please indicate the requirement clearly.
thanks
G. Lakshmipathi
Maybe you are looking for
-
Getting error while running external application
Hi Everyone, I am using JDeveloper 11.1.1.4. I am trying to run an external application for accessing ZOHO Mail. For this first i created an external application with the details of Login url, Username & Password. Then I embeded this external applica
-
Can I download an older version of iTunes?
Here is my situation: I had iTunes running fine on my machine under Windows7 64bit, that is until I had a hard drive failure and needed to reinstall. I was running iTunes version 8.2, and was able to backup my iTunes Library.itl and iTunes Music Libr
-
Access Connections v4.52 - user rights in locked down environment
I'm currently working on a small project to deploy various Lenovo wireless drivers, Access Connections v4.52, Hotkey and Power Management drivers via SMS but have come across a slight issue with Access Connections that I can't seem to resolve. I'm ho
-
BDC program for Other Goods receipts
Hi all, I need BDC program for Other goods receipts, I have data in excel like material, batch id, qty, actual width, length, plant etc. i want to upload this in one short based on the movement type. Thanks in advance. Shankar
-
ITunes 8 won't sync some video files to iPhone 3G (2.1)
Hello, Upgraded to iTunes 8 and iPhone 2.1 the other day. Now I'm having trouble syncing the iPhone... The problem is that iTunes won't sync all my purchased TV-eps. It WILL sync my "The Office" ep, but NOT my "Two and a half men" ep or my "Entourage