RFCs calling from remote systems
Hello Abapers,
Can anyone tell me how to find the list of programs which are calling remote function modules? For example programs in CRM system calling function modules in ECC...
Thanks,
Himadama
Hi,
this is only ardly possible depending on your goal.
There are lots of RFC calls especially in CRM for middleware purposes.
Option a) - You try to find all pla ces where z*modules are called that are not existing in CRM
Option b) - You want to find all RFC enabled modules of ERP called in CRM
Option c) - You want to find all RFC calls in CRM targeting the defaulting ERP destination
Solution for a)
- Go to table WBCROSS (which is global the "where used list")
and check for all Z* modules
- Copy the list of modules e.g. in a file
- Search table trdir (registry of function modules) with this list
-> all modules that are not in this list are probably RFC modules from a backend
Solution for b)
- Go to ERP SE37 and open the help
- open the advanced options
- mark "RFC modules"
- search and save the whole list of RFCs relevant
- Go to CRM and check table WBCROSS where these modules are used
Solution for c)
- go to CRM and check for a module called "SMOFERP" or similar
It returns the name of the default RFC destination of an CRm system to its default ERP.
- Check the where used list of this module - should guide you close to the calls
mfg,
Similar Messages
-
Debug RFC called from external system with no dialog user
Hi all,
We need to debug the rfc function module which is called from the external system( Siebel ) .
The user id is not dialog user so can not set external debugger.
Need you help.
Thanks,
Anmol.Hi Suhas,
Nice to know you became Moderator...
Hmmm the solution you provided was the last option..
Any ways the issue is resolved we changed the user to dialog user and then debugged the code.
Thanks a Lot,
Anmol. -
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!! -
Making an RFC call from within the VM container
Hi all,
since a long time I am searching for information on how to implement an RFC call from within the VMC. The problem is that we have implemented several (p)functions in ABAP and we need to implement them in JAVA.
Now I am searching for a way how to just call the already existing pfunctions???
Is it possible to read CRM DB tables too?
Thank you in advance
BorisHi Freeto,
This may be due to the Network Failures.
If you have triggered a job then because of the Network fluctuations the system may not respond properly and cannot execute the job.
So, this is the cause for the failure.
Hope you understood.
With Regards,
Ravi Kanth -
Asynchronous RFC call from R/3
I need to make an asynchronous RFC call from R/3. I receive an error message in R/3 stating that my RFC destination can only be of type I (Internal) or type 3 (R/3 system). In order for it to reach XI I need it to be of type T (TCP/IP). Any help would be appreciated.
Here is the function call.
CALL FUNCTION 'Z_B2B_R3_FUNCTIONAL_ACK' starting new task 'SESSION1'
destination 'RFC2XMBSERVICE'
EXPORTING
MSG_TYPE = msg_type
ORDER_HEADER_RETURN = order_header_return
TABLES
RETURNCODE = i_return.
the RFC desitnation RFC2XMBSERVICE is of type TCP/IP which by default makes it synchronous.
Thanks,
Jimhi,
have you tried:
CALL FUNCTION 'Z_B2B_R3_FUNCTIONAL_ACK'
in background task
destination 'RFC2XMBSERVICE'
EXPORTING
MSG_TYPE = msg_type
ORDER_HEADER_RETURN = order_header_return
TABLES
RETURNCODE = i_return.
commit work.
Regards,
michal -
RFC call from a Windows Service
Hi All,
I have created a simple windows service which is making an RFC call to R/3 system. This is not working. Whereas the same piece of code written in a windows application projects(exe) works properly. Does anyone had similer issues working with Windows services ? Is it a known issue of RFC calls from windows service ???
Thanks & Regards
Ganesh DattaHi Juergen,
After I put the debug statements I figured out that connection to R/3 system is unsuccessful.
I am using the SAP .Net Connector 2.0. I wrote a windows service which is manually started. Withing my service I am using Single sign on to connect .This is what was causing the problem. If I disable Single sign on and supply userID and password then connection is successful and also subsequent RFC calls.
I guess within windows service Single sign on does not work.
Thanks for your reply
Best Regards
Ganesh Datta -
Best approach for RFC call from Adapter module
What is the best approach for making a RFC call from a <b>reciever</b> file adapter module?
1. JCo
2. Is it possible to make use of MappingLookupAPI classes to achieve this or those run in the mapping runtime environment only?
3. Any other way?
Has anybody ever tried this? Any pointers????
Regards,
AmolHi ,
The JCo lookup is internally the same as the Jco call. the only difference being you are not hardcoding the system related data in the code. So its easier to maintain during transportation.
Also the JCO lookup code is more readable.
Regards
Vijaya -
I am trying to do an RFC call from Excel to SAP using VBA. RFC is working fine for most the RFC enabled Function Modules except DDIF_FIELDINFO_GET and DDIF_FIELDLABEL_GET.
What can be the reason for this?
Can someonme please help me with a macro code where these FMs are working.
Also can someone please help me with some tutorial on SAP connection with Excel.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Nov 12, 2008 9:14 AMHello Jon.
DDIF_FIELDINFO_GET is not working for me either. But I have used another FM (/ZOPTION/LIVE_DDIF_FIELDINFO):
Public Sub RFC_FIELDINFO()
Dim Func As Object
Dim sapConn As Object
Dim tblFIELDTAB
Dim tblFIXED_VALUES
Dim intRow%
Dim intCol%
'* Sub : Call FM /ZOPTION/LIVE_DDIF_FIELDINFO *
'* Author : Holger Köhn *
'* Created : 23.08.2014 *
'* Changed : *
ThisWorkbook.Sheets("TEST").Activate
Cells.Select
Selection.ClearContents
ThisWorkbook.Sheets("TEST").Range("A1").Select
'* create RFC-Connection *
Set sapConn = CreateObject("SAP.Functions")
sapConn.Connection.RfcWithDialog = True
If sapConn.Connection.LogOn(1, False) <> True Then
MsgBox "Cannot Logon to SAP"
Exit Sub
End If
DoEvents
'* run FM /ZOPTION/LIVE_DDIF_FIELDINFO *
Set Func = sapConn.Add("/ZOPTION/LIVE_DDIF_FIELDINFO")
Func.Exports("TABNAME") = "AUFK"
Set tblFIELDTAB = Func.Tables("FIELDTAB")
If Func.Call = False Then
MsgBox Func.Exception
Exit Sub
Else
Application.ScreenUpdating = False
For intCol = 1 To tblFIELDTAB.ColumnCount
ThisWorkbook.Sheets("TEST").Cells(1, intCol).Value = tblFIELDTAB.ColumnName(intCol)
Next
If tblFIELDTAB.RowCount > 0 Then
For intRow = 1 To tblFIELDTAB.RowCount
For intCol = 1 To tblFIELDTAB.ColumnCount
ThisWorkbook.Sheets("TEST").Cells((intRow + 1), intCol).Value = tblFIELDTAB(intRow, intCol)
Next
Next
ThisWorkbook.Sheets("TEST").Activate
End If
Columns.AutoFit
Application.ScreenUpdating = True
End If
'* clear tblFIELDTAB *
Do Until tblFIELDTAB.RowCount = 0
Call tblFIELDTAB.Rows.Remove(1)
Loop
Set sapConn = Nothing
Set Func = Nothing
Set tblFIELDTAB = Nothing
End Sub -
RFC Call from ABAP (R3) to Webdynpro EP
Hi experts,
I have a requirement to initiate a call from an ABAP program on R3 to a standard Portal (Webdynpro) API. Does anyone have any experience with this?
I understand that normally Portal (Webdynpro) applications will make the RFC call to ABAP via the established JCO connection. However there's very limited literature elaborating how the call can be made in the other direction i.e. from ABAP R3 to Portal
Anyone, please kindly advise how, if this can be done. Many thanks!
Best regards,
LionelHi,
I'm trying to make a RFC call from the ABAP program to a built in Java method residing on EP. It is part of a suite of methods provided by the UME engine.
Typically a call is made from a webdynpro program to a SAP ABAP function module. In this case, I'd like to make a call from the SAP ABAP report to the EP method.
Best regards,
Lionel -
Excel sheet generation through RFC call from a BSP application
Hi,
I am calling a RFC FM ( in R3) in Event handler 'OnInputProcessing' of a BSP application in a SRM server.
That function submits a report program which geneates a excel sheet using download FM . Excel sheet is not getting generated.
But when i am calling this RFC FM (in R3) from a report program ( in srm server)
this is generating an ecel sheet.
I want to have call RFC from BSP application.
I tried the way of submit a program ( which contains RFC call) from BSP application ,but it is also not generating excel sheet.
My ultimate AIM is to generate excel sheet by trigerring CALL or submit from BSP
application.
can any one propose solution for it.
Useful answers will be rewarded.Hi,
Which FM is it. I guess that the download generated is a SAP gui oriented solution, which will never work in a web environment
Eddy
PS. Reward useful answers and earn points yourself -
Invoke MII Transaction thru RFC Call from SAP
Hi,
We want to get the data from Oracle DB table thru MII (12.0.2).
We need to use RFC call from SAP to MII.
Is it possible to invoke the MII transaction thru RFC by setting in Message Listener?
We have used iDoc messages but not tried with RFC.
How to do that?
Regards,
SenthilI feel MII doesn't have anything equivalent to RFC in ECC. You may try web services in an ABAP program
Hope the article below helps you
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9f101377-0c01-0010-269f-c3ee905d583b&overridelayout=true
Regards,
Musarrat -
SQL from remote systems failes
Hi All,
First of all, it may not be a database issue.
In brief, Not able to execute sql statements which returns more amount of data for ex: select * from v$session,select * from dict; I Could execute simple statements like select * from version / some user tables with less number of data by using “where” clause.
This is not an issue when I am in a remote system which are located in the same network as the database server (North America). Issue is from my local system (Asia) alone. I am sure that it has something to do with network side.
C:\Documents and Settings>sqlplus system/******@XXXX
SQL*Plus: Release 11.1.0.6.0 - Production on Wed May 12 11:11:39 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL>
SQL> select * from v$session;
It just stops there. Session won’t disconnect or any ORA-XXXX error.
Done the following checks,
- v$session shows that the above session in question is in status as “INACTIVE” and state as “WAITING”
- tnsping from remote system and localsystem returns almost similar response time (600 msec - 670 msec)
- Couldn’t find anything unusual in alert / trace also in listener log.
- Since I am able to run some queries, no need to bother about firewall side.
- Done some basic analysis using wireshark packet analyzer - couldn’t see any error. However could see that local system is getting “response data” from the database server.
- MTU set to different size , 1500,1400,Defaul;t etc with no luck.
I am sure that many of you working on scattered environment might have faced similar issues. Your inputs will be very helpful for me.
Server – Oracle 11.2.0.1.0 64 on RHEL 5.4
Client - Oracle 11.1.0.6.0 on Xp. Tried with jdbc thin drivers also.
Thanks.please refer below,
oracle@XXXXX$=>tail -100 alert_db1.log | more
Mon May 10 22:14:50 2010
Thread 1 advanced to log sequence 1947 (LGWR switch)
Current log# 3 seq# 1947 mem# 0: /data/oracle/oradata/db1/redo03.log
Tue May 11 01:31:48 2010
Thread 1 advanced to log sequence 1948 (LGWR switch)
Current log# 1 seq# 1948 mem# 0: /data/oracle/oradata/db1/redo01.log
Tue May 11 01:32:09 2010
Thread 1 advanced to log sequence 1949 (LGWR switch)
Current log# 2 seq# 1949 mem# 0: /data/oracle/oradata/db1/redo02.log
Thread 1 cannot allocate new log, sequence 1950
Checkpoint not complete
Current log# 2 seq# 1949 mem# 0: /data/oracle/oradata/db1/redo02.log
Tue May 11 01:32:28 2010
Thread 1 advanced to log sequence 1950 (LGWR switch)
Current log# 3 seq# 1950 mem# 0: /data/oracle/oradata/db1/redo03.log
Thread 1 cannot allocate new log, sequence 1951
Checkpoint not complete
Current log# 3 seq# 1950 mem# 0: /data/oracle/oradata/db1/redo03.log
Tue May 11 01:32:40 2010
Thread 1 advanced to log sequence 1951 (LGWR switch)
Current log# 1 seq# 1951 mem# 0: /data/oracle/oradata/db1/redo01.log
Thread 1 cannot allocate new log, sequence 1952
Checkpoint not complete
Current log# 1 seq# 1951 mem# 0: /data/oracle/oradata/db1/redo01.log
Thread 1 advanced to log sequence 1952 (LGWR switch)
Current log# 2 seq# 1952 mem# 0: /data/oracle/oradata/db1/redo02.log
Tue May 11 02:00:03 2010
Clearing Resource Manager plan via parameter
Tue May 11 02:01:03 2010
Thread 1 advanced to log sequence 1953 (LGWR switch)
Current log# 3 seq# 1953 mem# 0: /data/oracle/oradata/db1/redo03.log
Tue May 11 03:10:44 2010
Stopping background process CJQ0
Tue May 11 07:00:10 2010
Thread 1 advanced to log sequence 1954 (LGWR switch)
Current log# 1 seq# 1954 mem# 0: /data/oracle/oradata/db1/redo01.log
Tue May 11 13:37:35 2010
Thread 1 advanced to log sequence 1955 (LGWR switch)
Current log# 2 seq# 1955 mem# 0: /data/oracle/oradata/db1/redo02.log
Tue May 11 20:00:37 2010
Thread 1 advanced to log sequence 1956 (LGWR switch)
Current log# 3 seq# 1956 mem# 0: /data/oracle/oradata/db1/redo03.log
Tue May 11 21:30:45 2010
Starting background process CJQ0
Tue May 11 21:30:45 2010
CJQ0 started with pid=22, OS id=2034
Tue May 11 22:00:00 2010
Setting Resource Manager plan SCHEDULER[0x2FF5]:DEFAULT_MAINTENANCE_PLAN via scheduler window
Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
Tue May 11 22:00:01 2010
Starting background process VKRM
Tue May 11 22:00:01 2010
VKRM started with pid=29, OS id=3328
Tue May 11 22:01:21 2010
Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
Tue May 11 22:04:22 2010
Thread 1 advanced to log sequence 1957 (LGWR switch)
Current log# 1 seq# 1957 mem# 0: /data/oracle/oradata/db1/redo01.log
Tue May 11 22:04:41 2010
End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
Tue May 11 22:06:29 2010
Thread 1 advanced to log sequence 1958 (LGWR switch)
Current log# 2 seq# 1958 mem# 0: /data/oracle/oradata/db1/redo02.log
Tue May 11 22:10:22 2010
Thread 1 cannot allocate new log, sequence 1959
Checkpoint not complete
Current log# 2 seq# 1958 mem# 0: /data/oracle/oradata/db1/redo02.log
Tue May 11 22:13:00 2010
Thread 1 advanced to log sequence 1959 (LGWR switch)
Current log# 3 seq# 1959 mem# 0: /data/oracle/oradata/db1/redo03.log
Tue May 11 22:15:58 2010
Thread 1 advanced to log sequence 1960 (LGWR switch)
Current log# 1 seq# 1960 mem# 0: /data/oracle/oradata/db1/redo01.log
Wed May 12 01:32:46 2010
Thread 1 advanced to log sequence 1961 (LGWR switch)
Current log# 2 seq# 1961 mem# 0: /data/oracle/oradata/db1/redo02.log
Thread 1 advanced to log sequence 1962 (LGWR switch)
Current log# 3 seq# 1962 mem# 0: /data/oracle/oradata/db1/redo03.log
Wed May 12 01:32:57 2010
Thread 1 cannot allocate new log, sequence 1963
Checkpoint not complete
Current log# 3 seq# 1962 mem# 0: /data/oracle/oradata/db1/redo03.log
Thread 1 advanced to log sequence 1963 (LGWR switch)
Current log# 1 seq# 1963 mem# 0: /data/oracle/oradata/db1/redo01.log
Thread 1 cannot allocate new log, sequence 1964
Checkpoint not complete
Current log# 1 seq# 1963 mem# 0: /data/oracle/oradata/db1/redo01.log
Wed May 12 01:33:11 2010
Thread 1 advanced to log sequence 1964 (LGWR switch)
Current log# 2 seq# 1964 mem# 0: /data/oracle/oradata/db1/redo02.log
Thread 1 cannot allocate new log, sequence 1965
Checkpoint not complete
Current log# 2 seq# 1964 mem# 0: /data/oracle/oradata/db1/redo02.log
Thread 1 advanced to log sequence 1965 (LGWR switch)
Current log# 3 seq# 1965 mem# 0: /data/oracle/oradata/db1/redo03.log
Wed May 12 02:00:00 2010
Clearing Resource Manager plan via parameter
Wed May 12 02:00:55 2010
Thread 1 advanced to log sequence 1966 (LGWR switch)
Current log# 1 seq# 1966 mem# 0: /data/oracle/oradata/db1/redo01.log -
Export or transport all the RFC destination from one system to another syst
Hi
Is there any method to Export or transport all the RFC destination from one system to another systemHi,
the information is stored in table rfcdes.But there are also some other RFC*-tables which have some relations. Nevertheless the RFC-connectons will possibly not work anymore in the new system(depending on the release your systems are), as the passwords are stored in the Sec store with system-dependent keys.
b.rgds, Bernhard -
How to call a RFC of a remote system from an ABAP webdynpro component
Dear Experts,
I am a newbie in ABAP Webdynpro.
I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
How do I do that ?? Please help.
Regards,
Mamai.Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
And the regarding the method of calling it depends on your FM.
if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
if it is simple straight forward RFC you can directly call it.
for creating RFC service call call use this method
1. Starting the Wizard
To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
through the creation process.
Press Continue.
2. Choice of Controller
On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
embed service calls in view controllers.
a. Select radio button Use Existent Controller
b. Do not change the default entry for component: <CC name>
c. Enter for controller COMPONENTCONTROLLER
d. Press Continue.
3. Service Type and Service Selection
a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
destination here. Press Continue.
b. Select the service: for Function Module enter <RFC name>. Press Continue.
4. The Required Methods and Context Elements
On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
required by the service call as well as to the required methods. The proposed names are based on the names of the
embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
box.
a. Adapt Context: Select from Nodes/Attributes . Press Continue.
b. Specify Method Name: leave all entries as provided: Component: Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
5. Completing the Choice
When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
and contexts at your disposal for using them within your Web Dynpro component.
or if you want to call directly the use the call statement with destination -
RFC Call from PI freeze ECC system
Hello experts,
we actually load master data in our ECC environment that are sent to the PI environment via IDOC, the integration of those IDOCs in the PI system make RFC call in ECC and after a few minutes, the ECC system freezes.
All dialog process are occupied with report SAPLARFC/SAPLERFC/SAPMSSY1 with user PI2ABAP and WF-BATCH.
We have increase the number of dialog processes, reduce the parameter rdisp/rfc_max_own_used_wp to 50, but each time all the dialog processes are taken until the system freezes.
DO you know which parameter can restrict the number of dialog process used for RFC call?
or maybe a method to avoid this high consumption of all dialog processes in the ECC environment?
Many Thanks.
Thibaud.Hello Juan,
we have set this parameter to 3, but it seems to have no effect, I have applied the note 3223 that affects
- rdisp/wp_ca_blk_no (for wp_ca blocks)
- rdisp/appc_ca_blk_no (for appc_ca blocks)
but now we have a problem at the start of the instance that does not support the new value and lead to the error
Shared Pool Space exhausted.
How can i check this value and can I modify it?
Thanks.
Thibaud.
Maybe you are looking for
-
Multiple languages autocorrect issues
On my iPhone, I added multiple languages and on the keyboard appears the 'globe' to choose one before writing an email. That way, autocorrect adjusts to that language. I added languages to my MacBook Air Air as well, but autocorrect sticks with Engli
-
My ipad says your Apple ID has been disabled. Ready to throw this out the window. Apple store could not help. The instructions on the web are useless. Anyone found the solution?
-
Thumbnails/photos like Amazon?
Hello - Does anyone know of a way to create the static image with thumbnails beneath - when a thumbnail is clicked, the photo changes. Example is like on Amazon when you are looking at a product and there are 3 thumbnails beneath it. You click throug
-
Disk images couldn't be opened when downloading .dmg file
Since I upgraded to Yosemite I haven't been able to instal a .dmg file for upgrade of adobe - assumed a corrupt file but it wasn't vital so I ignored it until today when I needed to use the player. I have run disk verification/permission checks - all
-
How to join Photoshop Photography Program offer ?
Hi, I have tried to join the Photoshop Photography Program Offer ($9.99) without any luck. Does it not available to my country Indonesia ?? Everytime I hit the sign in button it always bring me to the download page. Can you give the explanation on ho