Where used for RFC calls to different system
Hi,
I want to change the interface of a function module which exists in our XI system.
The function is called from R/3 in different places and hence will need to be changed in each location.
Is there an easy way of determining all the different calling points?
The only way I can see would be to run a text search utility against the code.
Thanks,
Alan
You cannot user SE37 and whereused list for this. due RFC available in XI and you need to check for R/3 for whereused points
Try to run the program RS_ABAP_SOURCE_SCAN and in the search string put your function module name and execute
( if it is a custom function module search. in the search pattern use all custom package names)
a®s
Edited by: a®s on Jul 14, 2008 9:24 AM
Similar Messages
-
Login information for RFC call
Hi there,
I would like to know if there is a way to authenticate a user via bsp and get that login information to make the RFC call to different systems.
i tried the to call an FM via RFC directly from abap and it forces me to login and it works but when i put that code to bsp. I just get a "page cannot be displayed" error.
I know i can enter an ID and password on sm59 for the connection but i need to let the user login
I am using this for a user creation tool.. instead of using su01 to create a user it will be done via bsp and would like to reflect the changes done when running the reports from SUIM
thanks in advance
RyanHi Ryan,
I will assume your RFC Destination already trusted system and using current user logon (see my previous reply).
However this still prerequisite for the next step.
Now, please correct me if my understanding is wrong.
In your reply, you have at least 2 System, right?
S1 & S2.
Where S1 has BSP Application (Ex:/ FormRegistration)
And S2 is where you control the user and Function Module.
Do you put, generic user for all BSP Service in System S1?
You can create another BSP Application in System S1 (Ex:/ CallingFM)
but this time don't put default user in BSP Service.
And from BSP Application FormRegistration, you create 1 button to call the BSP Application CallingFM.
I will give you sample code:
FormRegistration: address:http://systemS1.sap.com/FormRegistration/page1.htm
HTML Part:
===========
<HTML>
<input type="button" value="Register the user" onclick="submitUser();">
<script>
function submitUser(){
document.forms[0].action = 'http://systemS1.sap.com/CallingFM/page1.htm';
document.forms[0].target = '_new';
//it will open new window, just put it empty if you don't want to open new window.
document.forms[0].submit();
</script>
</HTML>
Now, when user click Button "Register the user" it will open the new window.
But because it doesn't allow you to using default user, it will prompt user id and password.
After that it will submit the data to CallingFM
Now in CallingFM we already have the sy-uname = user-B.
CallingFM: address-> http://systemS1.sap.com/CallingFM/page1.htm
OnInputProcessing Part:
=================
call function 'zcreate_user' destination 'S2'
Why you need CallingFM BSP application? because you need to re-assign sy-uname in S1 from default user with user-B ID, and use it to connect to System S2, S3, etc.
Please note: SM59 and User Id must be set before this.
Because when you call RFC from other destination, SAP will refer to Logon setting in SM59 for that destination.
Hope this will help you. -
How to Use synchronous RFC calls during test run for remote accesses
there is a Setting for the usage of RFC accesses from a tested system
using eCATT.
'X' - Use asynchronous RFC calls during test run for remote accesses
' ' - Use synchronous RFC calls during test run for remote accesses
I developed an eCATT as following :
SAPGUI ( SAPGUI_1 , Target_system_1 ).
SAPGUI ( SAPGUI_2 , Target_system_2 ).
My question is how to run the eCATT in a synchronous RFC calls
PS: I do not want to change the Target_system to the same one in the
above script of ecatt.Because I need to run it in 2 different Target
systems sometime.
for example, I give a Target_system_3 when run this eCATT
I want the SAPGUI_1 and SAPGUI_2 run the Target_system_3 but not the
Target_system_1 or Target_system_2 .
Could you please tell me how to make it without the changes in script?
Edited by: Weitong Liu on Mar 24, 2011 9:44 AMHi Liu,
Weitong Liu wrote:
> ' ' - Use synchronous RFC calls during test run for remote accesses
This is the standard option value. Asynchronous are not the standard way and used only for very special purposes.
Weitong Liu wrote:
> I developed an eCATT as following :
> SAPGUI ( SAPGUI_1 , Target_system_1 ).
> SAPGUI ( SAPGUI_2 , Target_system_2 ).
> My question is how to run the eCATT in a synchronous RFC calls
The commands will be executed in sequence. So each call will be synchronously replayed against TS1 and TS2.
What is you issue with this standard procedure?
Kind regards,
Christoph -
Where-used for Storage location
Dear all,
I have to delete a Storage location SL01 from system. Before I doing so, i need to perform below:
1. I have to check SL01 is being used in what document. Can you advise what are tools that avaialble for me to perform where-used for SL01?
2. If there are documents created and some of them are still open, do you advise to delete SL01?
Please comment.Hi,
Storage location comes into picture when you post a goods movement either a GR or GI.
For this reason,When you create a Purchasing document a Po for example, it is not mandatory to define a storage location and the storage location defined at Po level canbe changed at GR level.
So, before deleting the storage location you need to check whether there is available stock in the location.
You can use the MB52 warehouse report to check the s.location stock .
Hope it hepls.
Regards,
Bijoy Kumar -
Where-used for FM somethimes colors the program in red- why?
Hello,
Small question for something that i've noticed:
When i do Where-used for FM somethimes the program is colored in red- anyone knows why?
Thanks,
MosheHi,
In a where-used list for a function module the programs coloured in pale red are inactive.
Regards,
Nick -
I travel between countries often for my work. What is the best iphone to use for international calling at a reasonable cost?
All six Uk carriers carry the iPhone officially and micro sims are very common therefore
PAYG is very common in UK every carrier offers a number of packages but all commitment free
http://support.apple.com/kb/ht1937
List of Turkish Carriers within this doc -
Could facetime be used for international calls and free of charge???
Could facetime be used for international calls and free of charge???
Or does it work the same way as any other 2G calls???For the iphone 4, I believe that have to do a initial voice call first (if it's not in your recent call list), and then start the live video chat (facetime). I could be wrong but if you have no recent call history with facetime, you would have to start a voice call again, and then immediately switch to facetime to prevent international cost. I haven't tried this so I would not now, but I only assume that if you don't have him/her on the recent list with facetime.
-
What do you use for replication to your DR system?
Hello,
I'm wondering what everyone uses for replication to their DR systems? Do you use a hardware or software solution and which one? Are you happy with the results? We currently use MIMIX HA1 and have been having problems getting our audits to run once we upgraded to ECC 6.0. There seems to be so many tables, that the audits cannot finish.
I am wondering if anyone else uses Mimix and has better luck on ECC? Or do folks use something else and have better luck with it.
I appreciate any input you might have. Thank you.
~TJHi TJ
We are running a i570 with 2 power 5+ and 15 GB's of mem.
But looks like you shud be ok on the hardware side. 1 cpu and 72gb is good enough to handle the audit
It takes us close to 5 hours to run the FILDTA on the production library. plus since we run it only once a week, we run it at level 30( 100% i believe)...
And yes, we run it from the traget side, as that is the mgmt system. you can't run it from the network system. Looks like your mgmt system is the source in your case.
There are a lot of thing which are unknown to us about your system/configuration.
The data group you are running in FILDTA, whcih had the production library could be having other objects as well, which would definitely increase the timings...
Also a factor would be the network connection between the source and the target...
Also what the release of HA lite you are running? We are running version 6.
Let me know if you have any other questions...
Thanks
Abhi -
Target system(Destination) for RFC call ?
Need some help in calling an RFC for xi interface.
For triggering the data in to xi , RFC needs to be called. This RFC can be called using an ABAP Program / report . BUT inorder to call that RFC a Destination / Target system needs to be defined . Even though RFC destinations can be managed by transaction SM59 what will be the target system for calling this RFC in a generic sense?
Like what destination i should be expecting this code : ?
REPORT Z_TEST.
CALL FUNCTION 'ZFunctest' destination ????
Please suggest
KrishnaYes i now understand the scenario : well is this statment correct ?
When we say like this :
CALL Function 'ZTEST' Destination SIDCLNT015
does this mean ZTEST should be there in destination system ? which means the RFC i am writing should be there on xi systems whose system id is SID ?
As i heard some where that ZTEST should be there on targetsystem i call for ?
Please suggest
Krishna -
Question on service userid - for RFC call
Hi
In XI 3.0 SP18 , we are making a RFC call from XI mapping runtime - to XI's ABAP stack - RFC function module . In the RFC receiver communication channel , I tried using service user XIISUSER , XIAPPLUSER for this RFC call - I got short dumps on XI ABAP stack mentioning that these two service users do not have authorization to make RFC calls -
Does anybody out there know what service user on XI has RFC call authorization that can used to make RFC calls onto XI ABAP stack from its mapping runtime ?
Correct answers will be rewarded rightaway. Thanks for your time in advance.Hi,
u have to make entry in sld...
Hi,,
2 Introduction
Configuring IDoc adapter in Exchange Infrastructure 3.0 requires some configuration on the SAP
systems, for both XI and the backend system where the IDoc message is to be sent. These steps, although
simple, are many times missed or mis-configured, causing the delivery of messages to fail.
Since IDoc adapter uses the ABAP stack, instead of J2EE, the configuration requirements are mainly in
ABAP.
Setting up IDoc adapters requires the XI integration server to be able to communicate with the backend
SAP system, and also to make sure that the Logical System Name used when posting IDoc exists on the
backend SAP system.
3 The Step By Step Solution
The basic steps for the IDoc configuration are outline below:
1. Configure SM59 on XI to communicate to SAP backend system.
2. Configure port on XI for IDoc communication.
3. Create or verify the Logical System Name on the SAP backend system.
4. Create or verify business system in XIs System Landscape Directory.
5. Verify the Logical System Name of the business system.
6. Verify or add the Logical System Name for the sender business system.
7. Create/configure the Communication Channel for the IDoc receiver adapter
3.1 Configure SM59 on XI to communicate to SAP backend system.
1. Using transaction SM59, create an RFC destination with Connection Type = 3.
In this example, the RFC destination name is NDVCLNT510.
2. Enter the logon information:
3. Test the connection by clicking on Testing connection and Remote logon.
Both must be successful.
3.2 Configure port on XI for IDoc communication.
4. Go to transaction IDX1 on XI, and create a port. In this example, the Port name is SAPNDV.
The Port name must be in the form of SAPxxx, where xxx is the system ID of the backend SAP
system.
The Client must be the client number of the backend SAP system.
Select the RFC Destination which was created in the previous step.
3.3 Create or verify the Logical System Name on the SAP backend system.
5. Enter transaction SALE on the SAP backend system.
6. Create or verify the Logical System Name. In our example, NDVCLNT510 is verified.
3.4 Create or verify business system in XIs System Landscape Directory.
The business system name for the SAP backend system must contain a valid Logical System Name. This Logical System Name is the one verified or created in the previous step.
7. In the System Landscape Directory, select the SAP backend business system. If one does not exist, then create the business system. Verify the Logical System Name.
3.5 Verify the Logical System Name of the business system.
8. In the Integration Directory, doubleclick on the business system (in our example, it is NDVCLNT510).
Navigate the menu:
Service Adapter Specific Identifiers.
If information is empty or incorrect, then it will have to be synchronized with the content of the System Landscape Directory. Follow the steps below for synchronization.
9. (Optional) Synchronization of the business system in Integration Directory to the business system in System
Landscape Directory.
Double-click on the business system in the Integration Directory.
Switch to Edit mode.
Select menu: Service Adapter-Specific Identifiers
10. (Optional) Within the dialog box, click on the button as indicated below to resynchronize.
11. (Optional) If the expected data from the System Landscape Directory is not updated, then the SLD cache may need to be cleared first.
3.7 Create/configure the Communication Channel for the IDoc receiver adapter.
15. In the Integration Directory, create an IDoc receiver communication channel.
The RFC Destination is from step 3.1.
The Port is from step 3.2.
NOTE:
There is no need to create an IDoc sender Communication Channel for XI. Instead, the backend SAP system must be configure to send the IDoc to XI.
4 Appendix
Transaction: IDX2
There are a couple of situation where IDX2 can be useful on the XI system.
1. When we want to test connection between the XI and SAP backend system.
2. When an IDoc has changed, and the meta data stored in XI needs to be update. When an IDoc is sent from the SAP backend system to XI, XI will first check to see if the meta data for the IDoc is already in its persistent cache. If not, then XI will use the configuration in IDX1 to retrieve the IDoc meta data from the backend system. If the
meta is already in cache, then it will NOT do so. Therefore, when an IDoc has changed, it is necessary to manually update the new meta data on XI, or delete it from the cache, so that the latest version can be retrieved. IDX2 is used for this purpose.
Go to transaction IDX2 and click on Create.
Enter the IDoc Type and the Source Port as defined in step #2. Click Continue.If successful, the following will show up. If error occurs, then the IDX1 configurations will need to be re-checked.
Reward points if find useful. -
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,
HimadamaHi,
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, -
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 -
Hi all,
Is there any specific role, that should be assigned to the USER, so that he can make RFC calls to BAPIs.
Or by default any USER can make the RFC calls to the BAPIs. For example, I am writing a Java/JCO appliation to call BAPIS. The current user I am using has all the permissions (I guess).
Thanks,
Nagarjuna.Your basis admin should be able to tell you. I know that it would be included in SAPALL. I can't really say, because it can very from system to system.
Regarsds,
Rich Heilman -
Hi All,
Can we have use different user IDs to make RFC calls to SAP? Do we have option to call RFC using different users like DEV1, DEV2 etc which is specific to the user logging in to MII. This is required to maintain the change history record while posting data back to SAP
As per the current set up its always user which is configured in SAP server editor in MII, makes the change in SAP.
Any input is appreciable
Thanks in advance
NamitaAjay,
It is like passing any other parameter to your BLS.
For example :
1.In your BLT, create 2 trx params
UserName,Password.
In your Jco Action Block assign these params in the Links Tab of the action.
2. Create a xAcute Query Template wrapping this BLS transaction.Set Param1 as UserName and Param2 as Password.
3. Now in your frontpage screen, create an iCommand applet wrapping the above xAcute Query Template.
4. In your screen have 2 input fields to enter username and password.
In the "OnClick()" event, use the setParam() method to set the values from the Input fields.
Hope this helps. I do not have the resources to give you the code but i think this should work. Let me know if this helps,
Thanks,
Ram -
'Classic' RFC library - password limited for rfc calls ?
Hi ,
we are using the 'classic' RFC library to connect to SAP for calling RFC function modules. Due to the fact that there are often older SAP systems involed, we use only passwords with 8 digits. But now we have the requirement to use passwords for the rfc user with more than 8 digits. According to my todays knowlede, the password is limited to 8 digits with the standard rfc lib.
Can the newer SAP NW RFC lib handle a password with more than 8 digits ?
But am i right that the SAPNW RFC lib is unable to handle rfc calls with opening a SAPGUI ?
thx
HeikeHi,
thank you for your answer!
I have investigated something new yesterday:
I thought at the beginning, that the problem just occurs, when the system work processes are reached. The system has for example set up 15 dialog processes and the external server is calling the function 20 times in parallel. Then we normally need 5 dialog processes more. The system is taking then all 15 dialog processes and the locks got stucked.
That means, that I´ll maybe only get 4 or 5 uploads, which have really been updated the tables. All the others couldn´t get the table locked for their process.
But if I now let the server call the function just about 13 times in parallel, nearly all uploads have been updated the table!
From my point of view, the lock from SAP gets stucked, when the limit of dialog processes is reached. It´s not working in the right way anymore...
The same is happening, when you set up in the system, that only 10 work proecesses can be used by RFC. If I have more than 10, it´s going to be critical with the locks....
WEIRD!
Can anybody help me out of trouble?
Thank you!
Maybe you are looking for
-
HT4356 unable to print from my ipad mini
unable to print from ipad1 or ipad mini. tried all suggestions in support. This problem has been highlighted before is there a a problem with an software upgrade. I have hp 5510 that works fine fromPC.
-
I can't shut down my computer because it says mail is open. It says to close mail and continue shut down. Problem is I can't open or close mail now. Can't shut down my computer at all. What can I do?
-
First a disclaimer - I'm by no means an SAP expert. My background is in purchasing and materials management. I'm just trying to get SAP to do what my client needs! Here's the scenerio. My client does not want to use safety stocks. They are looking fo
-
Lync 2010 Version 4.0.7577.4445 Keeps disconnecting and reconnecting
Hello, I have Lync 2010 Version 4.0.7577.4445 Keeps disconnecting and reconnecting. I have checked my network and its on a 100Mbps link, and stable/no errors logs. This occurs randomly every several minutes. I have a wireshark capture if it helps yo
-
Search and replacing a url...
I just ran across an issue last night, my hyperlinks added a space at the end of the url. Does anyone know how to do a search and replace for the hyperlink window? I ended up editing every one of them. It probably wouldn't be so bad but that is a lot