Skip to Content
author's profile photo Former Member
Former Member

Error during XML => ABAP conversion

hello friends,

i have developed a Proxy-jdbc scenrio.

It is a synchronous scenario and we are fetching data from DB table.

My scenario is working when the scenario is picking up the data

but it gives this exception when the data is not fetched.

PARSE_APPLICATION_DATA Error during XML => ABAP conversion (Response Message; er

ror ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXSDABFC3DD3A67815C3F7B XML Bytepos.: 9485

XML Path: n0:MT_REQUEST_response(1)STATEMENT1_response(2) Error Text: System exp

ected the end of the element 'STATEMENT1_response'))

the OB message type is MT_request and IB message type is MT_request_response.

IN response message type i am collecting the response of 2 DB statements.

Statement_respnse and Statement1_response.

i am facing this exception when the data is not selected and no data is put in response message.

please let me know if more information regaring this scenario.

help me to find the solution of this problem.

thanks

kannu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jan 26, 2010 at 04:31 PM

    When the database does not have any data to send it should send an empty record set object in the stored procedure (if you are using one).

    VJ

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 26, 2010 at 04:57 PM

    in your proxy logic make sure that if there is no data to be processed, the outbound proxy interface is not called or initiated.

    this will avoid such issues

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2010 at 05:16 PM

    where do u find this error adapter, mapping?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 27, 2010 at 12:26 PM

    It is giving you error as you are passing null value for executing your statement query.

    Please stop this null value mapping execution in mapping, if value is not available in your source payload,

    do not execute your query.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      thanks,

      we are passing the request query at every instace but we are facing the exception when the data is not there

      for that select query.

      like we are passing a batch in the select query and the data is not present in the db table for that Batch.

      response message is empty and then the exception is raised.

      the exception is raised when the data is not fetched.

      thanks

      kannu

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.