Problem with sender RFC adapter
Hi All
I have created one RFC adapter for which i have created wrong business system and all then i have deleted that and i have created on more RFC adapter but when i am testing my scenario its taking the old one which i have deleted from the Integration directory. I have refreshed the cache using sxi_cache and also in RWB. But still i m getting the same error...
Could you please tell me how to resolve this error
Hi
Yes i have configured RFC as sender communication channel. I have deleted the old one including the business system. but still in adapter monitoring i m getting the error "com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/<b>'Whirlpool_BS1'/</b><b>'RFC_Source_CC'</b>, lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'QN9#800' returned party/service of ''/'QN9')"
but i have deleted the whirlpool_bs1 business system.
Why still i m getting this error.
Thanks & Regards
SUN
Similar Messages
-
Hi all,
Our scenarion is like this
RFC -> XI -> File
When we are calling the RFC ( inside a program ) from the client we are getitng a shortdump with the error ...
'JCO.Server could not find server function 'STOCK_ENQUIRY_OUT'
any idea where is the exact problem '?
regards
GoutamHave these basic checks;
1. Import the RFC and activate the same in XI.
2. Configuring of RFC adapter - /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
3. Troubleshooting - /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 -
Problem with Sender Mail Adapter
Hi experts,
I'm developing a Mail-XI-RFC scenario and have a problem in the mapping. I have created a MI based in the structure of the attachment of the mail. I have a mapping that does xml->RFC and tests OK. When I send a mail to the account of the sender adapter, the system generates two payloads, the 'MailMessage' and the 'MailAttachment-1' that is the xml to map, but I have an error in SXM_MONI 'Cannot produce target element /ns0:...RFC name'.
The Sender Adapter configuration uses message protocol XIPAYLOAD, I have checked Mail Package, base 64 and keep Attachments. Interface namespace is the same as the xml and default interface name is the message interface created of type my xml.
What is wrong?
Best Regards,
Alfredo Lagunar.In this case you need to use payloadswap bean for swapping the payload and attachment
http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step check this
Rajesh
Edited by: Rajesh on Feb 4, 2009 2:52 PM -
Problems with sender RFC from R/3 4.6D
Hi all,
I have configured a sender RFC channel on XI cluster. Immediately after channel activation everything looks fine on backend system (R/3 4.6D):
But after some time (e.g. one hour) the connection somehow stops working.
The u201CTest connectionu201D says u201CProgram ID not registered u2026 u201D and also XI hosts is not listed in u201Clogged on clientsu201D any more.
By restarting the Sender RFC from Communication channel monitor the communication is reestablished. But after an hour it breaks down again.
The strange thing is that this problem occurs only when RFC sender channel is configured on XI cluster with two nodes (our production XI on MSCA). If the same is configured on a stand alone XI (which is our development system) the connection is working fine all the time.
Also the problem happens only when connecting XI cluster with R/3 4.6 D system. When the same connection is established with ERP 5.0 or ECC 6.0 it is working fine.
Setting the property initalRfcClientConnextCheck to false didnu2019t help.
Thanks for helping.
Janostransaction SMGW(gateway monitor) and choose menu option 'Goto --> Logged on clients'.
make sure that the there is an entry in the program id is same as program id in the RFC sender channel...if not try making a change in the RCF channel and activating again
Edited by: Tarang Shah on Feb 8, 2010 6:48 PM -
Problems with sender mail adapter
Hi XI Gurus
We have gone through a lot of blogs and searched a lot on the XI forum on how to configure the sender mail adapter with attachments but we still can't get it working at our site. Here are the issues -
1. When we define our data type in the IR as let's say out_email_dt with namespace "http://www.xyz.com" the mapping fails. In the monitor(SXMB_MONI) the message from the sender mail adapter comes in like this -
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
<xim:Mail xmlns:xim="http://sap.com/xi/XI/Mail/30" encoding="quoted-printable">
<Subject>test 10</Subject>
<From>"Test User" <[email protected]></From>
<To>"XI Test Account" <[email protected]></To>
<Content_Type>text/plain;charset="us-ascii"</Content_Type>
<Date>2007-05-08T05:34:38Z</Date>
<Message_ID><[email protected]></Message_ID>
<Content>This is the voice of the Mysterons=0A</Content>
</xim:Mail>
Question 1 - do we have to define our data type as "Mail" under the namespace "http://sap.com/xi/XI/Mail/30".
Question 2 - If you look at the content of the <From>,<To>,<Message_ID> tags you will see that there is content with <> tags which is causing the message mapping to fail. Is there a way of telling XI that they are not xml tags but part of some other tags?
2. Also the PayloadSwapBean doesn't seem to swap the payload to be the attachment.
3. Can we use masks in the PayloadSwapBean for attachment names like "." as we don't know what the file name is going to be as we have multiple partners who will be sending emails to the same address and with different file formats.
Thanks in advance.
SalilHi,
>>>>Question 1 - do we have to define our data type as "Mail" under the namespace "http://sap.com/xi/XI/Mail/30".
do exactly as shown in my blog:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
>>>>2. Also the PayloadSwapBean doesn't seem to swap the payload to be the attachment.
do similarly as shown in my blog:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
the everything will work
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Problem with Sender JDBC adapter while processing the message
Hi,
I am facing some problem while using the JDBC sender adapter.
Here is the trace where i have seen the Socket Closed problem. But it was for few seconds.
Later on it was working fine. This happens intermittently. So it was very difficult to collect the traces.
Please check the trace,
#1.5 #001A4B06B868008500001FF10000555D00045C190344E1D3#1227162409422#c
om.sap.aii.adapter.jdbc.JDBC2XI##com.sap.aii.adapter.jdbc.JDBC2XI.invoke()
#J2EE_GUEST#0##n/a##f30c1fd0b6ca11ddc489001a4b06b868#XI JDBC2XI[JDBC_Send/BSC/]_1235135
##0#0#Warning##Java###Catching #1#java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]Socket closed
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
at com.sap.aii.adapter.jdbc.JDBC2XI.invoke(JDBC2XI.java:418)
at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:475)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Can anyone please help me out why I am getting this error intermittently?
Any specific reason so that i can rectify.
Urs,
SooryaHi,
We have checked all those but still we could not find any problem. And we are not getting this error for
continously . Only intermittently. So what could be the reason behind this. It is not remaining for long time.
so please tell me the exact reason behind this problem to overcome this problem for ever.
Thanks
Soorya -
Problem with Sender JDBC adapter using StoredProcedures
Hi All,
I am facing some prblem when i am using StoredProcedure. Please look at the error which i observe in the traces when i try to execute a stored procedure using Sender JDBC channel.
SQLException during query 'execute MAG_C0210.dbo.biz_mag_ubicaciones @data="MAG_C0210" , @idciclovida=" ", @idmaestro=" ", @idtiporeplicacion=" "':com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set
Please help me in this regard ASAP.
Cheers,
SooryaHi Praveen,
It is working fine when i executed the same in the SQL editor but when I use with XI it is failing with error
mentioned earlier. Please check this and help in solving this asap.
Regards,
Soorya -
Problem with sender file adapter
Hi all,
I am having a problem in reading file with complex structure,
my structure is like this:
Header - 1
rows - 0 - unbound
Footer 1
In the recordset Structure - Header,1, Row,*, Footer,1
The file is not being read, only if I cahnge the * to the exact number of roes type ROw it is working,
Thnaks,
Naama.Hi,
I tried it on a simple file and it works,
But for some reason it doesnt work on my file, I think it because the structure of the segments.
the first line is the header and its key value is H u2013 it should appear once in the file
the second line is the header2 and its key value is D u2013 it should appear once in the file
the 3+4 lines is the details and its key value is L u2013 it should appear * times
the last line is the footer and its key value is D u2013 it should appear once in the file
Header1.
T H T150380149462.DAT 30/07/08 13:05:04 7 014946/2i`cpei driaz
Header2.
T D D06AA038H08052587014946245-519-60 045000WKMHDN41BP6U122056 0807230807236915 1000000 000000000000000000H,28910,22040 2828910R0000000200000000000000004830800100000001P
Details.
T D D06AA038_L_08052587014946210128910R00010020002000
T D D06AA038_L_08052587014946210128910R00010020002000
Footer.
T T T150380149462.DAT 00008 014946/2*** seq ****
I think that because the beginning of header2 and detail is the same it does not work,
Any Ideas? -
Problem polling Inbox with Sender Mail adapter
Hi,
I have a funny problem with Sender Mail adapter (IMAP Protocol)
It was working fine previously.
Now, when I poll the Inbox, 2 things happen. After re-activation:
1. If there is a new mail in the Inbox, the Communication channel marks the mail as read, but still keeps reading the same mail into XI.
2. If there are no new mails in the Inbox, it reads the already read mails in the Inbox one by one. So all old mails start entering XI.
This problem exists only with the Inbox. It works fine with other folders for the same mail ID.
Any inputs as to why this is happening?
Regards,
Puloma.Hi,
We re-started the server and problem was solved. But we don't know why the Adapter Engine was behaving erratically.
Regards,
Puloma. -
Sender RFC Adapter-- XI-- File Receiver Adapter ?
Dear Expert,
we are on PI 7.0 & R/3 system 4.7E WAS < 6.20. We have a scenario where in there are some huge downloads are required from R/3 to FTP File Location. For such scenarios Normally Poxy is suggested but Due to WAs Version limitation we cannot use Proxy. The other alternative is to use SENDER RFc adapter using RFC destination with XI. we have configured the RFC destination it is working fine.
I am able to receive the message also in XI. But whenever i am running this RFC in R/3 it is giving me the shot dump as follows. :
<b>call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:</b>
The File is also getting written to the destination properly. But in XI also i get the following error.
<b> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
<SAP:P1>http://Test/Zbilldwd ZBILLDWD_FILE_IM</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Interface mapping http://Test/Zbilldwd ZBILLDWD_FILE_IM does not exist in runtime cache</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error></b>
What could be the reason of this.? As well i am geting 3 error messages in XI.
I have defined this interface as Inbound / Async Message interface with input message as output file structure. ( Is this configuration is OKAY ?)
pl. help me to solve this error.
Regards,
UmeshHI,
Check your configuration from the message it states that it can not find out the mapping program.
Check the configuration Receiver and interface determination whether you are using the same which is designed in repository.
Thanks and Regards,
Chirag Gohil -
Sender RFC Adapter - Data to be sent from R/3
I am working on a scenario where I have to send data from an RFC-enabled function module from R/3 to a file server via XI. The entire scenario is asynchronous.
Sender: RFC Adapter
Receiver: File Adapter
I have done all design and the configuration. Both communication channels are working. I have the RFC destination also set up correctly in R/3.
However, when I run my ABAP program where the RFC-enabled function module is called, I get a shortdump with the message <b>"senderAgreement not found: lookup of binding via CPA-cache failed for".</b>
Plus: " The error occurred during an RFC call to another system."
Could someone kidly help?Hi,
Follow these steps :
1. import the ECC_ Server into ID if not done
2. Refresh Cache : Tcode SXI_CACHE
3. Please check for Sender agreement config
4. Check out the parameters when R/3 calls back XI, it passes the SYS-ID and client number and checks the same in the Integration Configuration Under Business System Service-> Adapter Specific Identifiers. The R/3 System ID and the client Number
Also check out these blogs..
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
regards
Aashish Sinha
PS : Reward points if helpful -
Sender RFC adapter High volume messaging
Hi,
This question is related to this thread:RFC connection problem
ERP system is sending through 1 RFC dest. (program ID) 20 requests in a minute. And PI starts to hang. ERP is not able tp sent the messages and after a while the request sent from ERP starts to get cancelled. This is a synchonous scenario. How can I handle such a high volume through 1 sender RFC adapter?Hello
You can monitor the load on RFC adapter queues/threadsin the RWB
-> Component Monitoring
-> Adatper Engine XIP
-> Engine Status
-> Additional Data
See note #791655 Documentation of the XI Messaging System Service Properties, for an explaination of the queues.
To increase the number of threads/queues, see the blog:
1) /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
2) /people/kenny.scott/blog/2008/12/05/xipi-file-and-jdbc-receiver-adapter-performance-and-availability-improvements - this shows how to prevent a problem on one RFC channel blocking other RFC channels that you may be using.
Also, ensure note #937159 XI Adapter Engine is stuck, has been applied to help overall system performance.
Regards
Mark -
Sender RFC Adapter only processes first message
Hi there,
we have a R/3 - XI - 3rd party scenario, where the R/3 - XI communication will be established through a RFC.
The RFC destination was properly configured in SM59 in R/3 and also was the XI's sender RFC adapter, with the same program ID.
We called the RFC in R/3 Abap code and the message succesfully arrived at XI (it could be found in SXMB_MONI). However, any other call from R/3 would not result in a message arriving at XI (no new entry in SXMB_MONI nor in Message Monitoring, at RWB). New messages only appear again if we set the status of the adapter to inactive and then active again. Then the message arrives, but again, only the first one.
Can anyone help with this?
Is there any misconfiguration in XI or RFC Destination?
Or is it the abap calling that should be processed in another way?
Thanks in advance,
Henrique.Hi,
>>>Or is it the abap calling that should be processed in another way?
the important thing is the commit work
which must be done after call function
and you can only have one call function
before the commit work
do you see any other errors in SM58?
>>>Is there any misconfiguration in XI or RFC Destination?
Or is it the abap calling that should be processed in another way?
one or the other - no doubt about that
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Sender RFC adapter Error- request was null while trying to extract it.
Hi All,
I have a scenario running in Production(PI 7.0 system) where SAP ECC sends RFC request through sender RFC adapter. The scenario was working fine but now I am getting the below error in default trace and I couldn't see any error in communication channel monitoring.
java.lang.Exception: RfcServer[BAS_ECC_RFC_Snd]1[AFSenderD] request was <null> while trying to extract it.
I have gone through the below thread and performed a full cache refresh but it didn't help :
[NULL]
I have gone through SAP note:730870 and I couldn't get any help on this error. Can you please suggest your ideas to solve this issue.
Thanks & Regards,
LaawanyaHi Lawanya,
Check you RFC and input data , whether the RFC call is able to get the data from ECC or not.
you can test the same RFC in ECC with input data and you can check whether the RFC in ECC is return the value or not.
I gues in your case the RFC in ECC is not return any data to PI. -
Sender RFC adapter - Tight coupling to an SAP client
Hi ,
We are using a sender RFC adapter to receive a RFC request from SAP , process the request in XI and then send back a response to SAP.
Our requirement is that , this request may come from different SAP clients(client 100, 130 , 200 etc). Looks like RFC adapter configured under a Business System in XI cannot listen to calls from multiple clients and works for only one client. We get dumps in SAP when invoking this RFC from other clients.
Also i hear that the same program id cannot be used in two different RFC sender adapters, meaning i have to create a different RFC destination , create a different program id for each client in SAP.
Is there a way around for this issue ?
Thanks
SaravanaHi Saravana,
you may try a little workaround:
configure your rfc adapter only with client 100
and try invoking RFC from clients: 130 , 200
on the client 100 first (with a dummy RFC on client 100)
and then from this dummy RFC on client 100 you can start your standard RFC with your rfc adapter
don't know any other way:)
Regards,
michal
Maybe you are looking for
-
How do I print in black and white with HP Deskjet 5740?
I have just updated from Snow Leopard to Mountain Lion. With Snow Leopard, and an HP Deskjet 5740 printer, I could choose to print in draft or best quality, black and white only or in full colour, and had various other options. Now I am not offered t
-
Iframe of a Blob Content in Apex form/report
Hi All I am developing a application where users will upload documents which will be stored in blob column. Now the requirement is to show the document with in the page using Iframe. Can some one please suggest the steps to show the blob content in i
-
Which table stores CO Internal Order Status
Hi Guys, I am changing Internal Order status, but can't find the respective field in RESB table. AUFK status fields are not even changed ! Any idea Which table records internal order status changes ? Cheers
-
4.7E to ECC 6 upgrade in MM
Dear All, What are the activities to be carried out in MM functionality while upgrading from 4.7E to ECC6 and proposing to merge various company codes in single company code. Regards, Prem
-
Can I use an Iphone Image (not the apple logo) in a local flyer at my school?
Can I make a flyer containing the images of an Iphone but not the apple logo. I'm a student and I'm buying used cell phones and reselling them to help with bills. I buy a lot of Iphones and I wanted to promote this. Is this allowed or do I need permi