RE: Field Tax number 2 is not expected in sales orders
We have a web application for placing the orders for end customers in Italy .This application is connected to SAP by RFC interface .
While placing the order on web shop, there is one field for input selection – “Tax code or VAT Registration No.” along with other required fields . Normally user put VAT registration number in this field on web shop when he place the order .When order comes in SAP through RFC,this VAT registration is updated in the ship to party details (In sales order header–>partner–>VAT registration ). This process is being followed from 4 years .
From last one week whenever user place the order on web shop after putting the vat registration the sales order comes in SAP and ship to party also gets updated with VAT registration which is expected but the issue is tax number 2 in payer (Sales order header partner tab)is also getting updated with the same number . Earlier there was no issue as tax number 2 was not getting updated and used to remain blank . Due to this issue , invoice is not getting released as tax number 2 value is being passed to invoice header.
Could you pls tell me where should we check this issue as for 4 years we were following the same process and did not face any issue .
Is there any recent upgrade?
Are there any changes to RFC or any object which is being used in this application?
What is the RFC that you are using and which method (BAPI, BDC etc.,) you are following to create SO?
And finally (so many questions… to be on same page), what is happening when you debug this from RFC?