on 08-04-2011 9:36 PM
Hi Friends,
AgrmntID,Company_Code,Vendor_No,PurDoc_Type,ValidPeriod_Start,ValidPeriod_End,Pur_Group,Currency,Incoterms,Item_Cat,Tax_Code,Part_No,Document_Desc,Net_Price,Tgt_Qty,Price_Unit,Plant,Price_Revision
002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,5100000102515,CARD-Twiglets Original 45g x 12,0,1,10,AM04,N
002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,5100000102515,CARD-Twiglets Original 45g x 12,0,1,10,AM04,N
002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,6000005,CARD-Twiglets Original 45g x 12,0,125.00,145,AN03,N
002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,5100000102515,CARD-Twiglets Original 45g x 12,0,1,10,AM04,N
002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,6000005,CARD-Twiglets Original 45g x 12,0,125.00,145,AN03,N
that is csv file am trying to convert to xml. but am getting error "Cannot create target element /ns1:MT_CONTRACT. Value missing in queue context."
my data types is: MT_CONTRACT_SNDR MT_CONTRACT
SUB_ELEMENT: Recordset Recordset
SUB_ELEMENT: Item Item
SUB_ELEMENTS: AgrmntID AgrmntID
Company_Code Company_Code
Vendor_No Vendor_No
like this all the 18 elements under Item node. I kept Recordset occurance 0-1 and Item 0-Unbound and all 18subelements as 0-1 in both sender and receiver. And in content conversion:
Document Name: MT_CONTRACT_SNDR
Document Offset: 1
Recordset Structure: Item,*
Record Sequence: Asending
Recordsets per Massage: 1
Key Field Type: String (Case-Sensitive)
Item.fieldSeperator : ,
Item.endSeperator: 'nl'
Item.fieldNames: AgrmntID,Company_Code,Vendor_No,PurDoc_Type,ValidPeriod_Start,ValidPeriod_End,Pur_Group,Currency,Incoterms,Item_Cat,Tax_Code,Part_No,Document_Desc,Net_Price,Tgt_Qty,Price_Unit,Plant,Price_Revision
KINDLY SUGGEST ME WHAT MISTAKE AM DOING. AM NEW TO SAP PI
This is absolutely related to the Content conversion. You need to pay attention on it.
Use http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm in adapter module
or use http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm or
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please someone answer this error, am stuck from many days. Am unable to find proper solution. Even our basis team unable to solve. kindly help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are many possible reasons for this error. THe problem is at the receiving SAP system (ECC) for sure.
you might want to check these links
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
I have this error in audit log. On searching I read that the error is connectivity problem between abap stack and java stack. but I made restart the server but error not cleared. can anyone of you suggest me to solve?
Audit Log for Message: 7c06ee0d-d70b-406f-07bc-f56228cc1d6a
Time Stamp Type Description
10.08.2011 18:05:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for ZFM_SRM_CONTRACT_CREATE with TID XIV0Rk3TSBG6y7lFLYACmTQW.
10.08.2011 18:05:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for J2EE_GUEST with TID XIV0Rk3TSBG6y7lFLYACmTQW.
10.08.2011 18:05:07 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.
10.08.2011 18:05:07 Error Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught..
10.08.2011 18:05:07 Information The message status was set to WAIT.
10.08.2011 18:05:07 Information The asynchronous message was successfully scheduled to be delivered at Wed Aug 10 18:10:07 IST 2011.
10.08.2011 18:10:07 Information The message status was set to TBDL.
10.08.2011 18:10:07 Information Retrying to deliver message to the application. Retry: 1
10.08.2011 18:10:07 Information The message was successfully retrieved from the receive queue.
10.08.2011 18:10:07 Information The message status was set to DLNG.
Time Stamp Type Description
10.08.2011 18:10:07 Information Delivering to channel: CC_Contrct_Recivr
10.08.2011 18:10:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for ZFM_SRM_CONTRACT_CREATE with TID XIV0Rk3TSBG6y7lFLYACmTQW.
10.08.2011 18:10:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for J2EE_GUEST with TID XIV0Rk3TSBG6y7lFLYACmTQW.
10.08.2011 18:10:08 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.
10.08.2011 18:10:08 Error Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught..
10.08.2011 18:10:08 Information The message status was set to WAIT.
10.08.2011 18:10:08 Information The asynchronous message was successfully scheduled to be delivered at Wed Aug 10 18:15:08 IST 2011.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal / Sanjeev,
Sorry those are not two times. actually they were sender and reciever.
Sender data type is: MT_CONTRACT_SNDR
SUB_ELEMENT: Recordset
SUB_ELEMENT: Item
SUB_ELEMENTS: AgrmntID
Company_Code
Vendor_No
Receiver data types is: MT_CONTRACT
SUB_ELEMENT: Recordset
SUB_ELEMENT: Item
SUB_ELEMENTS: AgrmntID
Company_Code
Vendor_No
As you both suggested I compared the payload from SXMB_MONI with payload in test of message mapping. I found a small error. Actually I copied the scenario from other namespace,
I made neccessary changes but in massage type I dint change namespace, that I found when I compared the payloads as you both suggested. thank you so much.
Now am using same file for File to RFC asyncro scenario, to create contract in SRM7.0 using PI 7.1. But am getting this error. My sender message type is MT_CONTRT_FTP_SENDER and receivers is ZFM_SRM_CONTRACT_CREATE. the error is:
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
chk whether u have mentioned correct parameters under RFC reveiver adapter...like application server, system number and all..
http://www.riyaz.net/blog/understanding-the-rfc-adapter/technology/sap/42/
Hi Naveen,
It seems the content conversion is not happening properly. Check in sxmb_moni to see if the XML payload created after Content conversion is as per the Data type defined.
Copy this XML in test tab to check if the XML created confirms to the data type definition.
Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Copy the payload from sxmb_moni and test it in mapping too. This is a queue related issue. Looks like the mandatory field in the target looks for values but mapping does not provide to the target structure element. so you get this error. Debug the data in the mapping tool. That is the best solution.
I also dont understand repeating Recordset two times Item two times etc in structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.