Skip to Content
avatar image
Former Member

RESPONSE ERROR FROM SALESFORCE

Hi Gurus,

I am Creating an interface(Outbound) from ECC to Salesforce through PI.

The records are successfully getting appended to SALESFORCE, Even in SXMB_MONI am getting success message.

But am getting the following error after executing the proxy(Report).

PARSE_APPLICATION_DATA Error during XML => ABAP conversion: Response Message; CX_ST_MATCH_ELEMENT in /1SAI/TXSECB5B1FE369D756182B9 Line 16 System expected the element '{http://soap.sfo

Its a synchronous Proxy to SOAP scenario.


Since its synchronous scenario it sends reply with below fields filled.

i.e

1) ERROR .

2) RESULT.

The reply is easily seen through transaction SXMB_MONI but why the reply is not getting populated in program,why am i getting the above error ?

And How to fix the same ?

Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 23, 2015 at 09:42 AM

    Hi,

    Refer to this solved thread if its the same in your case

    Regards,

    Dipen.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Dipen,

      Nope the link wont fix my problem. Here am getting the xml message as response from salesforce to ECC. When i check in SXMB_MONI t-code the message from Salesforce are appearing but the same is not getting populated in proxy program.

      Regards,

      Vikram.

  • Jul 23, 2015 at 10:32 AM

    Hi Vikram,

    The deserialization problems on the proxies come mainly for two circumstances. You have a XSD with a type that is not supported by the ABAP proxies or you have a XSD with a restriction (for example a min value or number of digits) that produces these issues. This problem comes because the ABAP proxy can't instance one class because:

    1. The 1 reason, it can't generate a right class. If you have xsd:any, the ABAP class generator interprets only one tag but with that definition it can come a tag hierarchy and this produces the issue.

    2. The 2 reason you have a tag with 5 digits but it is coming for example "123" because in somewhere the first three zeros are being missed.

    My advice is to do the more easy schema possible to connect via the ABAP proxy. If it is possible with xsd:string and without restrictions. Of course, you can use another types, but try to use the simplest.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Inaki Vila,

      All the fields which are sent from ECC are of type xsd:string and even the result (reply from salesforce) is of datatype string  (i.e ERROR and RESULT ).

      I want to know if there is any possibility of whatever the result which am getting in SXMB_MONI from salesforce can be populated in my program.

      Because no data is getting filled when am executing the method from my report.

      Lastly thanks for saving me yesterday 😳.

      Regards,

      Vikram.