cancel
Showing results for 
Search instead for 
Did you mean: 

"PARSING"GENERAL Error When ABAP Proxy to SOAP interfacing (ECC to PI)

Former Member
0 Kudos

Dear All , I'm trying to send data from ECC to SOAP by ABAP proxy i'm getting error in the ECC itself like below . i have tested RFC its working fine then AAE also . But i could find the solution for this to resolve . Kindly help me .

-

-   XIProtocol   GENERAL               com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.mapping.MappingException: Runtime Exception when executing application mapping program com/sap/xi/tf/_MM_MAIL_ID_212_; Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element /ns0:attr. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:663) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:470) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at Thanks Vignesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

This is new error i'm getting now

former_member186851
Active Contributor
0 Kudos

Hello Vignesh,

Remove the SWCV from the inbound processing of ICO and check

Former Member
0 Kudos

now mapping error is coming

Former Member
0 Kudos

Please check the flow of ICO. Check whether it is referring valid service interface or operation mapping.

Former Member
0 Kudos

Its syn interface in Service interface i have used the External definition and mapped the same and tried same error , and created Message type with the same structure and used same for SI and MM same error is coming .. can you help me .

former_member186851
Active Contributor
0 Kudos

Did you try removing the SWCV?

Former Member
0 Kudos

ya removed .. but still the same mapping error

Former Member
0 Kudos

ya its referring the correct SI and OM only ..

Former Member
0 Kudos

can we have team viewer if u wish ?

vishnu_pallamreddy
Contributor
0 Kudos

Hi Vignesh,

Did u select protocol as XI in sender CC?

former_member186851
Active Contributor
0 Kudos

Vignesh what is the error your getting now

Former Member
0 Kudos

ya its the XI 3.0 .

Former Member
0 Kudos

the same error Raghu ...   XIProtocol   GENERAL               com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.mapping.MappingException: Runtime Exception when executing application mapping program com/sap/xi/tf/_MM_MAIL_ID_CRATE_REQ_; Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element /ns0:MT_MAIL_ID_CRATE_REQ. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:663) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:470) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at

former_member186851
Active Contributor
0 Kudos

Vignesh did you check the payload in mapping?

vishnu_pallamreddy
Contributor
0 Kudos

Hi Vignesh,

Please check is there any filed with 1.1 occurrence in your structure.

and please pass that value for that field and test in Test tab of mapping.

and please post that test results screen shot.

Former Member
0 Kudos

its no error in the OM

former_member186851
Active Contributor
0 Kudos

Vignesh you downloaded the payload from RWB and checked in mapping?

vishnu_pallamreddy
Contributor
0 Kudos

try with out values in those fields...

and post your data types screen shots source and target

Former Member
0 Kudos

Hello Vignesh,

Based on this error, please check if the business and technical systems are properly defined in SLD.

To check, in ECC, please run the t-code SLDCHECK. You must get some error in red in ECC.

Regards,

Souvik

Former Member
0 Kudos

hi when i check the message monitor, the payload is looking diffrent from the ECC SXMB_Moni payload . its looks like the below image

but in the ECC moni the payload massage is like below

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

- <n0:p2.createCustomerEmailRequest xmlns:n0="http://sap_customer_data_to_webpage.com" xmlns:prx="urn:sap.com:proxy:VND:/1SAI/TAS68C680407360E0DC15F9:701:2013/05/24">

<Customer_ID>1003060</Customer_ID>

<Password>Aa@1234</Password>

</n0:p2.createCustomerEmailRequest>


what is happening i dont know ..






Former Member
0 Kudos

SLD is Working Good

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi VIgnesh,

Are you checking the correct message bcz the ECC payload and PI one are looking different.

Pls make sure your are selecting the right one.

Coming to the issue, pls check whether the payload structure is same as that of defined data type structure. Some deviation is happening here. Pls cross check on it

former_member186851
Active Contributor
0 Kudos

Vignesh I guess your checking the incorrect payload.Search with the interface and get the payload

former_member186851
Active Contributor
0 Kudos

Hello Vignesh,

Check  your paylod

Former Member
0 Kudos

Getting Error like below   XIProtocol   GENERAL               com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:663) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:470) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202) at

Former Member
0 Kudos
iaki_vila
Active Contributor
0 Kudos

Hi Vignesh,

You error is in the message mapping with your current payload the message mapping can not create the tag /ns0:attr, and this tag seems to be mandatory. Take the payload from the monitoring and go to the mapping _MM_MAIL_ID_212_ and test it. You will have the exception, later go to check the the queue son the message mapping in the attr tag to see why there is not value mapped.

Regards.