How to fetch the VAT registration number of the ship to party from billing

Dear SDN Team
How to fetch the VAT registration number of the ship to party from the billing document.  Can you proide some information for fetching the VAT registration number of the ship to party.
Normally only the payer VAT registration number will be displayed in the Invoice.  But in my case the Ship to party VAT number is displayed. 
I have resolved this problem by doing the customizing setting in order to have the payer vat registration number.  But for the Old Billing documents it is more than 30,000 documents where it was printed with the ship to party VAT number.  So i need to identify those documents.
Can you please help to resolve this problem.
With Regards,
Jai

Hi,
To get VAT from the ship to from Billing, You have to first fetch the BILLING NUMBER from the VBRK and then goto the Document flow in VBFA to get the SALES DOCUMENT NUMBER and with sales document you will get the SHIP TO number from the VBPA with the PARVW = SH
Once you got the SHIP TO , then goto the KNA1 and get the VAT ID in the field STCEG
so the logic will be as follows
VBRK---VBELN and then
VBFA--VBELN with the document Category as C
VBPA-VBELN and get the  KUNNR with PARVW =SH
Now with KUNNR ( ship to ) get the VAT ID from KNA1-STCEG
regards,
santosh

Similar Messages

  • Determining the VAT registration number

    Hi All,
    As per my understanding, we can control Determining the VAT registration number through Certain pre defined rules (first either Sold to Party or Bill to Party & then Ship to Party).
    My requirement is to determine VAT Reg number based on Ship to Party which is not there in standard VAT determination rule.
    Can some one guide me if there is any enhancement / Exit or any other config available through which I can make Determining the VAT registration number based on Ship to Party.
    Regds
    Amit Kumar

    Hello Raghavendra,
    Thanks, The issue has been resolved as per SAP note suggested by you.
    Amit

  • ISO code 57 is not correct in the VAT registration number

    Hi Gurus,
    When we are trying to upload the customer master data, while entering the VAT No it is saying the following error:
    ISO code 57 is not correct in the VAT registration number
    Message no. AR191
    Could some body help me out.
    regards
    Srikanth

    Hi,
    Reason can be due to,
    The length of the VAT number, which is important for this check,
    is stored in field UINLN.
    If the check comes across an invalid format, an incorrect country key, or an incorrect check digit, the exception NOT_VALID is triggered, and an error message is sent.  If the check runs successfully, nothing will be drawn to the attention of the user.
    The check rules are stored in table T005 in the field PRUIN.
    There are few rules defined for
    1          Maximum value length, without gaps
    2          Maximum value length, numerical, without gaps
    3          Length to be kept to exactly, without gaps
    4          Length to be kept to exactly, numerical, without
    5          Maximum value length
    6          Maximum value length, numerical
    7          Length to be kept to exactly
    8          Length to be kept to exactly, numerical
    9          Check against country-specific edit format
    0          Deactivate Postal Code Check for USA

  • The VAT registration number already exist while extending the CMR

    Hi All,
    We are already having a customer master record for two sales area(one for spain and another one for Netherland). Now we are extending the customer to a new sales area for the country Romania.
    But while extending  the customer we are getting the error message "The VAT registration number already exist".
    Awiting your reply.
    Thanks in advance.
    Sushanta

    Hi,
    Just make sure that your customer  basic country belong to the European Union. You need to select the OTHER Tab of the Vat Registration number . Enter Romania and its respective VAT number.
    Just try this and let me know if it working or Not.
    Regards
    Balachandar

  • ISO code LU is not correct in the VAT registration number

    HI,
    Can a France customer have the Luxembourgish VAT registration number. If Yes. how can i configure this?

    Hi,
    Reason can be due to,
    The length of the VAT number, which is important for this check,
    is stored in field UINLN.
    If the check comes across an invalid format, an incorrect country key, or an incorrect check digit, the exception NOT_VALID is triggered, and an error message is sent.  If the check runs successfully, nothing will be drawn to the attention of the user.
    The check rules are stored in table T005 in the field PRUIN.
    There are few rules defined for
    1          Maximum value length, without gaps
    2          Maximum value length, numerical, without gaps
    3          Length to be kept to exactly, without gaps
    4          Length to be kept to exactly, numerical, without
    5          Maximum value length
    6          Maximum value length, numerical
    7          Length to be kept to exactly
    8          Length to be kept to exactly, numerical
    9          Check against country-specific edit format
    0          Deactivate Postal Code Check for USA

  • How to get a VAT ID/NUMBER on the invoices?

    I have a Pay-As-You-Go subscription and I was wondering where I could enter the VAT ID/NUMBER of my company so that it appears on the monthly invoices?
    When I navigate to commerce.microsoft.com/PaymentHub/Profile and select my Business Account I can edit all the fields and I can enter the company name and in the bottom my VAT ID but when I click on the Save button the Developer Tools is showing
    me a HTTP 500 error:
    {"ErrorMessage":"Error has occurred while processing the ajax call","ErrorCode":0,"ExceptionType":"System.MissingMethodException"}
    I cannot post an image because my account is not verified (yet).
    Thanks in advance

    Hi Gabriel,
    For your issue, I suggest you can contact Azure billing support for more details, It is the best choice for you currently.
    Please try this channel:
    http://www.windowsazure.com/en-us/support/contact/
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ISO code 0 is not correct in the VAT registration number

    Hello everyone!
    Where can I adjust this error message so that I can make it as a Warning only? Thank you.
    Message No. AR191   --  ISO code 0 is not correct in the VAT registration number

    Dear Marlon
    Goto
    IMG>SAP Netweaver>general setting>set countries>Define Countries in mySAP Systems>select the coutry and double click on it>u will get properties tab under which  ISO code is defined. Here u have to enter country name in ISO CODE and ISO code 3 char [enter the relevant 3 char as per your country.
    Also check Set Country-Specific Checks--> double click on country and check the length and checking rule (ex vat reg no)
    Hope your problem will be resolved
    Regards
    Sandeep Bhowmick
    Edited by: Sandeep Bhowmick on Sep 29, 2009 12:00 PM

  • Wrong VAT registration number in billing document

    Hi All,
    We have issue of wrong VAT Registration Number determined in the billing document for the departure country SK & Destination country DE. In one case system has determined the own co, tax number in the VAT registration number and other case ship-to party's VAT registration number for same partner.
    As per business wants ship to party VAT number only.it was created few days back.
    Pls advaise on this.
    Thanks,
    naveen

    Hello Naveen
    For tax exempt, Intra-EU  transactions, you need to specify both the VAT registration number of the company code and that of the customer. See the SAP documentation link below.
    I don't have any advice on the config for the issue- why it prints co code VAT registration number once and that of SH party another time.
    Please go through the following OSS note and those mentioned within for complete guidance on customizing for VAT for EU countries. There's a lot of stuff to take care of.
    653544 - EU2004:New members of Europ.Union as of 01/05/2004
    Help Documentation: http://help.sap.com/erp2005_ehp_04/helpdata/EN/e5/07804b4acd11d182b90000e829fbfe/frameset.htm

  • VAT Registration number in F.12

    Do we have any way to get the VAT Registrator number in the report (S_ALR_87012357) or in any other tax reports. Kindly let me know
    Regards
    Madhava

    Ourslef

  • Wrong Vat registration number in S_ALR_87012357- Advance tax return

    Hi All,
    When we run the report S_ALR_87012357, the Vat registration number of the customer is appearing as wrong. It is picking up the Vat registration number of the company code, instead of the one maintained in the customer master data.
    Can somebody please help me with this?
    Regards,
    Abhishek

    The std SAP report does not have the VAT # - It looks somebody added the VAT info to the report. Please check the config under SPRO.
    Additionally, I think this comes from the Plant and NOT Co Cd.

  • Copying vendor's VAT registration number into FI Document

    How do I get the vendor's VAT registration number from the vendor's master record to copy into the FI Document when posting a vendor invoice via tcode F-43.
    Now, BSEG-STCEG is always blank now on all our vendor invoices.  Also, the branch account, BSEG-FILKD, is blank.  All vendor invoices are manual journals via F-43.
    I think I need to configure SAP so that the user must also enter the Branch Account when posting to a vendor in tcode F-43.  Then, I think that SAP standard will lookup the Branch Account Vendor to copy in the VAT registration number into BSEG-STCEG.
    I see that my customer invoices posted via SD are correctly being populated with the Branch Account of the Sold-To customer. 
    I further see that SAP standard code in MF05AI10_STCEG_PRUEFEN appears to only update BSEG-STCEG via the Branch Account (BSEG-FILKD) and not via the vendor (BSEG-LIFNR).

    Hi All,
    I'm facing the same problem, kindly let me know how do I get the Vendor's VAT registration number while posting invoice. As every time when I'm trying to post vendor invoice the system ask for the customer number and the Reporting country and pick up the VAT reg. no. from the customer master base and not from the vendor master base.

  • Dealing with error:AR191-ISO code in VAT Registration Number in Cust Master

    Hi,
    While creating a Customer Master, user wants to enter a VAT Registration number (in the control data tab) which begins with a country code(ISO code) that is not the country code of the company code for which the customer is created.
    As a standard practice, system prevents this throwing error AR191 suggesting that ISO Code not correct in VAT Reg. number
    Is there any way by which we can still allow user to enter a VAT registration number of his choice & requirement, which is not beginning with the ISO code of the country in which company code exists
    See example below:
    Country of Company Code XYZ :UK
    Customer Created in this company code should ideally have VAT Reg. Number starting with ISO code for UK but user wants to have a different VAT Reg. Number used which is not starting with ISO Code of UK.
    Is there option available in SAP by means of which we can deactivate this check?
    In the configuration for u2018set country specific changeu2019, we can select options based on the length of the VAT Reg. Number and itu2019s formatting but how can we get rid of the check on ISO code?
    Thanks in advance
    Regards,
    BM

    The length of the VAT number, which is important for this check,
    is stored in field UINLN.
    If the check comes across an invalid format, an incorrect country key, or an incorrect check digit, the exception NOT_VALID is triggered, and an error message is sent. If the check runs successfully, nothing will be drawn to the attention of the user.
    The check rules are stored in table T005 in the field PRUIN.You can deactivate the following rules.......
    1 Maximum value length, without gaps
    2 Maximum value length, numerical, without gaps
    3 Length to be kept to exactly, without gaps
    4 Length to be kept to exactly, numerical, without
    5 Maximum value length
    6 Maximum value length, numerical
    7 Length to be kept to exactly
    8 Length to be kept to exactly, numerical
    9 Check against country-specific edit format
    10 Deactivate Postal Code Check for USA
    Please do this.
    Regards,
    Dhrubashis De

  • VAT Registration Number & VAT code & VAT rate

    Hello Gurus,
    I am trying to find out,
    1) How can I retrieve (either via a table lookup or function module) a list of VAT codes & VAT rates by   
        Legal Entity and Country?
    2) How can I retrieve (either via a table lookup or function module) the VAT Registration number by Legal
        Entity/Country/RE?
    Any table or function module which can provide me the data is fine.
    Please help.
    Thanks in advance.

    Hi Kumail,
    1. List VAT Codes : use table T007A
        VAT Rates : You can use table KONP, or use function module GET_TAX_PERCENTAGE
    2. VAT Registration Number is usually maintained in Tax Number 1 in Vendor Master, so you can found it in table LFA1-STCD1

  • VAT registration number in combination with country and company code

    Hi,
    Is there configuration where we can define the VAT registration number with combination of country and company code.
    thanx in advance

    Hi,
    Thanx for the reply.bt the issue is like we have a condition type zvat where condition table have the following fields departure country and destination country,The country of our company code is GB and we maintain a record for condition type zvat i.e GB (departure country) to GB (destination country) 17.5%.While creating a contract if vat is applicable we told user to maintain country GB in both the fieds i.e tax departure country and tax destination country in billing tab at header level of the contract .It is working fine for other company where  company code country is different then GB.But for this where company code  country is GB.An error occurs i.e.There is no vat registration number fot this comapny code XXXX for  country GB.
    Now how should i go about it?

  • INTRASTAT Dispatch Report not Showing VAT Registration Number

    Hi
    we have currently set-up the intrastat report in our systems, during the testing of the scenarios we notice that for dispatch (RVEXST00) report the line item for returns does not display the VAT registration number, am not sure if anyone encounter this problem before. We would like to know is this common or could be a bug in the program. We could not find any references pertaining to this topic, hope to have some feedback.
    Regards
    Ken

    Read the below SCN details:-
    VEFU - Manual add entries for INTRASTATE declaration
    Regards
    Waza

Maybe you are looking for

  • Dual monitor set up and problems/solutions?

    I have just started to do event photography using 17" MBP running Aperture 2.1.3, a 23" ACD and Nikon D3 with Elinchrom DLite4s and printing to a Mitsubishi CP9800. First event when very well, but as anticipated it threw up some problems. Some I'm pr

  • How to put variables in WAD

    Gurus, I'm new to WAD. Please could you guide me how to have variables in WAD (for planning). Right now When I launch the WAD it pops up for all the variables. But what I want is that it should not ask for any variable while launching the WAD and lat

  • "Font not found on the system" for work logo font

    I just started a new job and every single AI file I work with in illustrator is using VTypewriterRoyal - the company logo. It automatically defaults to Myriad with the msg: "Font not found on the system; missing font has been substituted." I've spent

  • AJAX call function

    i have all my functions in a java class file....how do i call the function using ajax? does anyone know? thx

  • Caching in Web Logic

    Hi, I wanted to find out if the BEA WebLogic Server does any HTTP-level caching at all with respect to both entire documents (eg: gif images, static HTML files) as well as partial documents (eg: JSP fragments). Any inputs would be much appreciated, T