Calling RFC in xMII
Dear All,
I've created a RFC to insert records into a custom table. Am executing this function module from xMII. Now my problem is everytime i make any changes in the RFC like adding extra input parameters or export parameters, the changes doesnt reflect in my JCO action block in the BLT even though i generate Request/Response document for the function module. But if i create a new RFC with the changes it works fine. Why is this happening?? Am i missing something?
Am using xMII 11.5.4
Thanks,
Sushma.
Hi,
since you are using 11.5, then you can use this URL to reset the JCO cache
http://<xmiiserverip>/Lighthammer/JCOProxy?Mode=Reset
hope it helps.
Regards,
Musarrat
Similar Messages
-
Hi All
I want to check BAPI in xMII and do not no much in xMII.
Can anyone please tell process to call bAPI in xMII.
Points for quick reply
-PhilipHi Philip,
Here you need to follow two steps
First go to SAP Server Configuration tab and open it.
SAP Server Configuration to assign aliases to default SAP servers for use in the SAP ERP Interface action blocks in the xMII Logic Editor.
Assign login credentials and system name, IP details properly.
Once you define your sap system here than you can see it in drop down list under SAP JCo Interface action block.
Open BLs and go to SAP ERP Interface tab
Click on SAP JCo Interface Action block and choose aliase created by you in Server Configuration.
Give your RFC/BAPI name or put wildcard.
Right click on action block and choose link editor,here you can assign input to BAPI
This way you can take BAPI in xMII.
Best Regards
Ramshanker -
Hello Experts,
I have a requirement where in i need to call RFC(Which is created in R/3 system) In ABAP XSLT Mapping(defined iN xi system).
Can some one help me to achieve this??
**ITS URgent****
Thanks and Regards,
Prakash Babu.Hi James,
Check here............
/message/5182263#5182263 [original link is broken]
RFC connections
/message/5102602#5102602 [original link is broken]
Regards,
Vijay. -
Error when call RFC Function module in R/3
Dear All,
We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
we are facing the error "Error while lookup Exception during processing the payload. Error when calling an adapter by using the communication channel CC_PPPI_MES_RFC_Rcvr (Party: , Service: WCD_320, Object ID: 16563889b449328eac76caa6a3bc592e) XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'."
This is the first time we are doing this configuration.
Could you please let me know what woulbe the reason.read the original message
We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
I am talking about the above Receiver RFC channel which you guys are using to call R/3 from XI. That where you need to change the commit parameter -
Error while calling RFC when using BSP Web Interface
Hi,
we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation:
R_AREA
R_METHOD
R_PACKAGE
R_PARAM
R_PLEVEL
R_PM_NAME
R_PROFILE
R_STS_PT
R_STS_SUP
R_WEBITF
S_RS_ADMWB
S_RS_AUTH
S_RS_COMP
S_RS_COMP1
S_RS_DAS
S_RS_ICUBE
but we still get the error message: "Error while calling RFC".
When using a user with SAP_ALL, it works.
What can we do?
Thx for your time.
JoergActually that's surprising - because BSP (Business Server Pages) and RFC (Remote Function Call) are not related; they use totally different transport protocols (http vs. RFC). Even if an BSP application is calling a function module remotely (acting as RFC client) no authorizations for S_RFC are required - in the calling system (but in the called system, i.e. the RFC server).
Since assigning SAP_ALL seems to "cure" the problem, it seems to be an authorization issue, indeed. In that case it makes sense to use the authorization trace (ST01 - notice: that's specific to one single ABAP application server; you might have to activate the trace on multiple instances) to find out which authorizations are checked / demanded. -
Java call rfc check in original:error while checking in and storing.
hi,experts.
java call rfc check in original:error while checking in and storing. BAPI in the RFC is "BAPI_DOCUMENT_CJANGE2",
the RFC was fine in SE37 and calling by Visual Basic. and in java,when mConnection.setAbapDebug(true), and runing by step and step, was fine too.
if mConnection.setAbapDebug(false) in JAVA, up error in title was displayed.
what cause this error?
Best Regards.Hi Priya
Please use Su53 after getting the error and find any authorization is missing for the user..
S_GUI Full Authorization is required..
Since by giving BASIS Authorization its rectificed, then it shud be mostly due to Auth issues only
Regards
Aby -
Hi all WebDynpro Gurus
I am using EP7.
I am developing an WD application for KM functionality in which I need to call RFC from backend. I followed the "<b>Creating WD application accessing ABAP function</b>" example.
But when I executed the application I got following exception.
<i><b>Root Cause</b>
The initial exception that caused the request to fail, was:
com.sap.lcr.api.cimclient.CIMClientException: java.net.MalformedURLException: URL must have a host part
<b>Correction Hints</b>
Accessing the System Landsape Directory (SLD) failed. Depending on the concrete reason (see root cause) check the following:
is the SLD Supplier in the J2EE engine configured correctly? See the SLD documentation for more details about the SLD and about how to configure it.
are all JCO destinations maintained correctly? Use the preinstalled Web Dynpro Content Admin application to check/edit the destination. Use the Ping and Test functions of the Content Admin to verify that each destination is properly configured.</i>
I checked JcO connections in the webdynpro content admin. There the status is unknown and create tabs are disabled.
I checked the SLD connections in content admin , the entries are as below:
<b>Host name : blank
Port: -1
User: blank
Url: http://.-1/sld</b>
Where could i configure these SLD settings and what should be the new entries ?
I dont have permission to view WebDynpro console.
Please help me out.Vinod,
Claim: "Hello, World" application with WD and RFC is the "Hello, World" application with most complex configuration.
Prove:
1. You need to run http://host:port/sld and import CIM context
2. You need to add technical WebAS ABAP systems to SLD (same URL)
3. You need to run Visual Administrator and setup SLD connection parameters (host, port, user, password)
4. You need to (re)deploy your WD application
5. You need to run web-based WebDynpro Content Administrator and configure JCO connections.
Fortunately, [1]-[4] is necessary only ones per server, [5] is necessary per every application.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net
P.S. After I'd started working with XI I understood that procedure described above is not complex at all -
Standard Component in CRM that will call RFC Function Module
HI all,
Is there any Standard Component in CRM that will call RFC Function Module from ECC and that called RFC FM should Fetch the data from ECC.You can call RFC from different places, like programs, function modules, web dynpros, classes...
So you just have to have appropriate RFC on ERP side and call it from CRM side. To call it you use the following statement...
CALL FUNCTION 'YOUR RFC FUNCTION'
DESTINATION i_dest "name of server
EXPORTING
your export parameters
IMPORTING
your import parameters
Regards. -
Hi experts,
we try to integrate a machine into SAP.
Therefore we want to use RFC-Communication.
This means, the machine will call RFC-FMs on SAP.
I know that this works and I only need to create a "normal" RFC-FM.
But how can I call a RFC-FM on the machine out of SAP?
Do I need to make a an RFC-FM like in ABAP but the destination is the machine (which is defined in SM59)?
Kind regardsHi ,
Please learn this link Connections to Non-SAP Systems (SAP Library - ALE Programming Guide)
http://help.sap.com/saphelp_nw04/helpdata/en/52/16aafa543311d1891c0000e8322f96/content.htm
You can take a look into idocs. For idocs processing you require RFC Library of the RFC Software Development Kit (RFC-SDK) on the non sap system side for processing RFC's.
Regards,
Sivaganesh -
Can we call RFC in any other way except using adaptive
Hi,
I want to know if there is any possible way to call RFC other than using the adaptive model.
Answers will rewarded.
RegardsHi,
you can use JCO or Enterprise Connector to connect with R/3.
JCO-->http://www.sapdevelopment.co.uk/java/jco/jcohome.htm
EC-->http://help.sap.com/saphelp_webas630/helpdata/en/79/c6213e225f9a0be10000000a114084/content.htm
Regards,
Naga -
Hi,all
I am a SAP newbie .I have a strange question. My Delphi Development Environment is Delphi 7. SAP ECC 6 , Delphi Call RFC through COM.
procedure TFrm_SAP.Button3Click(Sender: TObject);
var
myIFunction:IFunction;
myIStructure_EDRAT:IStructure;
myIStructure_ORDER:IStructure;
myIParam_AUFNR :IParameter;
myIParam_AUTYP10:IParameter;
myIParam_WERKS :IParameter;
begin
if not Logon_bool then
begin
Showmessage('Logon SAP/R3 Failure');
Exit;
end;
SAPFunctions1.Connection:=Connection;
myIFunction:=SAPFunctions1.Add('Z_XX_GET_PRODORDER_HEADER') AS IFunction;
myIParam_AUFNR:=myIFunction.Exports_['I_AUFNR'] AS IParameter;
myIParam_AUFNR.value:='000001002864';
myIParam_AUTYP10:=myIFunction.Exports_['I_AUTYP10'] AS IParameter;
myIParam_AUTYP10.Value:='X';
myIParam_WERKS:=myIFunction.Exports_['I_WERKS'] AS IParameter;
myIParam_WERKS.Value:='2010';
myIStructure_EDRAT:=myIFunction.Exports_['IT_ERDAT'] AS IStructure;
myIStructure_EDRAT.Value['SIGN'] :='I';
myIStructure_EDRAT.Value['OPTION']:='BT';
myIStructure_EDRAT.Value['LOW'] :='20090101';
myIStructure_EDRAT.Value['HIGH'] :='20090330';
if not myIFunction.Call then
begin
ShowMessage(myIFunction.Exception);
end
else
begin
myIStructure_ORDER:=myIFunction.Imports['ET_ORDER'] AS IStructure;
end;
end;
after execute myIFunction.Call method ,Show
I trace Log file , as following Show
T:764 Error in program '': ======> Data error (invalid data type 17) in a Remote Function Call
T:764 Error in program '': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
T:764 Error in program '': <* RfcCallReceive [1] : returns 3:RFC_SYS_EXCEPTION
Could anybody have helped me to resolve this problem?Hi
Check RFC Import Parameters Data Type and Data Sent from your Delphi System is not matching , Some data type mismatch is going on.
Check Data Type of when Sent from Delphi == Import (Request) of RFC is equal
rgds
srini -
Calling RFC from Adobe Interactive Form
Hello,
After creating and calling Adobe Interactive form from ABAP web dynpro, within the form designer is it possible to call RFC or Business Object method from the form script to get the data back from SAP for specific Click events?Yes,
this is possible, but not through pure RFC, but using webservices and webservice enabled function modules within SAP.
Technically it is quite simple. Create a functionmodule, and create a webserve from that (all SE37 or SE80 but from WAS 6.40). Generate a WSDL (with the Java tool) and import that into the form that you are designing. From there you can bind the data from the dataset (as defined in the WSDL) to screenfields or treat the data any other way Javascript can.
BTW. I only managed this so far by using anonymous logins, so with a password and username bound to the webservice (in SICF).
Hope this helps, regards, Hans Gmelig Meyling -
Call RFC from java (j2ee) / call to j2ee from R/3
hello
i´ve browsed the forum for some time to find how to:
1.) call ejb from r/3 system via rfc
2.) call rfc enabled function modules on r/3 from within an j2ee enviroment
but i didn´t quite get it, because i was a bit confused about all the mentionend techniques
what i found out about
1.) use ejb (session bean) and jndi; configure RFC-Engine Service (we use sap webas)
2.) use jco / jca
(or all rfc enables rfm´s are available as web service, but didn´t find anything about this)
so my question:
are these the preferred techniques to connect j2ee (webAS) <-> r/3; if not are there any others, maybe easier methods?
and last but not least: are there any good online tutorials for this topic?
thanks in advance
franzJust as a short partial reply.
The generic Java --> RFC method is JCO (it will work on older versions as well), you can think of it as a JDBC driver where R/3 is the database, it behaves very similar in many ways.
EJB development on SAP WAS is really not any different from EJB development on any other J2EE server. The deploy tool is superb. very easy to use and the JNDI registry, etc. are standard stuff...
ABAP to EJB calls, haven't looked at this in over a year now, but back then we did a Proof Of Concept based on information at http://help.sap.com and it did work indeed. The only thing was back then that you needed to do a few tweaks to get it to work properly.
As mentioned above, look at the JCO examples and then you can ask more specific questions once you get stuck.
Good Luck!
Cheers,
Kalle -
Hi Everybody, i have some question:
Its Possible from PL / SQL, call RFC Functions?...
Please can you give me some examples or tell me if is technicaly impossible to do that?..
Thanks a lot.
Greattings
Wilmer FigueroaHey,
It is not that easy,
SAP didn't published an package to link PL/SQL to RFC,
however, it is possible with some work:
the PL/SQL can execute command on operation system of the DB
for example 'dir' in windows or 'ls' in unix,
instead of running dir/ls you can execute a program that will execute an RFC in the SAP system.
the program can be developed by .Net connector, see:
NW RFC SDK - is there a guide somewhere? -
Hi
How can I to use java procedure and call RFC for to access tables of SAP ?
Thank YouRFC? That term in the IT environment usually means "+Request For Comments+" and refers to Internet protocol and usage standards.
Do you perhaps means RPC (Remote Process/Procedure Calls)? Or something else?
Also, SAP is a company. Not a product. SAP has a product called R3. This runs inside a database.
Connecting from Java to a database typically requires nothing more than a JDBC driver. So why can't you use a JDBC driver and need to call the database (and access tables) using another method?
Maybe you are looking for
-
Character set Conversion (US7ASCII to AL32UTF8) -- ORA-31011 problem
Hello, We've run into some problems as part of our character set conversion from US7ASCII to AL32UTF8. The latest problem is that we have a query that works in US7ASCII, but after converting to AL32UTF8 it no longer works and generates an ORA-31011 e
-
Cancelling of a subcontracting order
Hello I am trying to find out how to cancel a subcontracting order and also all the documents generated by the creation of a subcontracting order. Do we have to receive the goods from the SC PO, delete the line item, cancel the SC PO and that's it o
-
Sender side Synchoronous jdbc scenario
Hii experts, Can we do Sender side synchronous jdbc scenario?? if yes give me an example how the scenario will look like?? and what are the steps has to be done? Regards, Balaji
-
Need simple example on Soap With attachment webservice
Hi I want to explore following points:- 1. How to create a webservice that accept attachment. 2. java Client to send the attachment to webservice 3. using OSB to send attachment to webservice? Does any have any example tht will help to understand thi
-
Uploading clob column's data into table
Hello everyone ... I used webutil to opload data into blob column then converted blob to clob ... what i have now is comma delimited data that i want to put into a table... so , if i have the clob column like this 1,adam,11/08/08,accountant 2,john,12