Withholding Tax for Pph 23 Calculation Steps by Steps2
-
Upload
monica-radytia-chrismawati -
Category
Documents
-
view
67 -
download
4
description
Transcript of Withholding Tax for Pph 23 Calculation Steps by Steps2
-
monicaradytia.wordpress.com
Withholding Tax for PPH 23 Calculation
from SD
Created on: 17 July 2013 Author: Monica Radytia Credit to: Adin, for the correction in FI customizing Objective:
- Posting withholding tax for PPh 23 automatic at billing creation from SD - Example journal on billing posting:
Dr. AR 1296 Dr. Prepaid PPh 23 24 Cr. Sales 1200 Cr. PPN Out 120
1 SD - Create Condition Type
(IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Types), copy from withholding tax condition J1W1, J1W2, or J1W3.
Create new condition type that is copied from J1W1 or J1W2 or J1W3. Here I copied from J1W1.
-
monicaradytia.wordpress.com
Make sure that access sequence used is J1AG.
-
monicaradytia.wordpress.com
Save.
2 SD - Create Routine
-
monicaradytia.wordpress.com
a. Create a new requirement formula for access sequence using transaction VOFM, menu path Requirements -> Pricing
b. Copy routine 83 and create the new one. c. Apply the source code below to the form routine FORM KOBEV and
KOBED. d. Activate the requirement formula
-
monicaradytia.wordpress.com
FORM KOBED_984:
FORM KOBED_984. 1
data: lv_subrc like sy-subrc, "needed as SY-
SUBRC is modified
lv_konv like konv.
lv_subrc = 4.
* processing of information in table KNBW
* read table T059P to find the relevant withholding type
select single * from t059p
where land1 = komk-aland
and kschl = komt1-kschl.
* found?
if sy-subrc eq 0.
* read table KNBW for the customer to find out if custom
er is agent
select single * from knbw where kunnr = komk-
knrze and bukrs = komk-bukrs and witht = t059p-witht.
* found and agent
if sy-subrc eq 0 and knbw-wt_agent eq 'X'.
* check if date is in the subjected interval and the
refore valid
if knbw-wt_agtdf le komk-prsdt and
knbw-wt_agtdt ge komk-prsdt.
komk-j_1atxrel = knbw-
wt_withcd. " allow access to wt tax code
lv_subrc = 0. " via field j
_a1txrel
endif.
endif.
endif.
sy-subrc = lv_subrc.
ENDFORM.
-
monicaradytia.wordpress.com
FORM KOBEV_984:
FORM KOBEV_984. 1
data: lv_subrc like sy-subrc, "needed as SY-
SUBRC is modified
lv_konv like konv.
lv_subrc = 4.
* processing of information in table KNBW
* read table T059P to find the relevant withholding type
select single * from t059p
where land1 = komk-aland
and kschl = t683s-kschl.
* found?
if sy-subrc eq 0.
* read table KNBW for the customer to find out if custom
er is agent
select single * from knbw where kunnr = komk-
knrze and bukrs = komk-bukrs and witht = t059p-witht.
* found and agent
if sy-subrc eq 0 and knbw-wt_agent eq 'X'.
* check if date is in the subjected interval and the
refore valid
if knbw-wt_agtdf le komk-prsdt and
knbw-wt_agtdt ge komk-prsdt.
komk-j_1atxrel = knbw-
wt_withcd. " allow access to wt tax code
lv_subrc = 0. " via field j
_a1txrel
endif.
endif.
endif.
sy-subrc = lv_subrc.
*>>>> END OF INSERTION
-
monicaradytia.wordpress.com
Save. Activate the routine.
3 SD - Check Condition Table 397
(IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Table) , make sure that condition table 397 contains the key fields:
Country [ALAND] (Flags: Key)
Tax rel. classif. (J_1ATAXREL) (Flags: Key, Field, Text).
Use access sequence J1AG or copy from JIAG if you want to define the new one. Make sure that field J_1ATXREL is an input/output field
Check on access sequence:
5 SD - Define pricing procedure and assign condition type
-
monicaradytia.wordpress.com
(IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define and Assign Pricing Procedure > Maintain pricing procedures)
Set routine created on steps 2 in pricing procedure field requirement.
Cond. Type: ZW23, Statistic: X, Requirement: 984
6 FI - Define Withholding Tax Type for Invoice Posting
(IMG > Financial Accounting (New) > Financial Accounting Global Setting (New) > Withholding Tax > Extended Withholding Tax > Calculation > Withholding Tax Type > Define Withholding Tax Type for Invoice Posting)
-
monicaradytia.wordpress.com
Create withholding tax type for country ID.
-
monicaradytia.wordpress.com
7 FI - Define Exchange Rate Type for Withholding Tax Type
Financial Accounting (New)
Global Settings (New) > Extended Withholding Tax > Calculation > Withholding Tax Type > Define Exchange Rate Type for Withholding Tax Type)
This setting is done due to requirement when doing withholding tax transaction. For taxation purpose, use exchange rate type T (Tax). This setting can be leaved blank if exchange rate T = M.
-
monicaradytia.wordpress.com
8 FI - Assign Withholding Tax Type to Company Code
Financial Accounting (New) > Financial Accounting Global Settings (New) > Extended Withholding Tax > Company Code > Assign Withholding Tax Types to Company Codes)
9 FI - Define Accounts for Withholding Tax to be Paid Over
Financial Accounting (New) > Financial Accounting Global Settings (New) > Extended Withholding Tax > Posting > Accounts for Withholding Tax > Define Accounts for Withholding Tax to be Paid Over)
10 FI - Define Withholding Tax Codes
-
monicaradytia.wordpress.com
(IMG > Financial Accounting (New) > Financial Accounting Global Setting (New) > Withholding Tax > Extended Withholding Tax > Calculation > Withholding Tax Code > Define Withholding Tax Code)
11 FI Assign Condition Type to Withholding Tax Type
-
monicaradytia.wordpress.com
(IMG > Financial Accounting (New) > Financial Accounting Global Setting (New) > Withholding Tax > Extended Withholding Tax > Calculation > Withholding Tax Type > Assign Condition Type to Withholding Tax Type)
12 FI Maintain withholding tax in customer master data
-
monicaradytia.wordpress.com
(T-code: XD02, Company Code Data > tab Withholding Tax).
13 SD - Maintain condition record for withholding tax
(T-code: VK11). Enter Tax Relevant Classification = Withholding Tax Code from Classification.
-
monicaradytia.wordpress.com
14 Test withholding tax using report ZWTCHECK
If this report already exist, you can directly use it by executing from tcode SE38. If no, ask your ABAPER to copy the source code I attached then generate
If there is no error, your WT Type, WT Code, Condition will not appear in this report. Below is the example of error.
-
monicaradytia.wordpress.com
15 Testing:
Create Sales Order
-
monicaradytia.wordpress.com
Create Delivery Order Screenshot not provided.
Create Billing
-
monicaradytia.wordpress.com
Accounting document:
-
monicaradytia.wordpress.com
Source:
- SAP Notes OSS 178824 - http://help.sap.com/saphelp_46c/helpdata/en/2d/936b3ae886616ae10000000a114084/frameset.htm