RFC of type A to SAP
hi
the dev_jrfc.trc on our XI system continously records the following messages -
RfcException:
message: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=us03d2.wdf.sap-ag.de SYSNR=17 GWHOST=us03d2.wdf.sap-ag.de GWSERV=sapgw17 PCS=1
does anyone know which program could be using this rfc, as it is of type A i could not find any rfc with the description defined in SM59.
Wanted to know if there is a way to stop the program which is using this RFC which is causing load on the gateway.
thank you
Jonu Joy
Hello,
Refer the following link and look under traces:
http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
This error due to JRFC trace
JRFC trace
name : jrfc*.trc
location : directory j2ee/cluster/server* or defined path
how to switch on and off : set JVM options for the server via the Config Tool and restart server: -Djrfc.trace=0/1, -Djco.trace_path=[defined_path]
Regards,
Sreenivas.
Similar Messages
-
Call rfc sender adapter from non-sap systems
Hi,
is ist possible to connect to an rfc sender adapter from non-sap systems? I want to use the the RFC-Connector from http://rfcconnector.com, but in the client connect options there is no way to specify the program id.
Best regards,
Danielhi,
you don't need to use RFC type T (with program ID) - you can use whole connection string - just like in the example:
http://www.rfcconnector.com/documentation/examples/client/#functioncall
so just specify: host system number etc.
it should work like that - but let me know as I don't know this RFC connector
Regards,
Michal Krawczyk -
No rfc destination is defined in SAP Global Trade Services
when doing MB1C transaction the above mentioned error is displayed(errror: No rfc destination is defined in SAP Global Trade
Services ).doing MB1C transaction through movement type 561 the system is accepted,but through MT 501 when we are doing
the process, the system will generate the aove mentioned error.pls give the correct solution.
regards
MaranRe: Getting dump MESSAGE_TYPE_X while posting in MIGO
-
RFC Destination type RFC Receiver Adapter?
Hi,
What is the RFC destination type for Sender RFC Adapter?
and what is the need a Program ID for sender Adpter.
What is the RFC destination type for Receiver RFC Adapter?
Regards
GopiWhen we use the RFC Adapter?
SAP systems up to and including SAP Release 4.6 are not able to exchange data by using XML messages and http. The only way you can connect such systems to the Integration Server directly is by using the RFC adapter (or the IDoc adapter).
You require the sender adapter if you want to use the Integration Engine to process RFCs. The RFC adapter converts the incoming RFC data to XML message format (RFC XML) so that it can be processed by the Integration Engine.
You require the receiver adapter if the determined receiver system expects the data from the Integration Engine to arrive in RFC format. In this case, the Integration Engine must transfer the received XML message (RFC XML) to the RFC adapter. The RFC adapter converts the RFC XML message to a valid RFC call and executes the call.
The following three scenarios are possible when using the RFC adapter and the Integration Engine:
1) SAP R/3 to SAP NetWeaver Application Server
2) SAP NetWeaver Application Server to SAP R/3
3) SAP R/3 to SAP R/3
When we use ABAP Proxy ?
SAP systems based on Web AS 6.40 and higher are able to exchange data by using messages and HTTP. These systems can use ABAP proxies to connect to the Integration Server.
To connect the platform-independent message interfaces, which are stored in the Integration Repository, to the Integration Server, use the ABAP proxy interface.
Please Reward the points if it's helpful...
Regards,
Ramana. -
When do we use RFC destination Type T versus Type 3?
While creating RFC destination Type T, the program ID, blogs says we should use "Registered server program" and can give any free text. I tried that but says there is no registered server program called XXX on system. So, i'm really confused here.
my understanding is for IDOCs you need Type 3, and for RFC you need Type T. Is that true or we can use any type with these?
Thanks,
AnikaHi Anika,
i think this links could be useful:
http://help.sap.com/saphelp_47x200/helpdata/en/22/04262b488911d189490000e829fbbd/frameset.htm
Differences in the RFC destination types
You're right, for Idoc you have to use type 3 and for RFC you have to select a type T destination entering a program ID.
Let's make an example.
Suppose you have defined an RFC destination RFC_X with program id PID_X on ECC.
On XI you have created an RFC sender adapter and you have specified ECC as the sender and PID_X as the program ID.
When from ECC an RFC is called using destination RFC_X then the sapgateway looks for a receiver registered with the program id PID_X, it finds your RFC adapter and sends the call to XI.
Hope it helps.
Kind Regards,
Sergio -
(RFC vs files), where Sender SAP and receiver multiple system
Publish and Subscribe using BPM or Without BPM (RFC vs files), where Sender SAP and receivers multiple system,.
This is my 1st BPM scenario in sandbox system
For this scenario
I Created 2 Data types
2 MT,
Service interface:
Request interface Mode:Asynchronous
Abstract Req interface,Mode:Asynchronous
Response Interface,Mode:Asynchronous
Abstract Respomse Interface ,Mode:Aysnchronous
Synchronous Interface ,Mode:Synchronous
2 Message mapping for Req and Resp
1 Operation Mapping
BPM design: Plz find the attatchement
Can anyone please help me how many Interface determinations,receiver determinations ,sender agreements,receiver agreements need to create for this.......
It will be good if anyone send the BPM design flow for this.........
can we do this scenario without BPM?
Regards
A.Muni kumar
Edited by: Muni 1234 on Jan 31, 2012 10:24 AMHi
Receiver is FTP only.....
SAP side is RFC.........
RFC sender will be initiating the scenario, and there is receiver is File, PI should go to file directory and take the file then send it back to RFC as response.
Sender: RFC
Receiver: File
1. is this scenario with condition based routing.. so that each time outof many receiver systems it will trigger any specific system.
if above is the case then you can achive this without BPM also..
Yes...its condition based routing...
I Used async in this scenario.....sender side configurations also done....
But when when I am triggering BAPI from SE37 I am getting an error
Exception SYSTEM_FAILURE
Message ID: 00 Message number: 341
Message:
Runtime error CALL_FUNCTION_NOT_FOUND has occurred
How to Solve this????
I checked the RFC destination which i created in TCP/IP..a nd i mentioned the same in se37 RFC target system..
Connection is Ok
Or we need to create proxy for MI and report for this?
Edited by: Muni 1234 on Feb 1, 2012 8:38 AM -
No RFC destination is defined for SAP Global Trade Services
Hi Team,
I am getting error No RFC destination is defined for SAP Global Trade Services while transferring master data from one ECC Client to GTS.
Both clients has built in GTS. The situation is like this.... Client A which has ECC & GTS and Client B also has ECC and GTS. Client B we are intended
to use only for GTS. This is basically for proto type purpose we need to establish connectivity between A and B. B we intended to use as a feeder system
1) All the three BADI'sin SD0A,SD0B and SD0C level activated
SLL_PI_SD0A_TRANSFER
SLL_PI_SD0B_TRANSFER
SLL_PI_SD0C_TRANSFER
2) /SAPSLL/RFC_DEST Badi also active
I asked BASIS people to check in SM59 Client A is connected with Client B (here Client B as RFC destination) even connection test / remote logon also
tested and it is working between A an B
Where i am missing
Regards,
RamjiHi Dave,
Thanks for your reply.Sorry i forgot to include in my points already done.
BD97
BD64
Just to clarify one more point
sender should be EH6CLNT800 (ECC)
Receipient should be EICCLNT800 (GTS). Is it correct
Regards,
Ramji -
RFC as type of connection in transaction sm04 of Database server
Hello I wander what means RFC as type of connection in transaction sm04 of Database server.
Does it mean an user logged on applicaton server is displayed on database server as RFC?Hi Jan
User login to SAP may be possible with either GUI or RFC. GUI implies to direct logon to SAP though the SAP GUI. This is characterised by the user name.
The other way is RFC which implies to remote access to the system. This is usually characterised by IP address or the domain address .
I hope this helps
Regards
Chen -
How to via JCO Call RFC upload file to the SAP DMS.
HI ,ALL :
NOW i want to upload file via JCO,but i upload in sap gui is success ,but jco call RFC is error ,this is my code:
excute this code is not error ,but the data not write to SAP,
//连接SAP
Client client = com.hipfung.jco.JCOFactory.getInstance().getClient();
JCO.Repository repo = new JCO.Repository("ZOA01", client);
//调用RFC函数
IFunctionTemplate ft = repo.getFunctionTemplate("CVAPI_DOC_CHECKIN");
JCO.Function f = ft.getFunction();
IFunctionTemplate ft2 = repo.getFunctionTemplate("BAPI_TRANSACTION_COMMIT");
JCO.Function commitFunction = ft2.getFunction();
//设置传入参数值(注意类型)
//1.传入参数为Field
f.getImportParameterList().setValue("TXB", "PF_DOKAR"); //
f.getImportParameterList().setValue("0000010101010101020000000","PF_DOKNR"); //文档类型
f.getImportParameterList().setValue("01","PF_DOKVR"); //文档版本
f.getImportParameterList().setValue("000","PF_DOKTL");
f.getImportParameterList().setValue("SAPFTPA","PF_FTP_DEST");
f.getImportParameterList().setValue("SAPHTTPA","PF_HTTP_DEST");
// Get content as table
f.getImportParameterList().setValue("TBL", "PF_CONTENT_PROVIDE");
//read file and trans to byte
byte b[]=null;
File inf = new File("d:
test.jpg");
InputStream in;
try {
in = new FileInputStream(inf);
b =new byte[(int)inf.length()]; //创建合适文件大小的数组
in.read(b); //读取文件中的内容到b[]数组
in.close();
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
//set byte to internal table
JCO.Table poItem = f.getTableParameterList().getTable("PT_CONTENT");
poItem.appendRow(); //增加空行
poItem.setValue(b, "ORBLK");
poItem.nextRow();
//运行RFC函数
try
client.execute(f);
client.execute(commitFunction);
catch(JCO.AbapException ae)
System.err.println("JCO.AbapException: < DMS > " + ae);
ae.printStackTrace();
catch(JCO.Exception e)
System.err.println("JCO.Exception: < DMS > " + e);
e.printStackTrace();
//返回参数
JCO.Structure struct = f.getExportParameterList().getStructure("PSX_MESSAGE");
String te = struct.getString("MSG_TYPE");
System.out.println("RFC Error Type is :"+te);
String pr = struct.getString("MSG_TXT");
System.out.println("RFC get Data is :"+pr);
com.hipfung.jco.JCOFactory.getInstance().release(client);
i can get file via CVAPI_DOC_CHECKoutView
Edited by: pan qiaoming on Mar 15, 2011 3:05 PMHI ,ALL :
NOW i want to upload file via JCO,but i upload in sap gui is success ,but jco call RFC is error ,this is my code:
excute this code is not error ,but the data not write to SAP,
//连接SAP
Client client = com.hipfung.jco.JCOFactory.getInstance().getClient();
JCO.Repository repo = new JCO.Repository("ZOA01", client);
//调用RFC函数
IFunctionTemplate ft = repo.getFunctionTemplate("CVAPI_DOC_CHECKIN");
JCO.Function f = ft.getFunction();
IFunctionTemplate ft2 = repo.getFunctionTemplate("BAPI_TRANSACTION_COMMIT");
JCO.Function commitFunction = ft2.getFunction();
//设置传入参数值(注意类型)
//1.传入参数为Field
f.getImportParameterList().setValue("TXB", "PF_DOKAR"); //
f.getImportParameterList().setValue("0000010101010101020000000","PF_DOKNR"); //文档类型
f.getImportParameterList().setValue("01","PF_DOKVR"); //文档版本
f.getImportParameterList().setValue("000","PF_DOKTL");
f.getImportParameterList().setValue("SAPFTPA","PF_FTP_DEST");
f.getImportParameterList().setValue("SAPHTTPA","PF_HTTP_DEST");
// Get content as table
f.getImportParameterList().setValue("TBL", "PF_CONTENT_PROVIDE");
//read file and trans to byte
byte b[]=null;
File inf = new File("d:
test.jpg");
InputStream in;
try {
in = new FileInputStream(inf);
b =new byte[(int)inf.length()]; //创建合适文件大小的数组
in.read(b); //读取文件中的内容到b[]数组
in.close();
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
//set byte to internal table
JCO.Table poItem = f.getTableParameterList().getTable("PT_CONTENT");
poItem.appendRow(); //增加空行
poItem.setValue(b, "ORBLK");
poItem.nextRow();
//运行RFC函数
try
client.execute(f);
client.execute(commitFunction);
catch(JCO.AbapException ae)
System.err.println("JCO.AbapException: < DMS > " + ae);
ae.printStackTrace();
catch(JCO.Exception e)
System.err.println("JCO.Exception: < DMS > " + e);
e.printStackTrace();
//返回参数
JCO.Structure struct = f.getExportParameterList().getStructure("PSX_MESSAGE");
String te = struct.getString("MSG_TYPE");
System.out.println("RFC Error Type is :"+te);
String pr = struct.getString("MSG_TXT");
System.out.println("RFC get Data is :"+pr);
com.hipfung.jco.JCOFactory.getInstance().release(client);
i can get file via CVAPI_DOC_CHECKoutView
Edited by: pan qiaoming on Mar 15, 2011 3:05 PM -
Hi,
Can any1 tell me how different is task type RFC ( in ST03N) than the task type dialog.
Which activity is recorded in RFC task type. For eg. if DIA makes an rfc call, is it recored in RFC task type too along with DIA?
Why response time of RFC task type doesn't include roll wait time when DIA task type includes it.
Regards,
Hussain.Roll-Wait time will be part of the response time of the dialog step (the caller) because the caller had to wait for the RFC to execute.
Roll Wait will not be part of the response time of the RFC server step (the called) because it did not wait; it just did the function call.
The Roll Wait time of the caller should be about the same as the Response Time of the callee.
For a discussion of components of response time see SAP Note 1063061 - Information about response time in STAD/ST03.
Tim
Edited by: Tim Wise on Feb 8, 2008 1:36 PM -
Multiple receivers for same rfc msg type
I have a soap-XI-RFC scenario. I have to read the soap message and depending on the key field value, I have to send to two different SAP systems.
For EX:
Input Message:
<input_msgType>
<item>
<Key>ABC-123452</Key>
<value>test1</value>
</item>
<item>
<Key>ABC-342222</Key>
<value>test2</value>
</item>
<item>
<Key>XYZ-676767</Key>
<value>test2</value>
</item>
<item>
<Key>XYZ-565655</Key>
<value>test2</value>
</item>
</input_msgType>
Output Message1:
<BAPI_SEND_DATA>
<item>
<Key>ABC-123452</Key>
<value>test1</value>
</item>
<item>
<Key>ABC-342222</Key>
<value>test2</value>
</item>
</BAPI_SEND_DATA>
Output Message2:
<BAPI_SEND_DATA>
<item>
<Key>XYZ-676767</Key>
<value>test1</value>
</item>
<item>
<Key>XYZ-565655</Key>
<value>test2</value>
</item>
</BAPI_SEND_DATA>
I have to send the same rfc request data to two sap systems..all the key with ABC starting Key should go to SAP system1
and all the key with XYZ key should go to SAP system 2.
Should I split the message in mapping - if so how can i do it? What kind of BPM steps should I do?
Can I do this in receiver determination itself using condition? THanks for suggestions and help..
ThilothamaKrishna Moorthy,
I came to a point where I decided that Java mapping would be the best for this. But do you have some sample starts for this??? I would appreciate if you can show me some light...
Would something like this help??
public void getPhonesById(String[] a, String[] b, String[] c, ResultList result, Container container){
Map map = (Map) container.getParameter("phones");
if (map == null){
map = new HashMap();
for (int i = 0; i<b.length; i++){ // if the payload is valid to xsd, b and c have equal length
List list = (List) map.get(b<i>);
if (list == null){
list = new ArrayList();
map.put(b<i>, list);
list.add(c<i>);
container.setParameter("phones", map);
List list = (List)map.get(a[0]);
for (int i = 0; i< list.size(); i++) result.addValue((String) list.get(i));
Thanks and appreciate your help
Thilothama
Message was edited by:
Thilothama v -
How to create an IDOC as an output type for an SAP standard transaction
Hi ,
How to create an outbound IDOC as an output type for an SAP standard transaction.
Regards,
BeenaIn NACE tcode u can create output type with medium as EDI,
u can assign the entry sub routine as ENTRY_EDI in RNASTED -
RFC Destination Type G too fast
Hi All,
I have an RFC Destination (Type G) that is pointing to another XI system. We use that to send messages directly from XI to XI. However, when there is heavy load,we get a lot of failures in the source XI System. Messages go eventually after many retry attempts.
Is there any way that i can slow this down, so that the messages queue up in the Source system and flow slowly towards the target. We can do this in a Type 3 RFC destination by reducing the number of connections in Transaction SMQS. Any such options for Type G?
Thanks,
VarunHi Liang,
Thanks for your response.
We are using the XI adapter. Also, to clarify, this is a connection between 2 separate XI Systems.
Thanks,
Varun -
RFC Destination type for IDOC to FILE
Hi,
wat is the RFC Destination type for IDOC to FILE ?
jeffhi,
u shud create rfc dest tye: R/3 connections...that is type 3.
refer this:
R/3 side settings
1. SM 59 (RFC destinations)
Create a RFC destination pointing to the XI server. The connection type : R/3 connection. The target host: the XI server.
2. WE 21 (Ports in IDOC processing)
Create a transactional port. Give the RFC destination created in this.
3. BD 54
Create a logical system.
4. WE 20 (Partner Profiles)
a. Create a new partner profile under partner type LS.
b. Assign the message type in outbound parameters.
c. Open the message type (Dbl click) and configure the receiver port to the port created.
XI side settings.
1. SM59 (RFC destination)
Configure the RFC destination pointing to the R/3 system.
2. IDX1 (Port maintenance in IDOC Adapter)
Create a port and provide the RFC destination.
[reward if helpful]
regards,
latika. -
Type of Printers SAP Support ,
Hi Experts,
Help Please.
1q) Please. tell me the Types of printers SAP Supports ?
q2) how to configure at least 2 types of printers ( step by step )
Regards
VKNo interview questions
Read the "Rules of Engagement"
All those answers are available at SAP printing guide at help.sap.com
Regards
Juan
Maybe you are looking for
-
Is there any way to revert the header from Premiere Pro CC 2014.1 back to CC 2014?
For the most part, I like the UI change. It's sleek and easier on the eyes with emphasis in the right parts of the panels, but there's one thing I'd like to revert back to CC 2014... It's the new header. The line attached to the header is no longer l
-
Hi Friends, I have some questions to investigate: 1) What is the price per record in a table? 2) If one day this table suddenly grows with let's say with 2 million records: a. Will there be a lot of impact? (Table space, performance, ...) b. How much
-
A couple of years ago we started using Solaris 11/06. We were able to fairly easily setup smpatch and perform the patches. For a while it worked beautifully. Now, everytime we setup a new server, the patching seems to be harder to implement. Right no
-
ORA-00936 not being returned.
I by accident ran across a syntactical error that SQL Developer is not reporting. Run this select query is both SQL Plus and SQL Developer.... select table_name, upper(substr(table_name,1,instr(table_name,'\')- 1)), upper(substr(table_name, instr(tab
-
Hello. This might sound like a basic matter, but I don't understand the use of the check marks on the small squares on the second column for each item on my library list. I can select the usual way, i.e., click on the first line and if I need to sele