Is it possible to call SAP RFC by using ODI
Hi guys,
I connected to a SAP system by using ODI. I can fetch SAP tables but is there a way to call a RFC by using ODI?
Thanks.
did U find a way to make RFC call ??
Similar Messages
-
I want to call SAP RFC from ODI. Client has provided only a set of RFC's. So I want to call these RFC's to extract data from SAP ERP system or BW to Oracle Staging using ODI. Would anyone please tell me how it will be possible?
I want to call SAP RFC from ODI. Client has provided only a set of RFC's. So I want to call these RFC's to extract data from SAP ERP system or BW to Oracle Staging using ODI. Would anyone please tell me how it will be possible?
-
Is it possible to call a class method using pattern in ABAP editor.
Hi,
Is it possible to call a class method using pattern in ABAP editor.
Thank U for Ur time.
Cheers,
SamYes,
Click patterns.
Then choose Abap objects patterns.
Click on the Tick
It will give a new screen
Here Give the name of the class first.
Then the object (instance of the calss)
And finally the method ..
it will give you the pattern
Hope this helps. -
MII BLS Trasaction calling SAP RFC call - How to pass XML document as input parameter
Hi,
1. I am very new to the SAP and SAP xMII workbench.
I have a webpage with iGrid applet embedded on it. We have multiple rows in the iGrid applet that can be selected by user.
After selecting single or multiple grid rows user clicking a 'button' on the web page.
We are using iCommand applet (ExacuteQuery] to call the BLS transaction.
Using iCommand applet on the webpage we are passing parameters to BLS Transaction.
Would like to pass on the single/ multiple selected grid row values as a XML document to BLS Transaction variable which is an Input parameter for SAP RFC call.
I am using SAP JCo Session to make the RFC call.
Any pointers will be helpful.
2. Which is a best track in SAP training courses to get formal training.
Thanks,
SenthilHi Senthil,
What version of MII (or xMII) are you working with? There are some examples of this type of transaction in the wiki which you may want to download and take a look at.
Regards, Mike
SAP Customer Experience Group - CEG -
Where may I download package for JAVA call SAP RFC
Hi all,
I need to call a RFC in a JAVA based system. I found I need to install two package before I call, such as:
import com.sap.rfc.*;
import com.sap.rfc.exception.*;
import com.ibm.sap.bapi.*;
import com.ibm.sap.bapi.generated.*;
where can I download these 2 package?
Thanks a lot in advance.
NedHai ,
im telling in Eclipse ..
Take a look to see that those packages are listed in the plug-ins under
Windows > Preferences > Target Platform. This should point to an Ecilpse
installation which should have most of those packages.
You will need to install GEF separately. It does not come with Eclpse. Go
to http://www.eclipse.org/gef/ and click on Downloads.
Regards ,
Venkat -
C# Calling SAP RFC/Web Service Failure
Hi SAP Experts,
I am facing this problem. When an external system is calling my SAP RFC/Web Service, the external system(which is not SAP) is not getting the correct value. But when I test the RFC in SAP GUI It is working correctly. When I test between SAP server A & SAP Server B it is working correctly which is the recepient server is getting the correct value. What might cause this problem ? Urget help is needed here. Thanks.Hi Hadi,
U need to expose a custom RFC as a Web Service. This is a simple web service that returns Customer Data (from kna1) based on the Customer ID which we provide as input.
In the RFC, U have to declare an internal table (G_RET) in the tables section of the RFC.
Now, U have to test the web service, U can see a check box with NULL option beside the G_RET.
cheers,
Hema. -
PowerBuilder call sap rfc.
Hi gurus,
Does anybody tell could PoverBuilder call SAP R/3 FRC? If can, how to call? It's nice if show some code for connect SAP and call one RFC.
Thanks a lot!Hi,
Here is a code, which will help u. Analyse this and use the same.
//Declaration
String ls_app_server, ls_client_id, ls_user_name, ls_user_pass, &
ls_sap_system, ls_appl_lang, ls_sys_num
boolean lb_success = false
integer li_rc
SetPointer(HourGlass!)
dw_1.AcceptText()
// Get Application Server Name
ls_app_server = trim(dw_1.Object.app_server[1])
If IsNull(ls_app_server) or Len(ls_app_server) <= 0 Then
MessageBox("Application Server", "Application Server cannot be blank.")
Return
End If
// Get Client info
ls_client_id = trim(dw_1.Object.client_id[1])
If IsNull(ls_client_id) or Len(ls_client_id) <= 0 Then
MessageBox("Client", "Client Id cannot be blank.")
Return
End If
// Get User Name
ls_user_name = trim(dw_1.Object.user_name[1])
If IsNull(ls_user_name) or Len(ls_user_name) <= 0 Then
MessageBox("User Name", "User Name cannot be blank.")
Return
End If
// Get User Password
ls_user_pass = trim(dw_1.Object.user_pass[1])
If IsNull(ls_user_pass) or Len(ls_user_pass) <= 0 Then
MessageBox("Password", "Password cannot be blank.")
Return
End If
// Get System number
ls_sys_num = trim(dw_1.Object.sys_num[1])
If IsNull(ls_sys_num) or Len(ls_sys_num) <= 0 Then
MessageBox("System Number", "System Number cannot be blank.")
Return
End If
// Create the Sap Connection Object
If Not IsValid(iole_SapConnection) Then
iole_SapConnection = Create OLEObject
// li_rc = iole_SapConnection.ConnectToNewObject("sap.bapi.1")
li_rc = iole_SapConnection.ConnectToNewObject("sap.functions")
End If
// check return code
// -1 Invalid Call: the argument is the Object property of a control
// -2 Class name not found
// -3 Object could not be created
// -4 Could not connect to object
// -9 Other error
If li_rc < 0 Then
MessageBox("SAP Connection Failure","Unable to connect to SAP. " + &
"Please verify that SAP is installed on this machine.rn" + &
"The return code is: " + string(li_rc))
Return -1
End If
// Create the connection object
If Not isvalid(iole_connection) Then
iole_connection = CREATE OLEObject
iole_connection = iole_SapConnection.Connection()
End If
If Not IsValid(iole_connection) Then MessageBox("Error","Error")
// Assign all Sap login connection properties.
iole_connection.applicationserver = ls_app_server
//iole_connection.Destination = "DS6"
iole_connection.User = ls_user_name
iole_connection.Password = ls_user_pass
iole_connection.Client = ls_client_id
//iole_connection.system = trim(dw_1.Object.sap_system[1])
iole_connection.Language = trim(dw_1.Object.appl_lang[1])
iole_connection.systemNumber = trim(dw_1.Object.sys_num[1])
//iole_connection.AutoLogon = True
// logon now (silently)
lb_success = iole_connection.logon(0, true)
// set instance
If lb_success Then
MessageBox("Congrats","Connected with SAP and Login successful.")
Else
MessageBox("Sorry","Login fail, Please check with the SAP Administrator")
If IsValid(iole_SapConnection) Then Destroy iole_SapConnection
If IsValid(iole_connection) Then Destroy iole_connection
Return
End If
OleObject lole_sapfunc, ITAB
lole_sapfunc = Create OleObject
ITAB = Create OleObject
String ls_frdate, ls_todate
Boolean lb_function
If lb_success Then
lole_sapfunc = iole_SapConnection.Add("ZBAPI_TEST_SAL") //'ZBAPIPRACT1'
lole_sapfunc.EXPORTS("IM_FDATE").Value = '05072008'
lole_sapfunc.EXPORTS("IM_TDATE").Value = '07072008'
lb_function = lole_sapfunc.call
If lb_function Then
ITAB = lole_sapfunc.TABLES.Item("T_OUT")
long ll_row = 0
For ll_row = 1 to ITAB.RowCount()
MessageBox(string(ll_row), string(ITAB.cell(ll_row,"MATNR")))
MessageBox(string(ll_row), string(ITAB.cell(ll_row,"EXNUM")))
MessageBox(string(ll_row), string(ITAB.cell(ll_row,"SOLD_TO")))
Next
Else
MessageBox("Error","SAP Function cannot call.")
End If
End If
iole_connection.Logoff
Destroy lole_sapfunc
Destroy lole_sapfunc
Destroy ITAB -
Is it possible to call a SOAP webservice using HTTP POST adapter
Hello Experts,
Is it possible to call a webservice using a HTTP adapter with POST method? If yes, how?
Regards,
DipteeNo this will not work since you have additional SOAP information (i.e. SOAP envelope, security information) in addition to the payload. If you need a simple HTTP-Post for example, then you don't need SOAP, you can use the more simple http protocol without the additional features of SOAP.
Also refer to this link for differences: Difference b/w SOAP and HTTP -
Is it possible to call asynchronous Web Service using Adaptive WS model?
Hello,
I was trying to call asynchronous web service and after execution exception has arised
java.lang.NullPointerException
at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.fillOutputParametersToMc(WSGenericModelClassExecutable.java:281)
at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:93)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:46)
at at.gov.bmf.demo.comp.employee.EmployeeDemo.ok(EmployeeDemo.java:242)
at at.gov.bmf.demo.comp.employee.wdp.InternalEmployeeDemo.ok(InternalEmployeeDemo.java:285)
I have NWDS 7.0.
How can I set model, to avoid binding web service response to model?
Thanks.I just ran into this issue, same exact problem.
The quick and dirty workaround I did, after trying out several other things to make sure I didn't do anything wrong to cause this problem, was to just catch the nullpointer, and then go along my merry way.
try{
query.execute();
catch(NullPointerException e){
//we get a worthless error here from Webdynpro, so we just ignore it. Not pretty. But unavoidable
If someone else has any other solution, I would love to hear them.
This is on NW7.0 SP15
/Björn -
How to extract data from SAP and COBOL using ODI
Hi Folks,
Can you please let me know the procedures in ODI to extract data from SAP and COBOL?
Thank you all for the help.Hi
You can download Patch 8571830 from Oracle metalink.
It has a new technology "SAP ABAP" and KMs to extract and load data -
RKM SAP ERP and LKM SAP ERP to Oracle.
Thanks -
Call external RFC in a workflow
Hi!
I'm going through the tutorials at
http://help.sap.com/saphelp_46c/helpdata/en/fb/1359c4457311d189440000e829fbbd/frameset.htm.
I had a question - as one of the steps in the workflow, is it possible to call an RFC on an external system (a destination defined via SM 59), get the response back, and use that response in the next step in the workflow, which again calls another RFC on an external system?
Thanks,
MustansirYes, you can achieve that by using the corresponding methods of the activity defined.
Regards, IA -
Calling SAP Transaction from BSP
I wonder whether it is possible to call SAP transaction from BSP application and pass to it some data; e.g., PO# when calling VA02?
The called transaction could appear in a separate MS IE Window (like in some Portal applications) or in SAP GUI.
Any help will be appreciated.
Thank you in advanceI have launched the Java SAPGui from BSP pages before. I used SNC so that the users were logged on via Single Sign On. I store the Java Gui in the Mime directory. You can force the startup transaction. Theorectically you could also Gui Scripting to try and control the Gui and force in the default value for your PO field. I have not tried that however. You will probably want to check the Service Marketplace for documents on the Gui Scripting. The following is the code from my BSP page to launch the Java Gui in the Browser as an applet:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<HTML>
<HEAD>
<TITLE>SAPGUI for the Java Environment</TITLE>
<STYLE type="text/css">
body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; }
</STYLE>
</HEAD>
<BODY scroll="no">
<SCRIPT language="JavaScript">
// user configurable part starts here
var pluginurl = '';
var scriptable = 'true';
var codebase = '.';
var jnlp = 'platin.jnlp';
var keepalive = 'true';
var frog = 'true';
var trace = '';
var tracefile = '';
var connectionData = 'conn=/M/nts163/S/3620/G/SPACE/&tran=SE80&clnt=088&fast=true&sncon=true&sncname=p:[email protected]&sncqop=9';
// user configurable part ends here
// verify if Java Plugin as control in Internet Explorer or Java Plugin for Netscape or native JRE of browser must be used
var jre = 'control';
if(navigator.platform.indexOf("Mac") > -1)
jre = 'native';
else if (navigator.appName.indexOf("Netscape") != -1)
jre = 'plugin';
document.open();
switch (jre)
case 'control':
document.writeln('<OBJECT CLASSID = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.writeln(' ID = "PlatinGUI" ');
document.writeln(' CODEBASE = "j2re-1_3_1_02-win-i.exe#Version=1,3,1,0" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' BORDER = 0> ');
document.writeln('<PARAM NAME = "TYPE" VALUE = "application/x-java-applet;jpi-version=1.3.1"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable,'"> ');
document.writeln('<PARAM NAME = "code" VALUE = "com.sap.platin.GuiApplet2"> ');
document.writeln('<PARAM NAME = "codebase" VALUE = "', codebase,'"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp,'"> ');
document.writeln('<PARAM NAME = "archive" VALUE = "GuiStartS.jar"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive,'"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog,'"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace,'"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile,'"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData,'"> ');
document.writeln(' ');
document.writeln('This page requires a Sun Java Plugin 1.3 and a SAPGUI for Java to view. ');
document.writeln(' ');
document.writeln('</OBJECT> ');
break;
case 'plugin':
document.writeln('<EMBED TYPE = "application/x-java-applet;version=1.3" ');
document.writeln(' PLUGINURL = "', pluginurl,'" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' ALIGN = "BASELINE" ');
document.writeln(' code = "com.sap.platin.GuiApplet2" ');
document.writeln(' codebase = "', codebase,'" ');
document.writeln(' jnlp = "', jnlp,'" ');
document.writeln(' archive = "GuiStartS.jar" ');
document.writeln(' keepalive = "', keepalive,'" ');
document.writeln(' frog = "', frog,'" ');
document.writeln(' trace = "', trace,'" ');
document.writeln(' tracefile = "', tracefile,'" ');
document.writeln(' connectionData = "', connectionData,'" ');
document.writeln(' <NOEMBED> ');
document.writeln(' </NOEMBED> ');
document.writeln(' </EMBED> ');
break;
case 'native':
document.writeln('<APPLET CODEBASE = "', codebase,'" ');
document.writeln(' ARCHIVE = "GuiStartS.jar" ');
document.writeln(' CODE = "com.sap.platin.GuiApplet2" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable, '"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp, '"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive, '"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog, '"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace, '"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile, '"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData, '"> ');
document.writeln('</APPLET> ');
break;
document.close();
</SCRIPT>
</BODY>
</HTML> -
How to call an ABAP FM using WS adapter?
Hi guys,
I need to develop a SOAP to PROXY scenario, where in the target I'll be calling a function module. Is it possible to call the function module using the WS adapter? What would the steps of setting this up look like?
Thank you, AndrzejHello,
Yes, is possible. You need to publish a WS related to Function that you want to call.
To expose the FM WebService: SE37 trans -> Enter FM name -> Modify
Than, in Menu -> Utilities -> Other Utilities -> Generate WebService -> From Function Module.
Than, follow the wizard! -
Calling a shell script from ODI tool OS command
hi,
I am trying to call a shell script from the ODI tool OS command with the following command "sh /Oracle/ODI/backlog.sh"
where "backlog.sh" is the name of the shell script. I am redirecting the output of the script to a file called "backlog.out" and this part is done in the script itself.The ODI session is successful and the output file i.e "backlog.out" gets created in the specified location but the output of the script doesnot get written to this output file.Is this the right way of calling the shell script using ODI OS command.Hi-
It seems there is no input parameters for your script. Please check your script file needs any input parameters and try the syntax below:
path/scriptname.sh input1 input2
where input1 and 2 are input parameters for the script file which you are calling.
Hope this will work for you.
Thanks,
Saravanan Rajavel -
Is it possible to call custom designed RFC function module, apart from BAPI
Hi Friends,
1. Is it possible to call custom designed RFC function module, apart from BAPI.
2. Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why cant be dynamic.
Thanx for Ur time.
Cheers,
SamAlso check <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm">here</a> for more information on aRFC. Here you can find why it is called adaptive.
Regards,
Christophe
Maybe you are looking for
-
Alert to Error in Receiver determination mapping
Hi everyboy. Im using a mapping to decide the receiver determination (ReceiverDetermination - http://sap.com/xi/XI/System). I can´t configure an alert when the mapping fails. How could I do that???? Thanks a lot
-
Can I connect a single fp-1001 to two fp-1000's each on seperate cpu's?
Is it possible to poll a single FP1001 from two computers using an FP1000 on each of the computers?
-
Problem in designing Adobe forms
Hi All, I have designed an Adobe form. It is working properly. Now if i am trying to resize the text fields or try to change the properties of the fields, a new page gets inserted before 1st page. Regards,
-
I'm trying to redirect my existing site to business catalyst
I'm trying to redirect my existing domain to business catalyst but it won't accept the domain name saying 'domain already exists, please delete all records associated with this domain'. I have already got my current hoster to redirect to the europea
-
Enable universal access for steam is not enabled - how do I turn it on?
In order to get some functionality from steam to be enabled, I understand I need to enable universal access for steam on my computer. When I try to do this, its greyed out showing it can't be enabled. How can I enable it / what would cause it to gr