MIRO - Change Withholding tax data at save dinamically
Hi dear all ,
We will have an Z table to be used as parameter to input an WHT code at MIRO automaticaly.
Some vendors and services must be taxed by certain codes. So we need change the currently code at MIRO WHT screen to new one.
Could I do this thru user exit at MIRO without end user put their hands ? could I change bases too ?
I found user exit 'EXIT_SAPLMR1M_004' but I'm sure if is possible do it !
best regards,
Ale
Try using this BADI along with ABAP person.
MRM_WT_SPLIT_UPDATE
You can write your own code here and sent default whereever you do not wish.
Hemant
Similar Messages
-
RFWT0020 withholding tax data - Data Regen vs. Change to Source Tax Code?
Can anyone explain the difference between these two options when running RFWT0020 to update withholding tax data? Data Regeneration vs. Changes to Source Tax Code? I can't find any mention of the two options in the program documentation
When I do test runs with the two different options, the program is selecting difference documents to update. If we are just turning on the 1099 functionality now (beginning with the 2011 tax year), should I run the program once with Regeneration mode and once with Changes to Source Tax Code???
Thanks for any advice!
AllisonHi,
he program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same. The withholding tax base amount is not changed by this procedure.
Recreating or changing the withholding tax data requires that the program first be executed for invoices and then executed for payments in a subsequent step.
When you start the program, the selection screen appears. You can make selections according to vendors, tax code 1, tax code 2 (vendor master record), customers, tax code 1, tax code 2 (customer master record), company codes, document numbers and posting data. The selection determines which items are checked for possible subsequent entries in tables BSEG, BSAK, BSIK, BSAD, BSID, WITH_ITEM.
You can also decide whether only withholding tax data is to be handled for cases where the documents in question contain no withholding tax data. There is no withholding tax data if no withholding tax entries exist for the item selected in table WITH_ITEM (extended withholding tax) or the die withholding tax fields in table BSEG are not filled.
The selection can also be made in test mode. If you do this, no changes are made in the database. You are therefore advised to run the program in test mode initially.
Regards
Aditya -
Create withholding tax data subsequently for reconciled and open items in c
Hi All,
Mine is a US co code and I have a vendor for which invoice and payment documents are posted. After posting the invoice i found that the vendor is subjected to classic withholding tax which i did not calculate when posting invoice, making payments.
Now i have changed the vendor master data with relevant withholding tax details.
I know the program RFWT0020 allows us to create withholding tax data subsequently for reconciled and open items in cases where vendors or customers become liable for withholding tax with a tax rate of 0 %.
It is not working out for me.
Can any body help me on this.
Thanks in advance.Dear all,
by se38 --> report documentation, You can read carefully the following:
The auxiliary program makes it possible to convert both classic and extended withholding tax data. However, with classic withholding tax, ONLY VENDOR data can be converted.
In addition, the program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same. The withholding tax base amount is not changed by this procedure.
Recreating or changing the withholding tax data requires that the program first be executed for INVOICES and then executed for PAYMENTS in a subsequent step.
I hope this helps You.
Mauri -
How to run RFWT0020 to update withholding tax data
Can anyone explain the difference between these two options when running RFWT0020 to update withholding tax data? Data Regeneration vs. Changes to Source Tax Code? I can't find any mention of the two options in the program documentation
When I do test runs with the two different options, the program is selecting difference documents to update. If we are just turning on the 1099 functionality now (beginning with the 2011 tax year), should I run the program once with Regeneration mode and once with Changes to Source Tax Code???
Thanks for any advice!
AllisonHi,
he program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same. The withholding tax base amount is not changed by this procedure.
Recreating or changing the withholding tax data requires that the program first be executed for invoices and then executed for payments in a subsequent step.
When you start the program, the selection screen appears. You can make selections according to vendors, tax code 1, tax code 2 (vendor master record), customers, tax code 1, tax code 2 (customer master record), company codes, document numbers and posting data. The selection determines which items are checked for possible subsequent entries in tables BSEG, BSAK, BSIK, BSAD, BSID, WITH_ITEM.
You can also decide whether only withholding tax data is to be handled for cases where the documents in question contain no withholding tax data. There is no withholding tax data if no withholding tax entries exist for the item selected in table WITH_ITEM (extended withholding tax) or the die withholding tax fields in table BSEG are not filled.
The selection can also be made in test mode. If you do this, no changes are made in the database. You are therefore advised to run the program in test mode initially.
Regards
Aditya -
Note for TW withholding tax data
Hi,
Who knows is the note about the latest uploading format of withholding tax data for Taiwan published?Hello
The SAP note number is 1662886 -2011 Changes on Taiwan Tax Medium File.
The note is currently in state "Inprocess" and have not yet been released.
Please check the sap service market place "www.service.sap.com/notes" for the note release status.
Thanks and Kind Regards
Ramana -
Problem creating A/R Invoice with Withholding tax data via DI-Server
Hi!
Using the following SOAP Request to the DI-Server, I wanted to create an A/R Invoice having a withholding tax data but it always respond with an error saying
Total taxable amount of all rows exceeds the base amount [INV5.TaxbleAmnt][line: 1]
SOAP Request:
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<SessionID>203A3C01-7808-4638-8322-2307DF3C0F8F</SessionID>
</env:Header>
<env:Body>
<dis:Add xmlns:dis="http://www.sap.com/SBO/DIS">
<Service>InvoicesService</Service>
<Document>
<DocType>dDocument_Items</DocType>
<HandWritten>tNO</HandWritten>
<DocDate>2010-02-08</DocDate>
<DocDueDate>2010-02-08</DocDueDate>
<TaxDate>2010-02-08</TaxDate>
<VatDate>2010-02-08</VatDate>
<CardCode>NPI</CardCode>
<Comments>test di-server soap message 1</Comments>
<DocumentLines>
<DocumentLine>
<ItemCode>TRC</ItemCode>
<Quantity>1</Quantity>
<Price>1000</Price>
<TaxCode>OVAT</TaxCode>
<VatGroup>OVAT</VatGroup>
<TaxLiable>tYES</TaxLiable>
<WTLiable>tYES</WTLiable>
</DocumentLine>
</DocumentLines>
<WithholdingTaxDataCollection>
<WithholdingTaxData>
<WTCode>C140</WTCode>
<TaxableAmount>1000</TaxableAmount>
<WTAmount>100</WTAmount>
</WithholdingTaxData>
</WithholdingTaxDataCollection>
</Document>
</dis:Add>
</env:Body>
</env:Envelope>
OVAT rate above is 10%.
The withholding tax code C140 is setup as
rate=10,
Category=Payment,
Base Type=Net,
% Base Amount = 100,
Rounding Type = Commercial Values.
We are using the New Zealand/Australia localization in SAP B1 2007A PL49.
The above code can be successful only if I set the <WithholdingTaxDataCollection> node to:
<WithholdingTaxDataCollection>
<WithholdingTaxData>
<WTCode>C140</WTCode>
<TaxableAmount>0</TaxableAmount>
<WTAmount>100</WTAmount>
</WithholdingTaxData>
</WithholdingTaxDataCollection>
setting TaxableAmount equal to 0 which is not desired.
Can anyone extend me some help, please?
Thanks.Albert,
Did you try adding this via the DI API and not the DI Server? Do you get the same error? Please see this SAP Note ...
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0001303019
Eddy -
hi,
how do we delete the withholding tax data for a document after it has been cleared. user has mistakenly entered the invoice as withholding but it should not.
how can we fix this.
Thanks
SivaramHi
you have to reverse and reset clearing the document with FBRA and post again without witholding tax.
BR Tarik -
User exit for billing to change vbrk header data on SAVE
Hi
I need to change vbrk header data on save in vf01
transaction, can some one send me the user exit,
also code if possible.
I have tried out RV60AFZZ it is entering the exit
but if i modify vbrk fields it does not get
reflected.
Thanks & Regards
Abhimanyu.LHave a look in include RV60AFZC
=> maybe you can use form USEREXIT_FILL_VBRK_VBRP. -
BAPI_INCOMINGINVOICE_CREATE: Withholding tax data is not coming
Dear all,
I am using this BAPI to create Incoming Invoice. I am populating the Headerdata and Itemdata table. Then the invoice which is created doesnt have Withholding Tax Data Information.
Even I tried to populate withtaxdata table, but didnt find the soln.
The code is as shown below:
DATA: t_headerdata LIKE STANDARD TABLE OF bapi_incinv_create_header WITH HEADER LINE,
t_itemdata LIKE STANDARD TABLE OF bapi_incinv_create_item WITH HEADER LINE,
t_withtaxdata LIKE STANDARD TABLE OF bapi_incinv_create_withtax WITH HEADER LINE,
t_return LIKE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
v_invoicedocnumber LIKE bapi_incinv_fld-inv_doc_no,
v_fiscalyear LIKE bapi_incinv_fld-fisc_year,
v_bukrs TYPE bukrs.
DATA: v_knumv LIKE konv-knumv,
v_kschl LIKE konv-kschl.
LOOP AT itab1.
tabix = 0.
IF tabix = 0.
LOOP AT itab2 WHERE ebeln = itab1-ebeln.
MOVE-CORRESPONDING itab2 TO itab3.
APPEND itab3.
ENDLOOP.
tabix = 1.
ENDIF.
SORT itab3 BY ebelp.
count = 0.
v_netamt = 0.
LOOP AT itab3 WHERE ebeln = itab1-ebeln.
v_menge = v_menge + itab3-tot_ton.
v_dmbtr = v_dmbtr + itab3-frt_amt.
AT END OF ebelp.
count = count + 1.
t_itemdata-invoice_doc_item = count.
READ TABLE itab3 WITH KEY ebeln = itab1-ebeln
ebelp = itab3-ebelp.
IF sy-subrc = 0.
t_itemdata-po_number = itab3-ebeln.
t_itemdata-po_item = itab3-ebelp.
t_itemdata-item_amount = v_dmbtr.
t_itemdata-quantity = v_menge.
t_itemdata-po_unit = itab1-meins.
t_itemdata-item_text = itab1-text.
t_itemdata-tax_code = 'V0'.
*Condition Type
SELECT SINGLE knumv
FROM ekko
INTO v_knumv
WHERE ebeln = itab1-ebeln.
IF sy-subrc = 0.
SELECT SINGLE kschl
FROM konv
INTO v_kschl
WHERE knumv = v_knumv
AND kposn = itab3-ebelp
AND ( ( kschl = 'FRC1' ) OR ( kschl = 'FRB1' ) ).
IF sy-subrc = 0.
t_itemdata-cond_type = v_kschl.
ENDIF.
ENDIF.
APPEND t_itemdata.
CLEAR: v_menge, v_dmbtr.
ENDIF.
ENDAT.
v_netamt = v_netamt + itab3-frt_amt.
ENDLOOP.
t_headerdata-invoice_ind = 'X'.
t_headerdata-doc_date = itab1-inv_date.
t_headerdata-pstng_date = itab1-budat.
t_headerdata-ref_doc_no = itab1-refno.
SELECT SINGLE bukrs INTO v_bukrs FROM ekko WHERE ebeln = itab1-ebeln.
IF sy-subrc = 0.
t_headerdata-comp_code = v_bukrs.
ENDIF.
t_headerdata-currency = itab1-waers.
t_headerdata-gross_amount = v_netamt.
t_headerdata-bline_date = itab1-budat.
t_headerdata-item_text = itab1-text.
t_headerdata-diff_inv = itab1-lifnr.
t_headerdata-business_place = '1000'.
APPEND t_headerdata.
t_withtaxdata-wi_tax_type = 'C1'.
t_withtaxdata-wi_tax_code = 'C1'.
t_withtaxdata-wi_tax_base = v_netamt.
APPEND t_withtaxdata.
t_withtaxdata-wi_tax_type = 'C2'.
t_withtaxdata-wi_tax_code = 'C2'.
t_withtaxdata-wi_tax_base = v_netamt.
APPEND t_withtaxdata.
t_withtaxdata-wi_tax_type = 'C3'.
t_withtaxdata-wi_tax_code = 'V3'.
t_withtaxdata-wi_tax_base = v_netamt.
APPEND t_withtaxdata.
CLEAR: v_netamt.
break bsfdev.
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
EXPORTING
headerdata = t_headerdata
ADDRESSDATA =
IMPORTING
invoicedocnumber = v_invoicedocnumber
fiscalyear = v_fiscalyear
TABLES
itemdata = t_itemdata
ACCOUNTINGDATA =
glaccountdata =
MATERIALDATA =
TAXDATA =
withtaxdata = t_withtaxdata
VENDORITEMSPLITDATA =
return = t_return
CLEAR errflag.
LOOP AT t_return.
IF t_return-type EQ 'E'.
it_message-text = 'Error in function'.
it_message-text1 = t_return-message.
it_message-po_number = itab1-ebeln.
it_message-exnum = itab1-exnum.
APPEND it_message.
errflag = 'X'.
ELSE.
ENDIF.
ENDLOOP.
IF errflag IS INITIAL.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
it_message-po_number = itab1-ebeln.
it_message-text = 'Error in updating'.
it_message-text1 = t_return-message.
APPEND it_message.
EXIT.
ELSE.
*Fill Temporary table
LOOP AT itab3.
IF v_invoicedocnumber <> space.
it_message1-po_number = itab3-ebeln.
it_message1-po_item = itab3-ebelp.
it_message1-doc_number = itab3-belnr.
it_message1-invoicedocno = v_invoicedocnumber.
it_message1-exnum = itab1-exnum.
APPEND it_message1.
zpending_challan-po_number = itab3-ebeln.
zpending_challan-po_item = itab3-ebelp.
zpending_challan-doc_number = itab3-belnr.
zpending_challan-exnum = itab3-exnum.
zpending_challan-invoicedocno = v_invoicedocnumber.
zpending_challan-menge = itab3-tot_ton.
zpending_challan-dmbtr = itab3-frt_amt.
zpending_challan-budat = itab3-budat.
INSERT zpending_challan FROM zpending_challan.
COMMIT WORK.
CLEAR: zpending_challan.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
IF errflag IS INITIAL.
count = count + 1.
CONCATENATE count 'Purchase Order Posted Out of ' no_recs1
INTO text1 SEPARATED BY space.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
text = text1
CONCATENATE 'Invoice Document No' v_invoicedocnumber 'generated'
INTO text1 SEPARATED BY space.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
text = text1
ENDIF.
CLEAR: t_headerdata[], t_headerdata,
t_itemdata[], t_itemdata,
itab3[], itab3.
ENDLOOP.
Kindly help. Its very urgent.
Thanks.
Vinod.Not used any more
-
Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?
Dear All,
I am trying to create Service AP Invoice through DI API.
If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
But if I change amount in above field then DI API throws error Unbalanced Transaction.
If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
Where I am doing wrong?
please guide.
Using:
SAP B1 version 9 Patch Level 11
Location : India.
Thanks.Hi ,
maybe you can find solution to these note 1812344
1846344 - Overview Note for SAP Business One 8.82 PL12
Symptom
This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
Solution
Patch installation options:
SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
Patch content:
SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
For details about the contained corrections, please see the SAP Notes listed in the References section.
Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
Patch download:
Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
Header Data
Released On
02.05.2013 02:34:18
Release Status
Released for Customer
Component
SBO-BC-UPG Upgrade
Priority
Recommendations/additional info
Category
Upgrade information
References
This document refers to:
SAP Business One Notes
1482452
IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
1650289
Printing Inventory Posting List for huge amount of data
1678528
Withholding amount in the first row is zeroed.
1754529
Error Message When Running Pick and Pack Manager
1756263
Open Items List shuts down on out of memory
1757641
Year-end closing
1757690
SEPA File Formats - New Pain Versions
1757898
Incoming Bank File Format
1757904
Outgoing Bank File Format
1762860
Incorrect weight calculation when Automatic Availability Check is on
1770690
Pro Forma Invoice
1776948
Calendar columns are wrong when working with Group View
1780460
OINM column description is not translated
1780486
UI_System crash when you set extreme value of double type to DataTable column
1788256
Incorrect User-Defined Field displayed in a Stock Transfer Request
1788372
ZH: 'Unacceptable Field' when export document to word
1788818
RU loc: No freight in the Tax Invoice layout
1790404
Cash Flow Inconsistency when Canceling Payment
1791295
B1info property of UI API AddonsInstaller object returns NULL value
1791416
Adding a new item to BoM is slow
1794111
Text is overlapping in specific localization
1795595
Change log for item group shows current system date in all the "Created" fields
1797292
Queries in alerts should support more query results
1800055
B1if_ Line break issue in inbound retrieval using JDBC
1802580
Add Journal Voucher to General Ledger report
1803586
Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
1803751
Period indicator of document series can be changed although it has been used
1804340
LOC_BR_Cannot update Nota Fiscal Model
1805554
G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
1806576
Payment Cannot Be Reconciled Internally
1807611
Cannot update UDF in Distribution Rule used in transactions
1807654
Serial No./Batch inconsistency by canceled Inventory Transfer
1808694
BR: Business Partner Code cannot be updated with CNPJ CPF error
1809398
CR_Cannot Display Related Multi-Value Parameters
1809758
Arrow key not work for Batch/Serial Number Transactions Report
1810099
Tax Amount is Recalculated Even if Tax Code Is Not Changed
1811270
Upgrade fails on Serial And Batches object with error code -10
1811846
Cannot run Exchange Rate Differences when multi branch is activated
1812344
Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
1812740
DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
1813029
US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
1813835
Wrong amounts of Goods Return in Open Item List
1814207
Preliminary page prints setting does not keep after upgrade
1814860
Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
1815535
RFQ: Web front end not displayed in supplier language
1815810
GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
1816191
BR:System Crashes While Working with Tax Code Determination Window
1816611
CR_Crystal Report Displayed Incorrectly Afte -
Change withholding tax type in FB60
Hi SAPexperts,
I have a doubt about withholding tax type using FB60
I've a customer that is a professional (subject a withholding tax type G --> 15%), but he rents me a building so he has other withholding tax type G (15%)
The withholding tax type applied in the invoice (G or H) depens on the kind of service that the customer done.
If I assign these two withholding tax type in the customer data master, when I create a customer invoice (by FB60) the system brings me two withholding tax type from data master. I have to delete one of them, unless the system applies doble tax in the invoice. It's not a good solution because I need a validation to not forget to detele one of them,..
If I assign only one withholding tax type in the customer data mater, when I create a customer invoice is not possible to chage the withholding tax type assigned by the system. I seems that It's impossible to apply another withholding tax type different from the data master.
If you have another idea,...
Thanks and ByeHi All,
Done.
Problem in To date. Todate is update as 31.12.2009.
So, changed to 31.12.9999.
Thank you very much to all of YOU.
Regards
Partha -
Changing Withholding tax base amount- 1099 payment
The scenario is:
Classic withholding tax functionality to be used for first time, the configuration was done last year.
1099 needs to be printed with all payments made out to the vendor.
There were payments made out to the Vendor in year 2011. There are some payments that show as WT exempt amount in RC and other payments are displayed as WT base amount in RC while running RFIDYYWT or 1099 print out report.
I used RFWT0020 program to regenerate the WT and Change to source tax code. It just updates the tax code on the payment document but is not changing the payment document amount from WT exempt to WTax base.
So the 1099 printout is not showing the total payments made, it is excluding WT exempt amount in total.
Any suggestions?
Thanks
Edited by: Gary_S321 on Jan 11, 2012 10:30 PMRebecca,
You need to update the WTax base amount field on all the payment documents that are blank.
For that just go to Vendor line item report FBL1n and run it for all the 1099 vendors. Change the layput to add WT base amount and WT Code in the report output. Filter the documennt type with payment doc types ZP and KZ and WTax base amount zero.
Extract these transactions into excel and then write LSMW to mass update these tax base amount field.
To update only Tax code on these transaction you can use RFWT0020 program.
Hope this helps.
Thanks -
Changing Withholding tax base amount- 1099 invoice
Hi Friends,
Need your help again.
Using T. Code FB09, i can change WHT base as long as the invoice is not cleared. However, how to change WHT base where a particular invoice has been cleared?
I have actually made some cchanges to configuration where by i have removed tick for 'line item not cleared'. Ideally with this setting it should allow me to change to WHT base. But the same is not happening.
Can any one help me out with any other steps that are involved.
Thanks in advance,
Regards,
RajanikanthHi Rajanikant,
Please review note 363650 here you will see the following
information;
C) Change Rules for classical and extended withholding tax
If the withholding tax base amount should be changed after a
docment has been paid already, the following steps are required:
For Classical Withholding Tax and only if the withholding tax
amount is zero.
Change of withholding tax base amount or withholding tax code of a
cleared invoice.
If the withholding tax base amount and/or the withholding tax code
needs to be changed after an invoice has been cleared please follow
steps;
As you see from the above information the following quotation "only if
the withholding tax amount is zero".
If a withholding tax amount other than zero has been posted, you cannot
change the values via transaction FB02.
Please also review the IMG documentation for transaction OB32 via
spro -> Financial accounting -> Financial accounting global settings
-> Document -> Line item -> Document change rules, line item.
here you will see the following information;
Document Change Rules, Line Item
In this activity, you determine under which circumstances fields within
posted documents can be changed.
Note
For a number of fields, the system itself determines that they can no
longer be changed after posting. This includes all fields which are
central to the principles of orderly accounting, for example, the amount
posted and the account.
The system also prevents the update objects from being changed in
documents which have already been posted, independent of the document
change rules
Thus as you can see from the above description if an amount has been
posted to the account you cannot change the fields despite entering in
the field in OB32 as changable.
with kind regards
Cora -
Clear Withholding tax data while posting customer invoice
Gurus,
I am trying to post Customer invoice document using FB01 transaction.
If the customer has with holding tax information available in Customer Master the corresponding information is getting posted into invoice document.
Is there any user exit, enhancement or substitution available to clear this with holding tax data.
Please do share if any code examples on this issue.
Appreciate your quick response.
Thanks,
SuneelDear AMD008
were you maintain properly in OB40 MWS (out put tax) relevant GL Account
Note: are you using NEW GL please conform me
Regards
shankar -
How to create A/R Invoice having Withholding Tax Data using DI-Server?
<P>Hi Experts,</P>
<P>I want to create an A/R Invoice having a Withholding Tax line
through DI-Server (SAP Business One 2005B PL43) using the following
SOAP Request (Method 1 and Method 2) but both generated an 'Invalid
XML' error response. If I exclude the WithholdingTaxData tag (or the
WithholdingTaxDataCollection tag) from the SOAP request, the invoice
is successfully created but without the Withholding Tax entry in the
table INV5.</P>
<P>I've had success in the past using the "<SerialNumbers>"
and "<DocumentsAdditionalExpenses>".
</P>
<P>In the SOAP Requests below, what is wrong with the usage of
"<WithholdingTaxData>" or
"<WithholdingTaxDataCollection>"?</P>
<P>Is it possible at all to create a document having Withholding Tax
entries using the DI-Server SOAP Request?</P>
<P>Thank you very much.</P>
<P><BR><BR>
</P>
<P>Method 1:</P>
<P>SOAP REQUEST (Using AddObject command):</P>
<P><?xml version="1.0" encoding="UTF-16"?><BR><env:Envelope
xmlns:env="<A HREF="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</A>"><BR> <env:Header><BR> <SessionID>08C5BB21-34E3-468E-952F-EEC1CBE19272</SessionID><BR> </env:Header><BR> <env:Body><BR> <dis:AddObject
xmlns:dis="<A HREF="http://www.sap.com/SBO/DIS">http://www.sap.com/SBO/DIS</A>"><BR> <BOM><BO><BR> <AdmInfo><BR> <Object>oInvoices</Object><BR> </AdmInfo><BR> <Documents><BR> <row><BR> <DocDate>20090520</DocDate><BR> <DocDueDate>20090619</DocDueDate><BR> <TaxDate>20090520</TaxDate><BR> <DocCurrency>EUR</DocCurrency><BR> <CardCode>MULTICURRBP</CardCode><BR> <ContactPersonCode>0</ContactPersonCode><BR> <Comments>Withholding
Tax
Liable</Comments><BR> <SalesPersonCode>1</SalesPersonCode><BR> </row><BR> </Documents><BR> <Document_Lines><BR> <row><BR> <ItemCode>MON001</ItemCode><BR> <Quantity>1.00</Quantity><BR> <WarehouseCode>cag01</WarehouseCode><BR> <UnitPrice>65.57</UnitPrice><BR> <Currency>EUR</Currency><BR> <VatGroup>SO</VatGroup><BR> <WTLiable>tYES</WTLiable><BR> </row><BR> </Document_Lines><BR> <WithholdingTaxData><BR> <row><BR> <WTCode>S<WTCode><BR> <WTAmountFC>14.43<WTAmountFC><BR> <TaxableAmountFC>65.57<TaxableAmountFC><BR> <GLAccount>207032<GLAccount><BR> </row><BR> </WithholdingTaxData><BR> </BO></BOM><BR> </dis:AddObject><BR> </env:Body><BR></env:Envelope></P>
<P><BR><BR>
</P>
<P>SOAP RESPONSE (Using AddObject command):</P>
<P><?xml version="1.0"?><BR><env:Envelope
xmlns:env="<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>"><BR> <env:Body><BR> <env:Fault><BR> <env:Code><env:Value>env:Sender</env:Value></env:Code><BR> <env:Reason><env:Text
xml:lang="en">Invalid
XML</env:Text></env:Reason><BR> <env:Detail><BR> <ErrorList><BR> <Error>System
Id = 18023032, Line Number = 1, Column Number = 1064, Description =
Expected end of tag
'GLAccount'</Error><BR> </ErrorList><BR> </env:Detail><BR> </env:Fault><BR> </env:Body><BR></env:Envelope></P>
<P><BR><BR>
</P>
<P>Method 2:</P>
<P>SOAP REQUEST (Using Add Service command):</P>
<P><?xml version="1.0" encoding="UTF-16"?><BR><env:Envelope
xmlns:env="<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>"><BR> <env:Header><BR>
<SessionID>1F6C7E11-CC5B-A5F3-0206-D1F4A8B9D84A</SessionID><BR> </env:Header><BR> <env:Body><BR> <dis:Add
xmlns:dis="<A HREF="http://www.sap.com/SBO/DIS">http://www.sap.com/SBO/DIS</A>"><BR> <Service>InvoicesService</Service><BR> <Document><BR> <DocDate>2009-05-20</DocDate><BR> <DocDueDate>2009-06-19</DocDueDate><BR> <TaxDate>2009-05-20</TaxDate><BR> <DocCurrency>EUR</DocCurrency><BR> <CardCode>MULTICURRBP</CardCode><BR> <ContactPersonCode>0</ContactPersonCode><BR> <Comments>Withholding
Tax
Liable</Comments><BR> <SalesPersonCode>1</SalesPersonCode><BR> <DocumentLines><BR> <DocumentLine><BR> <ItemCode>MON001</ItemCode><BR> <Quantity>1.00</Quantity><BR> <WarehouseCode>cag01</WarehouseCode><BR> <UnitPrice>65.57</UnitPrice><BR> <Currency>EUR</Currency><BR> <VatGroup>SO</VatGroup><BR> <WTLiable>tYES</WTLiable><BR> </DocumentLine><BR> </DocumentLines><BR> <WithholdingTaxDataCollection><BR> <WithholdingTaxData><BR> <WTCode>S<WTCode><BR> <WTAmountFC>14.43<WTAmountFC><BR> <TaxableAmountFC>65.57<TaxableAmountFC><BR> <GLAccount>207032<GLAccount><BR> </WithholdingTaxData><BR> </WithholdingTaxDataCollection><BR> </Document><BR> </dis:Add><BR> </env:Body><BR></env:Envelope></P>
<P><BR><BR>
</P>
<P>SOAP RESPONSE (Using Add Service command):</P>
<P><?xml version="1.0"?><BR><env:Envelope
xmlns:env="<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>"><BR> <env:Body><BR> <env:Fault><BR> <env:Code><env:Value>env:Sender</env:Value></env:Code><BR> <env:Reason><env:Text
xml:lang="en">Invalid
XML</env:Text></env:Reason><BR> <env:Detail><BR> <ErrorList><BR> <Error>System
Id = 134112056, Line Number = 1, Column Number = 1076, Description =
Expected end of tag
'GLAccount'</Error><BR> </ErrorList><BR> </env:Detail><BR> </env:Fault><BR> </env:Body><BR></env:Envelope></P><P STYLE="margin-bottom: 0in">Hi Experts,</P>
<P STYLE="margin-bottom: 0in">My apologies for the truncated message.
Here's the full one.</P>
<P STYLE="margin-bottom: 0in">I want to create an A/R Invoice having
a Withholding Tax line through DI-Server (SAP Business One 2005B
PL43) using the following SOAP Request (Method 1 and Method 2) but
both generated an 'Invalid XML' error response. If I exclude the
WithholdingTaxData tag (or the WithholdingTaxDataCollection tag) from
the SOAP request, the invoice is successfully created but without the
Withholding Tax entry in the table INV5.</P>
<P STYLE="margin-bottom: 0in">I've had success in the past using the
"<SerialNumbers>" and
"<DocumentsAdditionalExpenses>".
</P>
<P STYLE="margin-bottom: 0in">In the SOAP Requests below, what is
wrong with the usage of "<WithholdingTaxData>" or
"<WithholdingTaxDataCollection>"?</P>
<P STYLE="margin-bottom: 0in">Is it possible at all to create a
document having Withholding Tax entries using the DI-Server SOAP
Request?</P>
<P STYLE="margin-bottom: 0in">Thank you very much.</P>
<BR>
<P STYLE="margin-bottom: 0in">Method 1:</P>
<BR>
<P STYLE="margin-bottom: 0in">SOAP REQUEST (Using AddObject command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"
encoding="UTF-16"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"></P>
<P STYLE="margin-bottom: 0in"> <env:Header></P>
<P STYLE="margin-bottom: 0in"> <SessionID>08C5BB21-34E3-468E-952F-EEC1CBE19272</SessionID></P>
<P STYLE="margin-bottom: 0in"> </env:Header></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <dis:AddObject
xmlns:dis="http://www.sap.com/SBO/DIS"></P>
<P STYLE="margin-bottom: 0in"> <BOM><BO></P>
<P STYLE="margin-bottom: 0in"> <AdmInfo></P>
<P STYLE="margin-bottom: 0in"> <Object>oInvoices</Object></P>
<P STYLE="margin-bottom: 0in"> </AdmInfo></P>
<P STYLE="margin-bottom: 0in"> <Documents></P>
<P STYLE="margin-bottom: 0in"> <row></P>
<P STYLE="margin-bottom: 0in"> <DocDate>20090520</DocDate></P>
<P STYLE="margin-bottom: 0in"> <DocDueDate>20090619</DocDueDate></P>
<P STYLE="margin-bottom: 0in"> <TaxDate>20090520</TaxDate></P>
<P STYLE="margin-bottom: 0in"> <DocCurrency>EUR</DocCurrency></P>
<P STYLE="margin-bottom: 0in"> <CardCode>MULTICURRBP</CardCode></P>
<P STYLE="margin-bottom: 0in"> <ContactPersonCode>0</ContactPersonCode></P>
<P STYLE="margin-bottom: 0in"> <Comments>Withholding Tax
Liable</Comments></P>
<P STYLE="margin-bottom: 0in"> <SalesPersonCode>1</SalesPersonCode></P>
<P STYLE="margin-bottom: 0in"> </row></P>
<P STYLE="margin-bottom: 0in"> </Documents></P>
<P STYLE="margin-bottom: 0in"> <Document_Lines></P>
<P STYLE="margin-bottom: 0in"> <row></P>
<P STYLE="margin-bottom: 0in"> <ItemCode>MON001</ItemCode></P>
<P STYLE="margin-bottom: 0in"> <Quantity>1.00</Quantity></P>
<P STYLE="margin-bottom: 0in"> <WarehouseCode>cag01</WarehouseCode></P>
<P STYLE="margin-bottom: 0in"> <UnitPrice>65.57</UnitPrice></P>
<P STYLE="margin-bottom: 0in"> <Currency>EUR</Currency></P>
<P STYLE="margin-bottom: 0in"> <VatGroup>SO</VatGroup></P>
<P STYLE="margin-bottom: 0in"> <WTLiable>tYES</WTLiable></P>
<P STYLE="margin-bottom: 0in"> </row></P>
<P STYLE="margin-bottom: 0in"> </Document_Lines></P>
<P STYLE="margin-bottom: 0in"> <WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> <row></P>
<P STYLE="margin-bottom: 0in"> <WTCode>S<WTCode></P>
<P STYLE="margin-bottom: 0in"> <WTAmountFC>14.43<WTAmountFC></P>
<P STYLE="margin-bottom: 0in"> <TaxableAmountFC>65.57<TaxableAmountFC></P>
<P STYLE="margin-bottom: 0in"> <GLAccount>207032<GLAccount></P>
<P STYLE="margin-bottom: 0in"> </row></P>
<P STYLE="margin-bottom: 0in"> </WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> </BO></BOM></P>
<P STYLE="margin-bottom: 0in"> </dis:AddObject></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">SOAP RESPONSE (Using AddObject
command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://www.w3.org/2003/05/soap-envelope"></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <env:Fault></P>
<P STYLE="margin-bottom: 0in"> <env:Code><env:Value>env:Sender</env:Value></env:Code></P>
<P STYLE="margin-bottom: 0in"> <env:Reason><env:Text
xml:lang="en">Invalid XML</env:Text></env:Reason></P>
<P STYLE="margin-bottom: 0in"> <env:Detail></P>
<P STYLE="margin-bottom: 0in"> <ErrorList></P>
<P STYLE="margin-bottom: 0in"> <Error>System Id = 18023032,
Line Number = 1, Column Number = 1064, Description = Expected end of
tag 'GLAccount'</Error></P>
<P STYLE="margin-bottom: 0in"> </ErrorList></P>
<P STYLE="margin-bottom: 0in"> </env:Detail></P>
<P STYLE="margin-bottom: 0in"> </env:Fault></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">Method 2:</P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">SOAP REQUEST (Using Add Service
command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"
encoding="UTF-16"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://www.w3.org/2003/05/soap-envelope"></P>
<P STYLE="margin-bottom: 0in"> <env:Header></P>
<P STYLE="margin-bottom: 0in">
<SessionID>1F6C7E11-CC5B-A5F3-0206-D1F4A8B9D84A</SessionID></P>
<P STYLE="margin-bottom: 0in"> </env:Header></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <dis:Add
xmlns:dis="http://www.sap.com/SBO/DIS"></P>
<P STYLE="margin-bottom: 0in"> <Service>InvoicesService</Service></P>
<P STYLE="margin-bottom: 0in"> <Document></P>
<P STYLE="margin-bottom: 0in"> <DocDate>2009-05-20</DocDate></P>
<P STYLE="margin-bottom: 0in"> <DocDueDate>2009-06-19</DocDueDate></P>
<P STYLE="margin-bottom: 0in"> <TaxDate>2009-05-20</TaxDate></P>
<P STYLE="margin-bottom: 0in"> <DocCurrency>EUR</DocCurrency></P>
<P STYLE="margin-bottom: 0in"> <CardCode>MULTICURRBP</CardCode></P>
<P STYLE="margin-bottom: 0in"> <ContactPersonCode>0</ContactPersonCode></P>
<P STYLE="margin-bottom: 0in"> <Comments>Withholding Tax
Liable</Comments></P>
<P STYLE="margin-bottom: 0in"> <SalesPersonCode>1</SalesPersonCode></P>
<P STYLE="margin-bottom: 0in"> <DocumentLines></P>
<P STYLE="margin-bottom: 0in"> <DocumentLine></P>
<P STYLE="margin-bottom: 0in"> <ItemCode>MON001</ItemCode></P>
<P STYLE="margin-bottom: 0in"> <Quantity>1.00</Quantity></P>
<P STYLE="margin-bottom: 0in"> <WarehouseCode>cag01</WarehouseCode></P>
<P STYLE="margin-bottom: 0in"> <UnitPrice>65.57</UnitPrice></P>
<P STYLE="margin-bottom: 0in"> <Currency>EUR</Currency></P>
<P STYLE="margin-bottom: 0in"> <VatGroup>SO</VatGroup></P>
<P STYLE="margin-bottom: 0in"> <WTLiable>tYES</WTLiable></P>
<P STYLE="margin-bottom: 0in"> </DocumentLine></P>
<P STYLE="margin-bottom: 0in"> </DocumentLines></P>
<P STYLE="margin-bottom: 0in"> <WithholdingTaxDataCollection></P>
<P STYLE="margin-bottom: 0in"> <WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> <WTCode>S<WTCode></P>
<P STYLE="margin-bottom: 0in"> <WTAmountFC>14.43<WTAmountFC></P>
<P STYLE="margin-bottom: 0in"> <TaxableAmountFC>65.57<TaxableAmountFC></P>
<P STYLE="margin-bottom: 0in"> <GLAccount>207032<GLAccount></P>
<P STYLE="margin-bottom: 0in"> </WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> </WithholdingTaxDataCollection></P>
<P STYLE="margin-bottom: 0in"> </Document></P>
<P STYLE="margin-bottom: 0in"> </dis:Add></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">SOAP RESPONSE (Using Add Service
command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://www.w3.org/2003/05/soap-envelope"></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <env:Fault></P>
<P STYLE="margin-bottom: 0in"> <env:Code><env:Value>env:Sender</env:Value></env:Code></P>
<P STYLE="margin-bottom: 0in"> <env:Reason><env:Text
xml:lang="en">Invalid XML</env:Text></env:Reason></P>
<P STYLE="margin-bottom: 0in"> <env:Detail></P>
<P STYLE="margin-bottom: 0in"> <ErrorList></P>
<P STYLE="margin-bottom: 0in"> <Error>System Id =
134112056, Line Number = 1, Column Number = 1076, Description =
Expected end of tag 'GLAccount'</Error></P>
<P STYLE="margin-bottom: 0in"> </ErrorList></P>
<P STYLE="margin-bottom: 0in"> </env:Detail></P>
<P STYLE="margin-bottom: 0in"> </env:Fault></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
Maybe you are looking for
-
I am getting an error 7 (windows error 999) message and can't uninstall iTunes or install new versions of iTunes on my PC? Any suggestions?
-
I am thinking of buying Apple TV, I own a Panasonic Vizio HD Tv 55 inch, with wireless access. On the Vizio I am able to access Amazon Video. I know Apple TV does not allow access to Amazon, however with Apple TV would I be able to access amazon thro
-
Hi experts. I have a PLD based on sales quotation in SAP B1 2007A PL38. On this pld I currently have 2 amount fields. One is for sub totals and the other one for regular line totals. The reason for two fields is based on the fact that sub totals shou
-
OCIServerAttach() coredump with Oracle10.2 64bit on X64 platform
hi, i get a problem using OCI to connect to server. On X64 platform, Solaris10 system, and 64bit Oracle10.2 release, when i use OCIServerAttach() to attach a server, it will core dump. However, with the same code and same Oracle version, on a spark p
-
hi thanks every body ya somebody said that now most of the companies r using TAXINN and SAP also recommends to use TAXINN. so what would be the SD pricing procedures should be used. i think JFACT formula based. (should use formula based only