cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Adress in CreateBusinessPartner

Former Member
0 Kudos

Hi everyone,

I'm working with Enterprise Service "BusinessPartnerDataManagementManageBusinessPartnerIn", and I have a problem with operation "CreateBusinessPartner".

When I executed this operation passing the structure "AddressInformation" I got the exception CX_XO_INVALID_PARAMETER.

I check the data in the structure, and I think it's well-formed.

Do anyone knows what can be the problem?

Thanks in advance.

LUIS B.

PD: The XML I use for test is the following:

<?xml version="1.0" encoding="utf-8"?>

<n0:BusinessPartnerCreateRequest_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:BSD:/1SAI/TAS1D2B4B4EC2F3E72931F6:710:2008/01/11">

<BusinessPartner>

<CategoryCode>1</CategoryCode>

<BasicData>

<Common>

<KeyWordsText>20246005009</KeyWordsText>

<VerbalCommunicationLanguageCode>es</VerbalCommunicationLanguageCode>

<NaturalPersonIndicator>true</NaturalPersonIndicator>

<CustomerUndesirableReasonNote languageCode="es"></CustomerUndesirableReasonNote>

<UsageControl>

<ReleasedIndicator>true</ReleasedIndicator>

</UsageControl>

<Person>

<Name>

<FormOfAddressCode>0002</FormOfAddressCode>

<GivenName>Oslvaldo</GivenName>

<FamilyName>Laport</FamilyName>

</Name>

<GenderCode>2</GenderCode>

<BirthPlaceName languageCode="es"></BirthPlaceName>

<BirthDate>1983-07-28</BirthDate>

<MaritalStatusCode>1</MaritalStatusCode>

<NationalityCountryCode>AR</NationalityCountryCode>

</Person>

</Common>

<AddressInformation>

<PostalAddress>

<CountryCode>AR</CountryCode>

<RegionCode>00</RegionCode>

<CityName>Ciudad</CityName>

<StreetPostalCode>1100</StreetPostalCode>

<StreetName>Calle</StreetName>

<HouseID>123</HouseID>

<TimeZoneCode>UTC-3</TimeZoneCode>

<RegionalStructureAddressConsistencyStatusCode>1</RegionalStructureAddressConsistencyStatusCode>

</PostalAddress>

</AddressInformation>

</BasicData>

<Identification>

<PartyIdentifierTypeCode>0001</PartyIdentifierTypeCode>

<BusinessPartnerID>24600500</BusinessPartnerID>

</Identification>

</BusinessPartner>

</n0:BusinessPartnerCreateRequest_sync>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

After the installation of the new Support package, this problem was resolved. So, I assumed that was a problem in standard code that SAP corrected for new versions.