cancel
Showing results for 
Search instead for 
Did you mean: 

Country ISO Code

Former Member
0 Kudos

Hi All,

I'm developing a report that creates a XML file and I need to get the ISO codes for the country of origin of customers / suppliers.

I've checked that the Country BO doesn't have the ISO 3-letter 3166 codes

http://userpage.chemie.fu-berlin.de/diverse/doc/ISO_3166.html

Does anyone know if this information is available?

Accepted Solutions (0)

Answers (2)

Answers (2)

knutheusermann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fernando,

ByD offers a web service to query and read ByD Code Lists:

For country codes the web service request looks as follows:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

   <soapenv:Header/>

   <soapenv:Body>

      <glob:CodeListByIDQuery_sync>

         <CodeListSelectionByID>

            <SelectionByCodeDataType>

               <Name>CountryCode</Name>

               <NamespaceURI>http://sap.com/xi/AP/Common/GDT</NamespaceURI>

            </SelectionByCodeDataType>

            <SelectionByLanguageCode>EN</SelectionByLanguageCode>

         </CodeListSelectionByID>

      </glob:CodeListByIDQuery_sync>

   </soapenv:Body>

</soapenv:Envelope>

Best regards,

Knut

0 Kudos

Hi Fernando,

ByD uses the 2 digit ISO codes instead.

https://en.m.wikipedia.org/wiki/ISO_3166-1_alpha-2

Hope this helps.

Best regards

Marlene