Withholding Tax Base Amount 1099
I have an issue regarding fixing a report that are tracking 1099 Vendors and their Child Vendors. I have to collect the Withholding Tax Base Amount specific for 1099. Is the field BSEG-QSSHB the right field to take it from? Is there any possibilities this field could be empty? Presently I am getting the amount from BSEG-WRBTR which seems to pick every debit amount.
I also have another related issue. This program is presently checking for a fiscal year user selection which are matched to the field BSEG-GJAHR. Now I am supposed to get the items from BSEG according to calendar year. Is there any way to do it?
Please reply. This is quite urgent.
About the BSEG-QSSHB field, I believe this is a correct field. And I believe also that this field could be empty if there is no withholding tax in the line item of the FI Document.
About the issue to get the items from BSEG according to calendar year, I am supposing you are talking to get the documents related to the year in SY-DATUM system workarea, right? If so, please take a look at the FTI_FISCAL_YEAR_MONTH_GET function module. Example is described below:
DATA: wl_dbudat TYPE vtvdeta_tr-dbudat,
wl_company_code TYPE bkpf-bukrs.
Please fill in the wl_company_code workarea with the
Company Codes you need the correct fiscal year.
wl_dbudat = sy-datum.
CALL FUNCTION 'FTI_FISCAL_YEAR_MONTH_GET'
i_bukrs = wl_company_code
i_budat = wl_dbudat
e_gjahr = wl_gjahr.