Error in RFC to FTP asynchronous scenario
Hi Experts,
I have created RFC to File(FTP) scenario in SAP PI 7.31 AEX(java only) server.
When I execute RFC in sender SAP server, it gives run-time error(dump) as "call to messaging system failed".
But it successfully creates text file in target FTP server.
In message monitoring I found 2 messages for this.
First has status 'Canceled' with below message log,
Second message has status as 'Log Version' with no message log and with below message details.
Please suggest/guide me how to rectify this run-time error.
Thanks,
Amit Patil
Hi Jens,
I tried your suggestion, but couldn't work.
But I found 1 doubtful thing which is Quality of Service. It is found as
Quality of Service
BE
in message details of 1st message.
Also in message content of 1st message it is as
9/18/2014 1:36:51.053 PM
Information
File adapter receiver: processing started; QoS required: BestEffort
I don't know from where is getting set as 'BE'. It should be 'EO' since my scenario is asysnchronous.
Please suggest.
Thanks,
Amit Patil
Similar Messages
-
Gettinfg error in RFC to Web Service scenario
hi friends,
I am getting the following error while configuring RFC to Web Service scenario.
I have used the ws :http://webservices.imacination.com/distance/Distance.jwsPlease help me out.
<!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Hi
check this thread
Getting error in target SOAP communication channel
regards
krishna -
IDOC to SOAP asynchronous scenario Error handling
Need an expert!!!!!!!!! advise on error handling for IDOC--PI--
SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
Appreciate your help.
ManishHello Manish,
My question is how i can do error handling in this scenario.
Use the standard alert framework. Search on SDN / SAP Help for details.
do i need to use BPM and if that is tthe case what will be steps.
BPM is not required to raise alerts, as this is an async call.
Regards,
Neetesh -
Rfc---xi---web service scenario error
Hi All,
I am doing rfc-xi--webservice synchronous scenario.
I followed this blog steps
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
I have deployed my own webservice and when i use it with xml spy it works fine.
But when i try to execute it from RFC module I got this error.
CALL_FUNCTION_REMOTE_ERROR
In XI monitoring both messages are with red status and i got theses error is xi message monitoring
<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
- <!-- ************************************
-->
<Trace level="2" type="T">......attachment XI_Context not found</Trace>
<Trace level="3" type="T">Append context with name =ppActivated and value =false</Trace>
<Trace level="3" type="T">Das Mapping wurde bereits in der Interface-Ermittlung bestimmt.</Trace>
<Trace level="3" type="T">Objekt-Id des Interface-Mappings DA022058F9BB3E548D9760DEFC9240DA</Trace>
<Trace level="3" type="T">Versions-Id des Interface-Mappings 2A29312036EB11DDBE1AE1ED8D2C2629</Trace>
<Trace level="1" type="T">Interface-Mapping http://www.dummy.com/xi/01 IM_calculate</Trace>
<Trace level="3" type="T">Mapping-Schritte 1 JAVA com/sap/xi/tf/_MM_ws_dum_req_</Trace>
<Trace level="3" type="T">Dynamische Konfiguration ( http://sap.com/xi/XI/System/RFC ppActivated false )</Trace>
<Trace level="2" type="T">Modus 0</Trace>
<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_ws_dum_req_.</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_ws_dum_req_</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_ws_dhl_req_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_DHL/productid. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.
I checked message mappings and those were correct
Any help or guidence please,
Regards
hussaanHI,
I tried to do that. When I test in IR it works but when I use XMl file to test as you indicated I am getting errors
I do not Know why.
Error is
Start of test
Compilation of MM_WS_DUM_REQ successful
Document start
Start tag [ns1:MT_TESTDDUM]
Add raw attribute [ xmlns:ns1="urn:DUM_FreightVi"]
Cannot produce target element /ns1:MT_TESTDUM/CALCULATE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns1:MT_TESTDUM/CALCULATE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
16:38:37 End of test
I changed xml namespace in Message Type as it is indicated in How-to guides and other forums
Waiting for response
Regards
Hussaan -
Hello All,
I am working on File to RFC Asynchronous Scenario. I am getting Error in M receiver RFC adapter. It is displaying in Adapter Monitoring as
<b>- Error: 2007-10-03 05:28:38 EDT: Message processed for interface BAPI_CUSTOMER_CREATEFROMDATA1: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was</b>
Can any help how to resolve this.
RegardsHi,
The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:
Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.
Sender Interface: The name of the RFC function module.
Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions
Receiver Party/Receiver Service: These fields are empty. This will match the wildcard '*'.
Chilla -
Hi all,
My scenario is rfc to soap asynchronous. when i am sending data from rfc it is showing success in sxmb_moni and in RWB.
but it is reaching to third party webservice but it is not taking the data. then it is showing following error in SXMB_MONI response what was the issue
*<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
*- <!-- Call Adapter*
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>HTTP 415 Unsupported Media Type</SAP:AdditionalText>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
and the version are PI 7.1, and third party webservice is Oracle 11g and weblogic server 10.3.2.0
and my next question is in same scenario
I checked using TCP Gateway PI to third party webservice .it is showing following error
This is posted data
POST /AdvancedMeteringInfrastructure-UtilitiesDeviceERPSmartMeterBulkCreateRequest-context-root/UtilitiesDeviceERPSmartMeterBulkCreateRequest_OutPort?wsdl HTTP/1.0
*Accept: /*
Host: 172.16.5.211:7002
User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
content-id: payload-a3368e536e4311dfa3dc00237d5e14c0(at)sap.com
content-type: application/xml
Content-Length: 1662
SOAPACTION: "http://sap.com/xi/IS-U/Global2/UtilitiesDeviceERPSmartMeterBulkCreateRequest_Out"
<?xml version="1.0" encoding="UTF-8"?>
<ns1:UtilitiesDeviceERPSmartMeterBulkCreateRequest xmlns:ns1="http://sap.com/xi/SAPGlobal20/Global"><MessageHeader><ID schemeID="Device" schemeAgencyID="www.infotech.com">4446364534314343</ID><UUID schemeID="Device" schemeAgencyID="www.infotech.com">DF6E41CC-79E7-81F1-B9A3-0013725B3FAB</UUID><CreationDateTime>2010/06/02 T18:07:42</CreationDateTime><TestDataIndicator>true</TestDataIndicator><ReconciliationIndicator>true</ReconciliationIndicator><SenderBusinessSystemID>SLD_B001</SenderBusinessSystemID><RecipientBusinessSystemID>SLD_B002</RecipientBusinessSystemID></MessageHeader><UtilitiesDeviceERPSmartMeterCreateRequestMessage><MessageHeader><ID schemeID="Device" schemeAgencyID="www.infotech.com" schemeAgencySchemeAgencyID="001">4446364534314343</ID><UUID schemeID="Device" schemeAgencyID="www.infotech.com">DF6E41CC-79E7-82F1-B9A3-0013725B3FAB</UUID><CreationDateTime>2010/06/02 T18:07:42</CreationDateTime><TestDataIndicator>true</TestDataIndicator><ReconciliationIndicator>true</ReconciliationIndicator><SenderBusinessSystemID>SLD_B001</SenderBusinessSystemID><RecipientBusinessSystemID>SLD_B001</RecipientBusinessSystemID></MessageHeader><UtilitiesDevice><ID schemeID="DEID" schemeAgencyID="115">1200000120001564</ID><StartDate>2010.06.02</StartDate><EndDate>9999.12.31</EndDate><SerialID>1200000120001564</SerialID><MaterialID schemeID="MaterialID" schemeAgencyID="MPL_002">85</MaterialID><ProductUniqueItemID schemeID="Smart Meter" schemeAgencyID="MPL_002">SM1165HS</ProductUniqueItemID></UtilitiesDevice></UtilitiesDeviceERPSmartMeterCreateRequestMessage></ns1:UtilitiesDeviceERPSmartMeterBulkCreateRequest>
ERROR
HTTP/1.1 415 Unsupported Media Type
Connection: close
Date: Wed, 02 Jun 2010 12:26:33 GMT
Content-Length: 0
X-ORACLE-DMS-ECID: 0000IZsc9VaF^6WFLzyGOA1Bpe3k00007J
X-Powered-By: Servlet/2.5 JSP/2.1
Please give me the solution.
Thanks
AnilHi,
looks like there can be a problem with the webservice provider to which you are passing the data via SOAP adapter...
check that webservice using some other tools like XMLSPY or SOAPUI...
if everything is fine with that then test the entrie scenario by passing the same data...then you will get to know the exact problem...
HTH
Rajesh -
Error in RFC & to Solution Manager System
Hi,
Error in RFC & to Solution Manager System
can anyone tells me why this error occurs???
With regards
kulwinderFYI
We have just had same issue thaat in certain scenarios with RFC communication BACK to Solution Manager from Satellite system we got the error. We resolved this by looking at the RFC user used in the BACK connection (i.e. SOLMAN<SID>) on the Solution Manager and changing the user type from communications.
Hope this helps someone else, I spent ages digging around for an answer to such a simple fix
Paul -
Random error IN RFC sender channel
Hi all,
Please note that in two different scenarios Same busness system is used but different Sender RFC channels and different Functional modules. In spite of this a random error is occuring. At times scenario works fine and some times it gives error.
"Wrong Sender Agreement:The Sender agreement doe
ot have channel Func_sender_cc"
No error report in SXMP_MONI.
Any clue please.
Regards
venkatHi,
Now it is clear very much there is no need of registaring programID specifically any where. Any programID first mentioned in Comunication channel and actived and then defined rfc destination using SM59 with same programID gives successfull test result.
Also for different RFC senders Different ProgramID shall be used to avoid the type errors faced by me.
Hope this helps all
cheers
Venkat -
How to test the RFC to Flat File scenario
Hi,
How to test the RFC to Flat File scenario
regards,
kiranHi,
After running the RFC it's going Dump.
this is the error message i got.
"Error analysis
An error occurred when executing a Remote Function Call.
"CPI-C error CM_RESOURCE_FAILURE_NO_RETRY"
Status of connection.... "CODE=CM_RESOURCE_FAILURE_NO_RETRY -1 -1 SAPCODE=666
CONV="
Internal error code.... "RFC_IO5"
There is an error in the communication system. To clarify
and resolve the error, contact your system administrator. " -
Hi,
I am getting an error in RFC. I am trying to implement the File to RFC scenario using BPM by Arpit Seth. /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit . Now I am getting some error in RFC. It is giving an error in BAPI_COMPANY_GETDETAIL.Exception in sxmb_moni. How do I find out what error it is and why is it happening.Hi,
Check the payload.
Next go to sxmb_moni_bpe.
Select the integration process.
Select the technical details button applicaiton tool bar / shift + F9.
You can find out at which step the error is thrown.
I had one peculiar problem once. While passing the company id you need to also specify leading zeros in the source document.
Hope itz of some help.
<b>Cheers,
*RAJ*</b> -
Acknowldegement in asynchronous scenario: is it sync or async
Dear community,
in an asynchronous scenario with a fault message type defined for the inbound interface, the handover of a message from XI to receiver consists of two steps:
Step 1: XI will send a message to the receiver
Step 2: The receiver will acknowledge positively or negatively.
Will Step 1 and Step 2 be handeled synchronously or will it be handeled asynchronously for async scenarios ?
The background of this question is resource-related. If the processing of a message is synchronous, processing of these two steps would block resources, which would be problematic for higher volumes.
Logically it seems as if this would all be async but I could not find a detailled spec and I need to know for sure.
Thanks a lot in advance !
JochenHi Jochen,
if you want to have the result of a message at the receiver you have 2 alternatives:
Synchronous:
+You get the errors at once
+You know very soon, what happend
-Bad performance, bcoz processing time may be for minutes stopped
-no connection (receiver offline) leads to an error
Asynchronous with acknowledgement:
-You get only sometimes an error acknowledgement
-The calling programm has no direct information
+Much better performance
+Queing mechanism allows automaticly and manually restart
Usually you try to build, if possible, asynchronous scenarios. But it depends on requirements.
Regards,
Udo -
Hi,
I have to carry out a RFC to multi-file scenario. The requirement is that Error generating on whatever part XI will handle have to be reported. Is this possible in this scenario? What can be the mechanism?
I want to report these errors via a mail to an e-mail id.
Since i haven't done this scenario, i would appreciate if some link for carrying this out step-by-step is given.Also tell me what configuration for receiving RFC has to be done on XI and R/3.Hi Arpit
<b>go through these blogs for the querry</b>
<b>For email alerts</b>
/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
/people/sap.user72/blog/2005/01/14/alert-management--improving-monitoring-of-your-landscape
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
You have to do SMTP Configuration for EMail and SMS.....
http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
Thanks !! -
Hi
I am trying to edit test partner script from eca script, but i am getting one error 'ecatt error ECATT_STORE_BLOB(2)
saving of blob denied for security reasons. you may not be in the edit mode of ecatt ' when i click on ok button it is telling error during RFC connection and whatever changes i made in test partner is not saved.
How to solve this problem. Please help me.Is it working fine in the standalone mode?
Refer to the below checklist for trouble shooting:
1) Maintenance of DSN settings to the databases - TP_EDIT and TP_EXEC
2) Maintenance of R/3 connection parameters
3) Refer eCATT Security guide
4) Refer OSS note - 519858
Please note that for an integration Scenario, the connection and user information is required so that appropriate rights are established automatically.
Hope this helps! -
"COMMUNICATION FAILURE" during JCo call. Error opening RFC connection
Hi
I am trying the following scenario
/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
In SM 59 test connection of AI_RUNTIME_JCOSERVER throws error " Error opening RFC connection"
Do I need to activate any service in SICF and do I need to do any IE configuration (sxmb_adm)
pls let me know the steps to solve this
thanks
manianHi Manian,
pls chk with ABAP system tha tu have given the correct PWD and CLNT No
Use
You need to create the following RFC destinations with both transaction SM59 (ABAP) and the Visual Administrator (Java):
● AI_RUNTIME_JCOSERVER
Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used for the mapping runtime, value mapping, and the exchange profile).
● AI_DIRECTORY_JCOSERVER
Points from the Integration Server to the Integration Builder. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used to refresh the runtime cache).
● LCRSAPRFC
The RFC destination LCRSAPRFC is required for the connection to the System Landscape Directory (SLD). It is used to read the exchange profile.
● SAPSLDAPI
The RFC destination SAPSLDAPI is required for the connection to the SLD. It is used by the ABAP API.
Depending on your client settings, it may be necessary to log on to your Integration Server host as SAP system user with the authorization to maintain customizing tables and to release transport orders.
User SAP* or DDIC does not have these authorizations
Thanx
Sampath -
Synchronous transmission with 2 asynchronous scenario's.
Hi All,
I have 2 asynchronous scenario's transferring file from one ftp location to another and vice-versa.
I want 2 start the second scenario only when the file sent by first scenario is successfully reached.
I want to know how and where to put this condition that transfer this file only when a particular file is present in that folder??
Regards,
Amit Sharma.Hi,
For this type of requirement you can do the following:
1) Create an additional file in target directory with same name as the file is pasted in the target directory but with different extension (example .eod file ) whenever the original file is picked from first interface.
2) Now for the second Interface to get executed check if ther is .eod file existing then pick the original file. (this can be done using additional file parameter option).
Regards,
Sainath Chutke
Maybe you are looking for
-
Error while running jms program in eclipse
Hi, Friends.I am new to forum.This is the first question I am posting.I am new to Java Messaging service.While running the program in eclipse I am getting the following error... javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '
-
Re-installed SL then to Lion again and now I can't get my backups from Time Machine!
Here is the problem. One day I booted up my mac with lion, and it wouldn't go through to booting up. It did this more than once, so I decided to re-install the whole thing ( I checked the drive first, and tried all the tricks plus utility before doi
-
When running my code i get this message"applet notinited"
if someone could tell what to do i would be very thankful.every comment is important cause i'm new to java. it compiles perfect. here is my code import java.applet.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class boar
-
IPhoto 6 card printing question
Hi, this may be a dumb question, but I spent over an hour and I couldnt figure it out. Ok, so I made a card in iPhoto 6, size 7'' x 10''. It is a double-sided card. So, I print one side, feed the paper in again, and print the other side. The problem
-
Anybody can help ? I send a report to screen and I want to turn off the print button and the menu file. How can I do it ? what parameter should I pass ? Thank.