cancel
Showing results for 
Search instead for 
Did you mean: 

DI Server Error 480000152 - Invalid credit card number - 10 asterisks not allowed

darren_blaby
Explorer
0 Kudos

Hi All,


We have a product which is adding/updating addresses on business partners through the DI Server. One business partner is failing to update with the following error : 480000152 - Invalid credit card number - 10 asterisks not allowed

I have searched across the knowledge base and SCN but have been unable to find any information as to why this is happening.

If anyone is able to help it would be much appreciated.

Request and response xml below.


Request:


<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

  <env:Header>

  <SessionID>84560079-3604-4430-81dd-f7e4a1ea120b</SessionID>

  </env:Header>

  <env:Body>

  <UpdateObject CommandID="Update Object CUS000004" xmlns="http://www.sap.com/SBO/DIS">

  <BOM xmlns="">

  <BO>

  <AdmInfo>

  <Object>oBusinessPartners</Object>

  </AdmInfo>

  <QueryParams>

  <CardCode>CUS000004</CardCode>

  </QueryParams>

  <BusinessPartners>

  <row />

  </BusinessPartners>

  <BPAddresses>

  <row>

  <AddressName>Shell Triangle SS</AddressName>

  <AddressType>bo_ShipTo</AddressType>

  </row>

  </BPAddresses>

  </BO>

  </BOM>

  </UpdateObject>

  </env:Body>

</env:Envelope>

Response:


<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

  <env:Body>

  <env:Fault>

  <env:Code>

  <env:Value>env:Receiver</env:Value>

  <env:Subcode>

  <env:Value>-5002</env:Value>

  </env:Subcode>

  </env:Code>

  <env:Reason>

  <env:Text xml:lang="en">480000152 - Invalid credit card number - 10 asterisks not allowed</env:Text>

  </env:Reason>

  <env:Detail>

  <Object>2</Object>

  <ObjectIndex>1</ObjectIndex>

  <Command>UpdateObject</Command>

  <CommandID>Update Object CUS000004</CommandID>

  <SessionID>8C19D9E1-B6BD-42D1-87BD-5A7FADE5DCDF</SessionID>

  </env:Detail>

  </env:Fault>

  </env:Body>

</env:Envelope>

Thanks in advance,

Darren

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Darren,

-5002 is an undocumented error, which means basically that the structure of the sent data is incorrect. In nearly all cases, the message is of no help.

I don't have the xsd describing the object under the eyes, but are you sure of the structure of the BPAddresses/row content? AddressName whitout AddressID? If the structure is correct (I doubt, but another conversation)do an address already exists with the same name?

Regards,

Eric

darren_blaby
Explorer
0 Kudos

Hi Eric,

Thanks for the reply.

I am positive that the BPAddress xml is structured correctly as a call to GetBusinessObjectXmlSchema returned the following definition for the BPAddresses

<element name="BPAddresses">

  <complexType>

    <sequence>

      <element name="row" minOccurs="0" maxOccurs="unbounded">

        <complexType>

          <all>

            <element name="AddressName" type="string" minOccurs="0"/>

            <element name="Street" type="string" minOccurs="0"/>

            <element name="Block" type="string" minOccurs="0"/>

            <element name="ZipCode" type="string" minOccurs="0"/>

            <element name="City" type="string" minOccurs="0"/>

            <element name="County" type="string" minOccurs="0"/>

            <element name="Country" type="string" minOccurs="0"/>

            <element name="State" type="string" minOccurs="0"/>

            <element name="FederalTaxID" type="string" minOccurs="0"/>

            <element name="TaxCode" type="string" minOccurs="0"/>

            <element name="BuildingFloorRoom" type="string" minOccurs="0"/>

            <element name="AddressType" type="string" minOccurs="0"/>

            <element name="AddressName2" type="string" minOccurs="0"/>

            <element name="AddressName3" type="string" minOccurs="0"/>

            <element name="TypeOfAddress" type="string" minOccurs="0"/>

            <element name="StreetNo" type="string" minOccurs="0"/>

            <element name="GlobalLocationNumber" type="string" minOccurs="0"/>

            <element name="Nationality" type="string" minOccurs="0"/>

          </all>

        </complexType>

      </element>

    </sequence>

  </complexType>

</element>

Also if the address already existed I would expect to get the error "This entry already exists in the following tables".

It looks like the DI Server is trying internally to set the Credit Card number field even though this is not being passed on the request.

Thanks,

Darren

Former Member
0 Kudos

Hi Darren,

-5002 means, as I said, that the structure of the sent data is not correct. The given error message (CreditCard Number) is not necessary the real error (and very often is very far in fact).

If updating an address, is the program providing only the address to update or all existing addresses of the BP?

Is the program updating others fields than the address at the same time?

Regards,

Eric

former_member241304
Active Participant
0 Kudos

Hi Darren Blaby,

Go through the below link,i think it will helpful to you.