Call remote function on a satellite system using RFC target sys option
Hi all,
I am on the Java stack and I would like to call the ABAP stack of a statellite system. I can create a JCo connection on this system directly but for security reason I am not allowed to do that. I would like to call this system through the ABAP stack of my machine (I am in dual stack environment).
- How can I use RFC target sys (available in SE37 for Remote-Enabled functions) with my JCo connection?
- Or, is there a generic function which can call all other functions on a remote system (still using RFC target sys)?
Many thanks,
Stephan
Siddhesh - thank you for the link; the blogs by Thomas are required reading as far as I am concerned.
Hi Raja;
<i> do you mean another ABAP system (was6.40)?
and from here using another FM you call the 4.6c
system RFC ?</i>
Yes, that is what we are doing. We are calling a web service from an Intranet form to the 6.40 system that, in turn will call the 4.6C system and pass the data back to the Intranet form (through 6.40)
<i> may be you could pass the RFC destination as import
parameter to the 6.40 RFC and use the same will the
call to 4.6C RFC from the 6.40 RFC</i>
That would work, but it would be more beneficial to just use the function module on the 6.40 system as a proxy to the function on 4.6c and not have to enter code in it each time.
I had thought of writing just one function module in the 6.40 system that could dynamically call any different function module in 4.6c (based on the input parameters), but since were are trying to accomplish SOA, we need visiblity to each web service (ergo function module).
If it's not possible, that is OK I am just hoping someone had found a way to pull this off.
Thanks!
John
Similar Messages
-
Calling Remote Functions Locally Triggers any Database commit(Implicit)
Hello,
Am making use of RFC enabled function module as normal function module (Calling remote function module locally).
My question is does it trigger any implicit database commit or not. Since synchronous RFC triggers database commit.
Regards,
Tenzin ChoegyenI057200 wrote:
Since synchronous RFC triggers database commit.
Let me correct the statement both synchronous as well as asynchronous RFCs trigger an implicit DB commit.
SAP documentation on synch-RFCs states:
If the content of dest is equal to the constant space, then the addition DESTINATION is ignored and a normal call CALL FUNCTION func is executed.
Please note that you should not use the DESTINATION addition or use DESTINATION space. DESTINATION none will start the FM as an RFC in the same app server. -
Can a report in ERP called from CRM system using RFCs??
Hi All,
Please let me know if this is possible, if so , how?
Can a report in ERP called from CRM system using RFCs??
Thanks
SivaYes, you should make an RFC function in ERP and inside the
function you can call the report with a SUBMIT. Then in CRM you can call the RFC function...
Best regards,
Iván
P.D.: Give points if answer helps!! -
What is the exact syntax for calling remote function module.
Hi to all
1.....what is the exact syntax for calling remote function module.?
Thanks and regards,
k.swaminath reddyhi
good
Lets do simple example where you will first create a RFC in one server (say A) and create normal program in othere server (say B). Finally you will call the RFC in A from B.
Do the following steps for creating RFC in server A.
1. log on to server A
2. go to se37
3. Edit -> function groups-> create function group and give the function group name (say ZGRP).
4. create a FM ( say Z_TEST_RFC) in se37 providing the function group which is created just now.
5. go to attribute tab -> choose remote-enabled module from processing type.
so that your FM will become RFC.
6. provide the import parameter in import tab.
we will provide only two import parameters.
- parameter name : P_NUM1, typing: TYPE, associated type : I & check the pass value (all the parameters of RFC must pass by value).
- parameter name : P_NUM2, typing: TYPE, associated type : I & check the pass value
7. provide the export parameter in export tab.
parameter name : P_SUM, typing: TYPE, associated type : I & check the pass value
8. write the given simple code in source code tab.
FUNCTION Z_TEST_RFC.
P_TOT = P_NUM1 + P_NUM2.
ENDFUNCTION.
Do the following steps for creating ABAP program which will call the RFC in server B.
1. se38 - > creat a program.
2. write the given simple code.
data tot type i.
call function 'Z_TEST_RFC' destination 'XXXXXX'
exporting
p_num1 = 10
p_num2 = 15
importing
p_tot = tot.
write tot.
please note that XXXXXX is RFC connection which is avialable in sm59 transaction in server A.
-go to sm59 - > abap connection (list of RFC connection configurations are avialable). choose server B connection and replace it of XXXXXX in the code.
finally you can execute the normal abap program that will call the RFC and display the result.
reward point if helpful.
thanks
mrutyun^ -
Webdynpro/abap portal unable to call Remote functions?? HELP
<b>Scenario:</b>
webdynpro/abap system A talks to system B.
webdynpro Abap has a call as
call function 'BAPI_FLIGHT_GETLIST'
destination 'RFCB'....
At "A"
created SSL Server for https, created certificate request and imported it from SAPtest ticket.
imported certificates for the SSL from "mySAP" and "Server CA" downloaded from sap site
enabled the ACLs for the above 2 certificates on client '000"
The browser's http proxy tool shows that after login to system A with Http, further requests go through RFC destination to system B, called RFCB.
RFCB config to systemB as a specific user, everything is fine.
However, if RFCB is set to 'current user', it does not work.
So, SSO ticket is not used to login to system B, I guess.
How to set up the RFCB. If I change to 'trusted system', I get RFC authentication error. The sdn shows to setup S_RFC auth object into user profice with PFCG.
Can you help?
Thanks.Hi ,
I have used RFC's couple of time in WebDynpro ABAP .As I am doing WD Application for SRM where I require to fetch data from other R/3 servers .
Now do you want something like this . You will pass some parameters to RFC and based on that will updates data in that Remote R/3 and Also send results that you want show over WebDynpro Application .
Please see thread below .See that help you or not.
Re: RFC call Dumps with ***Ilegal reference***
Cheers
Parry -
Calling Transaction from other system using RFC
Hi ,
I have one button on screen(say Screen-A), in ECC. when its pressed the transaction '/SAPAPO/BOPIN' gets called from APO.
For calling transaction from APO I am using FM - 'ABAP4_CALL_TRANSACTION'.
I want the initial screen of that transaction to retain some values which I fill on the Screen-A(the screen which has that button).
When I call the transaction from ECC itself (ex. C006), the initial screen of C006 retains the value on Screen-A.
I want the same to happen in case of calling transaction from APO.
How to achieve this? Would it need the changes in IMG (SPRO)?
Please note that, Screen-A is initial screen of transaction 'md05' and I want to retain vaules of Material, MRP Area, Plant.
Thanks,
SujeetBuilld a RFC enabled FM () that wrap the call of Smartforms (*) in the other system.
Regards,
Raymond
(*) [Writing Remote Function Modules in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
(**) [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm] -
Local function calling remote function - error
Dear All
i have following remote function wich return some value from both methods ie.
1) select func1(variable, varialbe) from dual@remoteDB; working
2) select func1(variable, varialbe) from dual; -- by making a synonym at local
Now i create a local function funclocal calling remote functino i.e. func1 in this example as:
CREATE OR REPLACE FUNCTION funclocal(locc varchar2, artnoo number)
RETURN NUMBER IS
query_str VARCHAR2(1000);
STKQTYY NUMBER;
artno number(10);
loc varchar2(80);
BEGIN
artno := artnoo;
loc := locc;
query_str := 'select func1(loc, artno) from dual ';
EXECUTE IMMEDIATE query_str
INTO STKQTYY;
RETURN STKQTYY;
END;
compiled successfully.
But when i run as:
SQL> select funclocal('abc', 469183) from dual;
select funclocal('@st3', 469183) from dual
ERROR at line 1:
ORA-00904: "ARTNO": invalid identifier
ORA-06512: at "funclocal", line 11
Please guide me.
Regards
SaeedEXECUTE IMMEDIATE query_strAs Andreas states: Why are you using dynamic sql?
From what I see all you need is sth like
create or replace function funclocal (locc varchar2, artnoo number)
return number
is
begin
return func1 (locc, artnoo);
end funclocal ;
/even the whole concept of a »local« function seems suspicious. Why do you need that one? -
Calling Remote function tool leads always to a logon screen
Hello,
I run an remote function tool in system A. In System B I run a report calling this function module.
Each time, I execute the report, a remote logon screen appears. It looks the same like the one you logon the system. You have to specifiy client, user and password.
I know one possibilty to avoid this logon screen appeaering.
System B (holding the function module) must declare System A as a trusted system. Thus, the user does not need to logon system B, each time calling the func. module. I processed this in correspondence with the help data, but the screen still appears.
Is there any other possibilty to avoid appearing the logon screen or does anybody know wheter I did something wring??
thanks, holgerHi Holger,
1. This has to do with tcode SM59 (Maintain RFC Connections)
THE CALLING SYSTEM HAS NOT DEFINED
USER ID / PASSWORD TO LOGON TO THE TARGET SYSTEM.
HENCE, IT SHOWS BLANK LOGIN SCREEN
2. Under the node RFC Destinations ---> R/3 Connections,
various systems are defined for RFC Purpose.
3. Lets say ur system(which u want to connect) is PRD.
4. Double Click PRD and go the the details.
5. There are 3 Tabs. Goto LOGON/SECURITY TAB.
6. In the logon information , enter the
USERID and password and client.
7. Save.
Then try your program.
Hope this helps.
Regards,
Amit Mittal. -
Urgent: No data while calling remote function in custom widget.
Hi,
I created a function module with transaction se37 and in its attributes checked the 'Remote Enabled' radiobutton.
Now in my widget I called this remote function in my RFC view.
The data is not displayed in the widget and in debug mode error is displayed :
"Type error: data.root has no properties (RFCRequest .js: Line 102 )"
what is the reason for the error ?
or am I going wrong with remote function module call.
regards,
Omkar H. NakhateHi,
Thanks for the information provided.
We are using Eclipse plug in to create the widget
After Debug yahoo widget,
This is my Konfabulator log.
Welcome to Yahoo! Widgets 4.5.1 (build 10A39) on 04/03/08 17:01:44.531
Type '/help' for help.
Loaded Widget 'rfc_call' from C:\Documents and Settings\Administrator\Desktop\new Data\rfc_call\Main.kon
04/03/08 17:01:44.875: rfc_call version is 1
Main.kon (Included file 'js/utils/PlatformUtil.js')
Main.kon (Included file 'js/utils/DomUtil.js')
Main.kon (Included file 'js/utils/CommonUtil.js')
Main.kon (Included file 'js/utils/Common.js')
Main.kon (Included file 'js/utils/Timer.js')
Main.kon (Included file 'js/utils/DataLoader.js')
Main.kon (Included file 'js/utils/RFCRequest.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/Skin.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinCell.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinConfiguration.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinCustomDraw.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinImage.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinInput.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinList.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinElementStyle.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinEvents.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinComponent.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinText.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinLabel.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinViewDefinition.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinViewDraw.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/XmlUtil.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/ConfigurationReader.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinUtil.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/ResourcesReader.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/ResourceBundle.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/Components.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/ComponentEvents.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/ComponentProperties.js')
js/utils/PlatformUtil.js (Included file 'js/skinlib/WidgetUtil.js')
Main.kon (Included file 'js/skinlib/SkinLib_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.About/js/c.About.js')
js/utils/PlatformUtil.js (Included file 'components/c.About/js/c.About_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/c.Feedback.js')
js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/Animation.js')
js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/c.FeedbackController.js')
js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/c.Feedback_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.Footer/js/Footer.js')
js/utils/PlatformUtil.js (Included file 'components/c.Footer/js/c.Footer_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.Header/js/Header.js')
js/utils/PlatformUtil.js (Included file 'components/c.Header/js/c.Header_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/Task.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/TaskSet.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/JavaChecker.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/FoundationChecker.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/WidgetDeployer.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/TaskViewer.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/StartupServices.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/ActivityLogger.js')
js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/c.StartupManager_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.Table/js/Table.js')
js/utils/PlatformUtil.js (Included file 'components/c.Table/js/c.Table_Include.js')
js/utils/PlatformUtil.js (Included file 'components/c.TellToFriend/js/c.TellToFriend.js')
js/utils/PlatformUtil.js (Included file 'components/c.TellToFriend/js/c.TellToFriend_Include.js')
js/utils/PlatformUtil.js (Included file 'components/Main/js/controller/Controller.js')
js/utils/PlatformUtil.js (Included file 'components/Main/js/view/View.js')
js/utils/PlatformUtil.js (Included file 'components/Main/js/model/Model.js')
js/utils/PlatformUtil.js (Included file 'components/Main/js/Main_Include.js')
Main.kon (Included file 'components/Main/js/Main.js')
04/03/08 17:01:45.859: Starting deployment
04/03/08 17:01:45.859: Deployment Finished
17:1:46! [Components.create] cAbout : c.About
17:1:46! [Components.create] cFeedback : c.Feedback
17:1:46! [Components.create] cFeedbackHeader : c.Header
17:1:46! [Components.create] cFeedbackFooter : c.Footer
17:1:46! [Components.create] referenced1 : c.Table
17:1:46! [Components.create] cMainHeader : c.Header
17:1:46! [Components.create] cMainFooter : c.Footer
17:1:46! [utils.DataLoader]> open( POST http://127.0.0.1:7531/SapMiddleTier/RESTJSON/ewcs/service/rfct?serviceProvider=&httpMethodOverride=POST true );
17:1:46! [utils.DataLoader]> headerName: Content-Type ; headerSource: text/xml
17:1:46! [utils.DataLoader]> data: <root><RfcRequest name='ZTABLE'><![CDATA[ <T_ROM></T_ROM> ]]></RfcRequest></root>
17:1:52! [utils.DataLoader]> (http://127.0.0.1:7531/SapMiddleTier/RESTJSON/ewcs/service/rfct?serviceProvider=) request returned
TypeError: data.root has no properties (RFCRequest.js: Line 102) -
Hello everyone,
actually I'm facing little difficulties on how to get an external function getting called from within CVI (Version 2009).
I was supplied with a .H file and a .LIB file to call an external function from within my CVI project. The .H file looks like this:
void exportedFunction(double *parameter);
As far as I know, the external function was written with MS Visual C++ 6.
So I tried to statically link to the extern al function like this:
- Add the .H file and the .LIB file to the CVI project
- #include the .H file where I needed to call the external function
- do the external function call
When building I get an unresolved external function call error from CVI so this seems not to be working.
I made some searches around and got up with two possible issues. Maybe one of you can help me get a bit further and get things working.
1) The "real" function code is located in the DLL file which was not delivered to me. Or is there a way to get things done (call external functions) just with a .H and a .LIB file (without any .DLL file included)?
2) The external function does not export according to "C-Style" rules. The function signature in the .H file shows no things like
extern "C" __declspec(dllexport) void __stdcall ...
Or maybe it's a combination of both issues (missing .DLL + wrong export style of function)?
I guess I could get around the wrong export style of the function when I manage to write a wrapper around the original function that actually uses C-Style exporting. But I guess I need the .DLL file for this try as well.
Thank you for your answers.
Best regards,
Bernd
Solved!
Go to Solution.There is no need for the dllexport stuff. There is also the option for a static library without any DLL. But the 'extern "C"' is essential, because it forces the C++ compiler, which was probably used to compile the library , to use C calling convention.
If you can't ask the provider of the library to provide a version which was compiled using C calling convention the way to go is to write a wrapper with VC++6 around that library which reexports the functions using C calling convertion. Something like
extern "C" type0 myfunc1(type1 arg1, ...) {
return func1( arg1,...);
for every function , you need to use.
BTW. "unresolved symbol" is the linker error message, you can expect if you try to link C code against a library build with C++ calling convention. -
Error in pushing a request to R3 System using RFC Adapter
I am trying to send a request to R3 system using an RFC Adapter as my end point and pointing to
the Application server of the R3 box.
In the Transaction SM58 I see and error saying "<i><b>Exception in handleRequest of server Xmb2RfcService: java.lang.Exception:</b></i>"
Here are the corresponding details:
Caller: CENTRALADMIN
Function Module: SRFC_ADAPTER_SERVICE
Target System: AI_RFCADAPTER_JCOSERVER
Host: .... (The XI Server)
Program: SAPMSSY1
Clnt: 100
As per the SRFC_ADAPTER_SERVICE function module, the <i><b>purpose stated so...
"This function is the glue between the JCo RFC Inbound Adapter and the XMS Pipeline."</b></i>
By the by the RFC adapter is started and I can see no activity in the log after startup.
I would really appreciate for any idea/leads in solving this. Thanks.<b></b>Here are the details
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Config File for RFC Adapter%%%%%%%%%%%%%%%%%%%%
RFC ADAPTER CLASSNAME FOR ADAPTER ENGINE
classname=com.sap.aii.rfcadapter.core.RfcAdapterModule
RFC ADAPTER CONFIGURATION PROPERTIES
Tue Jan 21 13:27:43 CET 2003
1. GENERAL SECTION
1.1 trace settings
RfcAdapter.trace=2
-> adapter trace level 0 = none
1 = error
2 = standard
3 = request
4 = payload
5 = binary payload outbound
#RfcAdapter.traceStack=0
#RfcAdapter.listenException=0
#RfcAdapter.listenState=0
-> additional trace switches (in general not needed)
RfcAdapter.traceFile=./LogFiles/Adapter_rfc.log
-> name of trace file (traces to stdout if not specified)
NOTE: in a productive environment, the trace file should be written to the
log-file directory of the Adapter Engine
1.2 connectivity settings
RfcAdapter.registerInbound=sourceBackendXD1
-> space-delimited list of logical names for inbound R/3 systems subsections.
The adapter will register with all R/3 systems defined in this list and
those systems can send RFC requests into the XI via an RFC destination
that has to be setup in SM59 to point to the RFC Adapter
RfcAdapter.accessInbound=toXmb
-> logical name for inbound access to XMB subsection
RfcAdapter.registerOutbound=fromXmb
-> logical name for outbound access from XMB subsection
RfcAdapter.accessOutbound=targetBackend
-> space-delimited list of logical names for pre-allocated outbound R/3 systems subsections.
This is an option to speed up connection setup during request processing. The RFC Adapter
preallocates sessions to all listed R/3 systems.
RfcAdapter.clientCloseConn=1
-> close calling connections after call (1) or just reset session (0)
NOTE: the reset mechanism is slightly faster for request processing. However, it does
not re-connect after a target system shutdown and hence requires a restart of the
RFC Adapter in such a situation.
#RfcAdapter.maxDynPools=128
-> maximum number of dynamically allocated client pools to access outbound R/3 systems
#RfcAdapter.minDynPoolSize=4
-> initial number of clients in dynamically allocated client pools
#RfcAdapter.incDynPoolSize=4
-> increment number of clients in dynamically allocated client pools
#RfcAdapter.maxDynPoolSize=64
-> maximum number of clients in dynamically allocated client pools
2. SUBSECTION FOR REGISTRATION TO CLIENT APPLICATION SYSTEMS
(one subsection per incoming R/3 system; requires callback service user for repository access)
RfcAdapter.sourceBackendXD1.host=db03
RfcAdapter.sourceBackendXD1.sysnr=00
RfcAdapter.sourceBackendXD1.progid=Rfc2XmbService
-> recommended is: RfcAdapter.sourceBackend.progid=Rfc2XmbService
RfcAdapter.sourceBackendXD1.poolsize=5
RfcAdapter.sourceBackendXD1.unicode=1
-> source system is Unicode installation (1) or not (0)
RfcAdapter.sourceBackendXD1.client=500
RfcAdapter.sourceBackendXD1.user=XIAPPLUSER
RfcAdapter.sourceBackendXD1.passwd=********
RfcAdapter.sourceBackendXD1.lang=EN
RfcAdapter.sourceBackendXD1.trace=2
-> enable RFC trace for this connection (1) or not (0)
#RfcAdapter.sourceBackendXD1.sncName=<SNC_name_of_adapter>
-> e.g. RfcAdapter.sourceBackendXD1.sncName=p:CN=USERNAME, O=ORGNAME, C=DE
#RfcAdapter.sourceBackendXD1.sncLib=<SNC_library_path>
-> e.g. on Win2K: RfcAdapter.sourceBackendXD1.sncLib=C:
Program Files
SECUDE
SECUDE for R3
secude.dll
#RfcAdapter.sourceBackendXD1.sncQop=<SNC_quality_of_protection>
-> 1,2,3,8,9 e.g. RfcAdapter.sourceBackendXD1.sncQop=1
#RfcAdapter.sourceBackendXD1.sncAcl=<SNC_access_control_list>
-> logical names for allowed callers e.g. RfcAdapter.sourceBackend.sncAcl=peerB6A peerB6Q
#RfcAdapter.sourceBackendXD1.sncAcl.peerB6A=p:CN=B6A, O=SAP-AG, C=DE
#RfcAdapter.sourceBackendXD1.sncAcl.peerB6Q=p:CN=B6Q, O=SAP-AG, C=DE
-> details for peer ACL lists
3. SUBSECTION FOR ACCESS TO XMB INBOUND RFC SERVICE
(only one entry possible)
RfcAdapter.toXmb.host=web03
RfcAdapter.toXmb.sysnr=00
RfcAdapter.toXmb.poolsize=5
RfcAdapter.toXmb.client=100
RfcAdapter.toXmb.user=XIAPPLUSER
RfcAdapter.toXmb.passwd=******
RfcAdapter.toXmb.lang=EN
RfcAdapter.toXmb.trace=2
4. SUBSECTION FOR REGISTRATION OF XMB OUTBOUND RFC SERVICE
(only one entry possible)
RfcAdapter.fromXmb.host=web03
RfcAdapter.fromXmb.sysnr=00
RfcAdapter.fromXmb.progid=Xmb2RfcService
this value must be in sync with Program Id setting for AI_RFCADAPTER_JCOSERVER in SM59
RfcAdapter.fromXmb.poolsize=5
RfcAdapter.fromXmb.unicode=1
-> source system is Unicode installation (1) or not (0)
RfcAdapter.fromXmb.trace=2
5. SUBSECTION FOR ACCESS TO SERVER APPLICATION SYSTEMS
(one subsection per outgoing R/3 system; pre-allocated connection pools via service user)
RfcAdapter.targetBackend.host=db03
RfcAdapter.targetBackend.sysnr=00
RfcAdapter.targetBackend.poolsize=5
RfcAdapter.targetBackend.client=500
RfcAdapter.targetBackend.user=XIAPPLUSER
RfcAdapter.targetBackend.passwd=*******
RfcAdapter.targetBackend.lang=EN
RfcAdapter.targetBackend.trace=2
END OF RFC ADAPTER CONFIGURATION PROPERTIES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Log data for the adapter%%%%%%%%%%%%%%%%%%%%%%%%%%
Fri Sep 24 09:50:09 EDT 2004 *****
09:50:09 (6011): RFC adapter initialized
09:50:09 (6031): RFC adapter started
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%SM59 entries on the XI box%%%%%%%%%%%%%%%%%%%%%%%%%%
Name: AI_RFCADAPTER_JCOSERVER
Program ID: Xmb2RfcService
Action Type: Registered Server Program
Gateway: web03 (Local XI box)
Gateway Service: sapgw00 (00 is the system number)
Name: XI_SERVER
Program ID: Rfc2XmbService
Action Type: Registered Server Program
Gateway: db03 (R3 box)
Gateway Service: sapgw00 (00 is the system number for R3)
Both the entries are tested fine. -
Call Remote Function Module with SAEURI dataelement as Export parameter
Hi Experts, Am creating a program in a Gateway system, where i need to call a FM from HR system.
My Code is like this,
Data: lname(20) type c,
lv_url type SEAURI.
Call 'Z_EMP_GET' Destination 'HR_DEST'
Exporting
Pernr = '12345678'
Importing
lname = lv_lname
Url = lv_url.
At HR Destination system, I have a FM 'Z_EMP_GET ' with signature as
Importing : Pernr Type NUMC
Exporting : lname Type Char20
Url Type SAEURI(Char 4096).
When i debugged it, I see the Remote FM is getting Perner value and returning only lname, but URL paramter is empty.
I believe i have problem in receiving Long Text (URL - Char 4096).
How can i handle this and let me know if need to specify String length parameter for RFC call somewhere.
Also let me know if need more details
Thanks in advance.
Thanks in advance.Hi naveenraj,
I don't know which type of URL you want in output but you can check entries in table HTTPURLLOC and or if you want URL of employee photo then you have to use this FM HRWPC_RFC_EP_READ_PHOTO_URI.
Regards,
Shahezad -
Calling databse function from report end. Using Evaluate function.
Hi All,
We have a req where we need to call the backend functions from the report end. I have seen that Evaluate function can be used to do the same. I tried replicating the same same but it didnt work.
Can any one please elaborate more on this. Syntax & other details. We need to also pass on parameters to the function, probably some column value.
Also please do let me know where all changes need to be done... RPD etc if applicable.
This is the functiion we need to replicate in OBIEE.
Nvl(dwh.dwh_pa_get_si_value_f(Pa_Projects_All_V.Project_Id,Pa_Periods_All_V.Period_Name,-1,Dwh_Pa_Project_Si_Info.Currency_Type,Dwh_Pa_Task_Si_V.Task_Number,'R'),0)
Thanks,
PankajHey Pankaj,
I got solution for your issue...
Under any logical table.. you create a logical column and
Select Existing logical columns as source checkbox
Click on Eclipse button..
Now here you write..
EVALUATE('dwh.dwh_pa_get_si_value_f(%1,%2,%3,%4,%5)' ,Pa_Projects_All_V.Project_Id,Pa_Periods_All_V.Period_Name,-1,Dwh_Pa_Project_Si_Info.Currency_Type,Dwh_Pa_Task_Si_V.Task_Number,'R')
And click ok..
Hope it works..
it worked for me..
Thanks & Regards
Kishore Guggilla -
Calling MSP430 functions in MSP430-TI.dll using Labview
Hi
I have few questions about implementing the MSP430-TI.dll functions in LabVIEW and I greatly appreciate your help
I would like to read MCU through JTAG and then update the firmware
1- I can see all the dll functions in LabVIEW but I couldn't find any documentation for these functions like what are the parameters and return values. Could you please let me know from where I can find the user guide for these functions
2- Can I use MSP430 Flasher command lines instead of using the dll in LabVIEW
3- I don't have the updated firmware but one my boards has the MCU updated. When I use FETPro-430 , can I click on Read-Copy and then save the txt file and use it to update the FW of the other boards?
ThanksI'm looking into this issue too. TI provided an executable with graphic user interface for loading firmware, I'm thinking whether I can use LabVIEW to automate the process, it will be appreciated if anyone with this experience can provide some suggestions.
-
PI 7.11 sp6 system copy causes target sys to register with source
Experts,
We have a PI 7.1 (EHP1, sp6) PI system based on AIX 6.1 OS and Oracle 11g.
I recently did the standard PI system copy from a prod source (PIP) to a training target (PIT).
I used the most recenty PI system copy guide that is specific for PI 7.1 EHP1
I did not run into any major problems doing the steps of the itself.
I did the usual "post" steps, documented in the guide that really are done on any NW system.
Then I got into the specific "PI" post steps and that's where I now have a problem.
I could not run the "wizard for post copy" since I'm on 7.11sp6. Yes, I know they "downported" it but I don't have those latest LMtools type packages. Anyway, I'm OK with that.
I followed all the steps, fixing my RFCs, JCos, Destinations, cleaning up SLD, SLDAPICUST, creating new business systems...etc.
My big problem is with the exchange profile. Yes, it's easy to change all the SIDs and hostnames using the search tool for all the parameters in the exchange profile, but the one I COULD NOT CHANGE was the "ABAP Connection". In there right after the copy was the hostname of the prod system, the client, and the user PILDUSER. I attempted to put the hostname of my target (PIT) system, but I would get the error:
RFC 399 unable to connect
I'm certain the user is NOT locked and the password is correct for PILDUSER.
Worse yet, If I left the hostname in there that was set to "prod", then when I changed all the other values in the "parameters" section of the XI profile, then it actually changed my PROD system!!
If I keep the ABAP connection to PIT, then the entire exchange profile disappears for PIT.
Also, now my PROD system shows the PIT system as a "non-central adapter engine".
Ughh! I'm totally stuck. I'm not sure what to do.
It's as if the PIT (PI training) system somehow is linked to PIP (PI prod). It's like PIT doesn't think he is his own box...
Any ideas? I'm resisting opening a message because this will be so hard to explain to sap support.
--NICKHi Nick,
We went thru the same issue. Fortunately, it was between Dev to sandbox. I stopped the dev system and changed the exchange profile parameters to sandbox hostname and brought the Dev up to fix the issue.
Prod showing as Non-Central Adapter engine :- Check your Business System in SLD and In CIM Instances in SLD, check your XI Integration server assigned to right Business System.
Note 764176 - Error in XI due to inconsistent SLD contents :- helped me come over PI post step issues.
Thanks,
Arjun
Maybe you are looking for
-
Grateful for help in helping me to save sent mail.
-
Need help in optimizing the ABAP code
Hi, Can anyone help me in optimizing the code. Here the select statement has select within the loop. Need help in optimization. WHEN '0CO_PC_PCP_03'. LOOP AT C_T_DATA INTO TBL_KKBW_ITEM. W_TABIX = SY-TABIX. IF TBL_KKBW_ITEM-CURRENCY_TYPE
-
Does the iphone support the use of a wildcard certificate?
Does the iphone support the use of a wildcard certificate? Our exchange infrastructure utilises a wildcard (*.companyname certificate) from Godaddy. - Connects fine and authenticates - Can manually sync and pull emails - Can Send and Delete emails Ho
-
Dynamic screen and custom control
Hi, I have to create a screen and custom control dynamically within a method and display alv grid. Is this possible? regards, Madhu
-
Gettig SQLException while using CallableStatement
Hi, I am using Oracle 10 G JDBC Release 10.2.0.1.0 (ojdbc14.jar), I am getting SQLException while fetching next record from the resultset returned by a PLSQL procedure.The same code is working fine with classes12_g.jar Here is the code, Cal