Sender RFC comm channel - program ID
Hi all,
Short question:
I have RFC to FTP scenario.
Sender RFC channel needs a program ID.
I created a TCP/IP RFC Destination in <u>source SAP system</u> and specified in there the program ID i will use. However, when i try to test this connection, it throws folllowing error:
<i>Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: program SAD_TO_DXI not registered
Error Details LOCATION: SAP-Gateway on host xxxxxx / sapgw05
Error Details DETAIL: TP SAD_TO_DXI not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 6852
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1694
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Wed Sep 26 17:21:55 2007
Error Details VERSION: 2</i>
Could you please tell me how can i solve this?? and confirm this is the parameter i have to specify in the Sender CC??
Thanks in advance and kind regards,
David
hi David,
I guess the connection between R/3 and XI is not proper......
Connection between XI and R/3
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Also check the program ID
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Also check discussion
Re: Why Program ID
regards
biplab
Use a Good Subject Line, One Question Per Posting - Award Points
Similar Messages
-
Multipe Sender RFC using same Program ID
Hi all,
I have RFC>XI>HTTP scenario. All confiruation has been done in R/3 and XI has ben done correctly.
Is it possible to use the same TCP/IP port Program ID created in SM59 (in R/3) for sending different RFC messages to XI. Meaning, in different XI RFC sender adapter communication channels, can I use the same Program ID.
When I tried, it work for one RFC, but when multiple RFC sender adapter uses same program ID..RFC program errors out in R/3 itself with error message - Commit fault: com.sap.aii.af.rfc.afcommunication.RfcChannelMismatchExcept.
Please help.
Thanks
KarthikKarthik,
It is possible to send different messages from R3 to XI that use the one RFC destination and Program ID (in R/3) and the one Communication channel (in XI)
Assume that interfaces AAA and BBB have different structures
<u><b>SAP R/3</b></u>
<b>For interface AAA</b>
(1) Execute ABAP Z_AAA which
(2) Populates the internal table ITAB_AAA with structure ZST_AAA
(3) Calls the remote enabled function ZFN_AAA
(4) Passes the interface data in the tables statement
CALL FUNCTION 'ZFN_AAA' DESTINATION RFCCOMMON
EXPORTING
=
IMPORTING
=
TABLES
AAA = ITAB_AAA.
<b>For interface BBB</b>
(1) Eexecute ABAP Z_BBB which
(2) Populates the internal table ITAB_BBB with structure ZST_BBB
(3) Calls the remote enabled function ZFN_BBB
(4) Passes the interface data in the tables statement
CALL FUNCTION 'ZFN_BBB' DESTINATION RFCCOMMON
EXPORTING
=
IMPORTING
=
TABLES
BBB = ITAB_BBB.
Each function is called with the same destination RFCCOMMON
In SM59 point the RFC destination RFCCOMMON to your XI environment and provide a program id, for example ID_COMMON
<i><b>XI</b></i>
<b>(1) Configure the sender RFC Communication Channel</b> for example CC_COMMON and enter your SAP R/3 server parameters to include the program id ID_COMMON
<b>(2) Configure the Receiver Determinations</b> as follows
For interface AAA
Sender Service Enter your SAP R3 Business System for example R3PROD Interface ZFN_AAA (this is the SAP R/3 remote function)
Namespace urn:sap-com:document:sap:rfc:functions
Configured Receivers
Service Integration Process AAA
For interface BBB
Sender Service Enter your SAP R3 Business System for example R3PROD
Interface ZFN_BBB (this is the SAP R/3 remote function)
Namespace urn:sap-com:document:sap:rfc:functions
Configured Receivers
Service Integration Process BBB
<b>(3) Configure the Sender Agreement</b> as follows
For interface AAA
Sender Service R3PROD
Interface ZFN_AAA
Namespace urn:sap-com:document:sap:rfc:functions
Sender CC CC_COMMON
For interface BBB
Sender Service R3PROD
Interface ZFN_BBB
Namespace urn:sap-com:document:sap:rfc:functions
Sender CC CC_COMMON
Regards,
Mike -
Adapter engine field blank in RFC Comm channel (Sender)
Hi Friends,
I am not getting any value in drop-down list of adapter engine in RFC adapter sender communication channel.System is allowing me to save the comm channel , system is giving me following error
No adapter engine specified
I m getting values of adapter engine when I select some other adpter like XI.
Thanx
AnandHi,
The RfcAdapter is implemented as a J2EE Service and thus this service has to be started and stopped. This will affect the whole RfcAdapter and can be done from the J2EE Engines Visual Administrator. When you are connected to the J2EE Engine choose the tab 'Cluster' and open the appropriate server node in the tree. Then open the 'Services' node. There you can see the entry 'SAP XI Adapter: RFC'. When you open the context menu on this entry you can start and stop the service
Regards
Chilla... -
Hi,
I have a unique problem. My file sender communication channel picks and process files only when the filename extension ends in .txt.
I had checked the configuration directory and made sure it is not *.txt type and had given star.star.
Still am not sure why this is happening.
When i dump a normal file without any .txt extension, it is not been picked up and the file remains in the same place, morever no errors are also coming.
Please share any light on this.
Regards,
Anandh
Edited by: Anandha Krishnan on Jun 9, 2008 6:37 PMThe other way to check if your changes are being correctly in the RWB, please deactivate the comm channel and then lookup RWB communication channel monitoring. check if the correct version is showing up out there. It could be the RWB is not getting the correct upated version. Activate the comm channel again and re-start the comm channel and then check.
You can also follow the path of using * in the filename instead of . as suggested by others.
Regards,
Indranil
Award points if appropriate -
Sender file comm channel shows error status when no file is in source
Hello,
I have this sender file communication channel which is picking up files using ftp. <b>Its working fine</b> but if there is no file in the source directory during polling, it shows an error status in communication channel monitor. The error message is that directory/file does not exist and also * in file name is invalid character.
I have the same settings on our dev, QA and prod system but this strange thing is happening only on the dev and prod. Its not happening on QA whereas QA access the same directory as dev.
Any idea ???Hi,
The error is strange one.
I suggest you to check Visual Admin to findout the exact trace/log file.
May be because of some connection problems etc..
Just go thru this SAP Note about File Adapter- 821267
Regards,
Moorthy -
Sender File Comm Channel Fails after system refresh
Hi,
we did a system refresh of our PI system and since then the sender file communication channels donot work with the following exception:
Error: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.
I have seen many threads in this forum related to this issue but couldn't find a proper solution.
Any help is very much appreciated.
Thanks
MLSYou may do the following:
1. Perform SLDCHECK on XI.
2. Check if XIAFUSER is not locked or its password has been changed recently.
3. Goto SLD-> Business sytems-> Integration server, check Pipeline URL. It should be
http://hostname:8000/sap/xi/engine?type=entry
Regards,
Prateek -
Adapter Engine drop down blank while creating Reciever RFC Comm Channel
Hi,
I am trying to create a Receiver RFC Communication Channel. But the dropdown for Adapter Engine is not showing "Integration Server" option as it shows when we create IDOC or XI Receiver Adapter communication channels.
Any help will be great.
Regards,
ShubhamHi shubham,
this might the some error in post intallation.please revisit ur post installation steps,paricularly the adpater engine,wher u need to specify the adapters which requires the integration server.
regards
jithesh -
UNIX Script Not running - Sender File Comm Channel
I have written a script to split a large file into smaller files . It works great when I log into the server via putty, and run it from the command prompt .
However, when I run it from the Sender File Channel "Run OS command before/after processing", nothing happens . I put in some code to write a log file after every line , but it never gets generated if I run the channel , so im assuming its never called by PI .
However, the channel monitoring says "Success" for "Execute OS command "/home/Int001/Inbound/File_Split.sh" . So if it is successfully called, how come i dont get my expected results?
1. What is the credentials used by PI to run scripts ?
2. Does PI need some special permissions to run the script ?Hi Johannd,
To change Password for Sap System User, you can follow this help:
http://help.sap.com/saphelp_nwmobile71/helpdata/en/aa/1dc94af0fa11d3a6510000e835363f/content.htm -
Duplicate Message exception in sender JMS comm channel
Hi,
Can any one please tell me what is stored in MSG_ID1 and MSG_ID2 in table XI_AF_SVC_ID_MAP
I could only find the schema of XI_AF_SVC_ID_MAP table in SDN which is as follows,
MSG_ID1 (varchar),
MSG_ID2 (varchar),
PERSIST_UNTIL (timestamp).
We have an interface in where MQ daily sends 2 files to PI but sometimes one msg is getting discarded by sender JMS adapter giving warning -
A duplicate message was received, it was received earlier and processed with XI Message ID - "xyz". It will be ignored and discarded from the JMS queue.
Also I found that setting option Time Period for Duplicate Check for EO(IO) (secs) to 0 does not always work.
We are getting this problem after upgrading PI from 3.0 to 7.1.
So if any one has solution to this problem please help me.
Thanks & Regards,
ShwetaHi Shweta
Usually this kind of issue happens when the msg ID in the MQ message header is not unique.
Ask the MQ team to ensure that MQ msg ID is always unique.
Regards,
Giuseppe -
Inactive Sender WS Comm Channels PI 7.1
Hello everybody,
can anyone tell me if there's a way to set to inactive de WS communication channels in PI 7.1, specificly Senders????, I don't want to mess with the URL's and stuff, only need a temporal inactive status, thanks in advance.
Regards,
Julio Cesarhi
in runtime worbench go to> Component Monitoring(first tab)>select All and play Display>select Adapter Engine>press Communication Channel Monitoring-->leave all the field black and press use filter buttom.
thats all
Hope Helps -
SELECT query in a sender jdbc comm channel
Hi experts,
I would like to access a table in a database and select some rows from there but from a specific date onwards. I mean, i want to retrieve only the rows from, lets say, table.date = 2008-04-05 on.
So i specified somthing like:
*SELECT * FROM table WHERE date >= to_date(2008-04-05) and status ='0'*
UPDATE table SET status='1' WHERE date >= to_date(2008-04-05) and status ='0'
BUT this is throwing following error message:
The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-00911: invalid character '. For details, contact your database server vendor.
Could you please provide some support in order to achieve this?
Thanks in advance and best regards,
DavidHi there,
I tried again without using the 'to_date' function but still doesnt work.
I have no access to the database so i asked the DB team to make some testing there. They say the date format in the DB is 'dd-mm-YYYY' but XI receives 'YYYY-mm-dd' via jdbc adapter!!!!
So, at first i typed 'YYYY-mm-dd' in the query and this was the result:
Database-level error reported by JDBC driver while executing statement 'SELECT * FROM albaranes,lineas WHERE albaranes.albaran = lineas.albaran and albaranes.fecha_albaran >= 2004-06-19 and albaranes.sap_status ='3''. The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-00911: invalid character '. For details, contact your database server vendor.
and shortly afterwards i used 'dd-mm-YYYY' and this is what i got:
Database-level error reported by JDBC driver while executing statement 'SELECT * FROM albaranes,lineas WHERE albaranes.albaran = lineas.albaran and albaranes.fecha_albaran >= '19-06-2004' and albaranes.sap_status ='3''. The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-01843: not a valid month '. For details, contact your database server vendor.
sap_status field is of string type so this is not the point, i think.
Could you please advice?
Best regards,
David
Edited by: Domingo Jimenez Navarrete on May 5, 2008 12:18 PM -
Sender RFC and JDBC communication channels required to be activated
Hello Guys,
Whenever we have a Oracle restart after the server is shut down for maintainence . The sender JDBC communication channel does not poll and we have to activate the channel again in the Integration Directory to make it work, is there any way to make it work automatically.
Similar is tha case with the sender RFC communication channel.
Allthough the component monitoring shows green button for the JDBC, RFC communication channel.
In case of the JMS channel (sender) the channels are in red.
Thanks for your help.HI
There is no automatic ways to restart channel that you have to manually start.
You need to stop the channels first before getting oracle server down for maintenance. This will save from errors. Maximum what you can do is to start stop channel using a program externally but that require development.
Start/Stop using RWB
Starting / Stopping of Communication Channel from RWB
Start/Stop without using RWB
Control Communication Channels Externally without using RWB
Thanks
Gaurav -
Sender RFC Scenario Error:Payload Is Missing
I am facing an issue in 'RFC2JDBC' scenario which is mentioned below:
here our scenario is 'RFC2JDBC'.here our 'RFC' is having 2 fields in tables parameter
i.e. empno & empname.
the results of the 'RFC' is coming as:
Personnel Number Employee Name
00000100 Rasmiraj
00000200 Tanmay
00000300 Kanhu
00000400 Debabrata
00000500 shantanu
i am triggering the 'rtfc' through a program.
when i am triggering the 'RFC',in monitor of PI it's coming as sucessful.however in the payload one of the field value is missing i.e. employee name.(same also updating in the legacy database)
in the payload it's appearing as:
[ <?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZSAM_SEND_RFC_PI xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <EMP_DTLS>
- <item>
<EMPNO>00000100</EMPNO>
<EMPNAME />
</item>
- <item>
<EMPNO>00000200</EMPNO>
<EMPNAME />
</item>
- <item>
<EMPNO>00000300</EMPNO>
<EMPNAME />
</item>
- <item>
<EMPNO>00000400</EMPNO>
<EMPNAME>a</EMPNAME>
</item>
- <item>
<EMPNO>00000500</EMPNO>
<EMPNAME />
</item>
</EMP_DTLS>
</rfc:ZSAM_SEND_RFC_PI> ]
please,suggest.(here,we are using sender 'RFC' communication channel & an 'RFC'destination of type 'T'(with parameter registered server program,gateway host,gateway service)Hi rasmiraj tripathy,
I am also facing the same problem (Sender or Payload is missing) while integrating R3 to B1 using IDOC. When I resend IDOC, it capture by B1iSN but doesn't work, it gives me error. When I look into xml document, it is found that there is no receiver payload.
My R3 system is non-unicode and it is difficult to change it to unicode as it requires updation.
Can you please confirm that this error is coming due to Non-Unicode, and can be resolved by setting it to Unicode.
Note: There is no double definition of any object. -
Hi
I am working on RFC to SOAP Scenorio
I configured Sender RFC Communication Channel.
Using the same program id, i created RFC destination.
The RFC Destination is working fine.
When i test it using program, i am getting the
error alternativeServiceIdentifier via CPA-cache
Can you pls help
Regards
Madhan Dhi,
did you configure as per my blog:
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
regards,
Michal Krawczyk -
Hi,
I defined a Sender RFC to build RFC-XI-Others scenario, accoring to the document here, I create a sender RFC communication channel with the host and service(sapgw00) of R/3 system, and specified a program ID, then I created a TCP/IP destination in R/3 with the sames host, server, and program id, but when I did the test with SM59, it says: program RFCTEST not registered / CPI-C error CM_ALLOCATE_FAILURE_RETRY.
What's wrong with my setting?
Thanks a lot!
Best Regards
YuedongDear All,
Thanks for your replies, I solved the problem!
Next, I got the following error in R/3
call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:
In XI, I saw the error as:
HTTP response contains status code 401 with the description Unauthorized Error when sending by HTTP (error code: 401, error text: Unauthorized)
And I also has the problem:
Unable to notify integration runtime (ABAP) of data changes
http connection to "http://gdsapxi:8000/sap/xi/cache?sap-client=000" returns the status code "401" in response
They seems more difficult for me, could you please provide me the comments.
Thanks a lot!!!
Best Regards
Yuedong
Maybe you are looking for
-
How to set the parameter ID value for a range
I am trying to call transaction KSB1 (Display actual line items for cost center) by supplying all the default values for the selection options/parameters and skipping the selection screen from the calling program. However, for the cost center range,
-
InDesign printing to PDF results in white "highlight" effect behind PLAIN black text.
InDesign printing to PDF booklet spreads results in white "highlight" effect behind PLAIN black text. There are no text effects like drop shadows or transparency. Some of the text is in it's own shape above a semi-transparent shape, but not all. Expo
-
I have iworks 08. I was sent a document in numbers and when I try to open it I get a message stating I need a newer version of numbers. Is there any way to open this? I can not afford to buy every new version of an application when it comes out.
-
Unit test for J2EE application
I am writting a Unit test for One J2EE application. The Application is built in such a way that makes unit testing extremely difficult. There are 2 things that contribute to the mess. 1. Sping integration means all the config files are specified in w
-
Hi I am using sap business one 8.8. PL 15.Windows 7 I get the following error when i start xl reporter on the Server.SAP Business one is installed only on the server and no client machines are installed. An error occurred during the process "Report I