on 2021 Nov 04 5:39 PM
Hi ABAPer's
We are calling FM - FI_TAX_SERVICES_CALCULATE in UPDATE TASK of a BADI to get the ACCOUNTTAX lines and it is giving short dump saying "Statement "CALL_SCREEN" is not allowed in this form." did debug and yes it is coming across CALL SCREEN statement and leading to short dump in case the same FM called from normal task then it works great. If anyone came across such please throw some light any alternatives to FM - FI_TAX_SERVICES_CALCULATE ?
Regards,
Venkat Channa
Request clarification before answering.
I called method fi_tax_services=>calculate as you suggested.
The behavior of the method and FB60 is different for the following scenario:
The method updates the tax code to a value that means no tax.
FB60 raises a blocking error: 'G/L account xxxxxx requires a valid tax code'
How can I force the method to behave as standard?
The call to the method is:
CALL METHOD fi_tax_services=>calculate
EXPORTING
documentheader = gs_doc_header
accountpayable = gt_accountpayable
accountreceivable = gt_accountreceivable
* distribute_deduct = SPACE
* taxamount =
IMPORTING
return_code = lv_subrc
CHANGING
currencyamount = gt_currencyamount
accountgl = gt_accountgl
accounttax = gt_accounttax
return = lt_return.
Thankyou in advance
Hagit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.