Skip to Content
0
Former Member
May 03, 2013 at 05:00 PM

Code Undefined when trying to use AddBP2 call in B1iF mobile web scenario

34 Views

We're trying to develop an application that makes use of the B1iF mobile web services but run into issues when trying to add a business partner using the AddBP2 call. We get an error "code undefined" back as a response. We're using a series pulled from NNM1 that has already been defined in SAP and assuming that we can fill in any value for the cardcode. Is there a reason we might get the DI code undefined error back from this SOAP call?

Content-Type:text/xml;charset=UTF-8\r\n

\r\n

<?xml version="1.0" encoding="UTF-8"?>\r\n

<SOAP-ENV:Envelope xmlns:SOAP-ENV="\r\n" _mce_href="http://schemas.xmlsoap.org/soap/envelope/">\r\n">http://schemas.xmlsoap.org/soap/envelope/">\r\n

<SOAP-ENV:Body>\r\n

<AddBP2>\r\n

<CardCode>1</CardCode>\r\n

<CardName>IntelliTouch Test</CardName>\r\n

<CardType>cCustomer</CardType>\r\n

<Series>46</Series>\r\n

<PhoneNum>2223334444</PhoneNum>\r\n

<Email>test@intellitouchdigital.com</Email>\r\n

<Address>123 Main St</Address>\r\n

<ContactPerson>John Svoboda</ContactPerson>\r\n

intellitouchdigital.com \r\n

</AddBP2>\r\n

<Connect xmlns="\r\n" _mce_href="http://tempuri.org/">\r\n">http://tempuri.org/">\r\n

<userName>manager</userName>\r\n

<password>axelprod</password>\r\n

<phoneNum>8109087256</phoneNum>\r\n

<deviceIMEI>84:8F:69:B1:20:1D</deviceIMEI>\r\n

<companyDB>AxelTestII</companyDB>\r\n

</Connect>\r\n

</SOAP-ENV:Body>\r\n

</SOAP-ENV:Envelope>\r\n

\r\n