‎2008 Jul 01 2:48 PM
Hi,
I have to write an ABAP program to check VAT numbers before making any VAT declaration. SAP checks the logic of the number, however it does not check if a VAT number is still valid for that company. The European Commission has a website (http://ec.europa.eu/taxation_customs/vies/) where you can check centrally all VAT numbers used in the EU. According to the Commission's web site it should be possible to have an open interface. A SOAP service is available (Its WSDL file can be obtained also on the website).
Does anyone has an idea how this can be done (Current SAP version = SAP ECC 6.0) taken into account there is no XI (or IP) aviable or set up or used.
Thanks,
Jan
‎2008 Jul 01 3:02 PM
Hi ,
Chk these examples:
http://abaplovers.blogspot.com/2008/02/calling-browser-from-abap.html
Thanks,
Keerthi.
‎2008 Jul 01 3:21 PM
Hi,
The examples are calling a browser but that is not what we are looking for. What we are looking for is (via ABAP) to send our http request and receive back the anwser. They (http://ec.europa.eu/taxation_customs/vies/) provide the SOAP message (WSDL : (http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl). My question is if it is possible witout using XI and yes how? If I understand it correctly is should be possible via ABAP (example program RSWF_TEST_HTTP), but if I create my own program I get the message HTTP-Receive: RC=400 ICM_HTTP_CONNECTION_FAILED. Maybe the ABAP code is correct, but maybe I should change some settings or configure something else.
Jan
‎2009 Nov 25 7:47 PM
You need to set up a webservice with SOAMANAGER - and in ABAP code call the WS interface to pull values to and from the webservice.
‎2008 Jul 15 6:26 PM
We are having the same problem. Did you find a solution?
Thanks,