Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Error while inserting the data in MS SQL Database using stored procedure in receiver JDBC structure

$
0
0

Dear Experts,

     I am trying to use stored procedure in the JDBC receiver scenario. When I am firing the scenario from the R/3 server using client proxy I am getting a clean transaction with chequered flag in SXMB_MONI. But when I am checking in RWB I am getting the following error:

 

 

  I have mentioned the name of the stored procedure in the TABLE field and EXECUTE in the action field in the receiver JDBC structure. The input payload generated is as follows:

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

-<n0:MT_R3MSSQL_PRXY xmlns:n0="http://bccl.com/pi/R3MSSQL" xmlns:prx="urn:sap.com:proxy:PPR:/1SAI/TASB3581579EF8F3D728B29:701:2011/07/20">

-<DATA>

<BUKRS>1000</BUKRS>

<REP_FORM>MIS</REP_FORM>

<PABRJ>2011</PABRJ>

<PABRP>003</PABRP>

<REP_NAME>BRANCH PERFORMANCE</REP_NAME>

<GRP1>MYSORE</GRP1>

<GRP2>TOI</GRP2>

<SRNO>044</SRNO>

<ENAME>Other Direct AFC</ENAME>

<CY_FTM>6672.00</CY_FTM>

<PY_FTM>12545.00</PY_FTM>

<VAR_FTM>-46.82</VAR_FTM>

<BUD_FTM>12538.13</BUD_FTM>

<CY_VAR_F>-46.79</CY_VAR_F>

<CY_YTD>26501.00</CY_YTD>

<PY_YTD>39104.00</PY_YTD>

<VAR_YTD>-32.23</VAR_YTD>

<BUD_YTD>37614.39</BUD_YTD>

<CY_VAR_Y>-29.55</CY_VAR_Y>
</DATA>

</n0:MT_R3MSSQL_PRXY>

 

 

Can somebody guide how to overcome the error which I am getting while inserting the data in the database.

 

Thanking You

 

Regards

 

Suhas

 

 

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'dbo.ZFT_MIS_DATA_BRANCH_KP_modify' (structure 'STATEMENT'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'access' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>