Distributed sapmsg.ini
Hi,
I am interested to see if other people have the same view point / issue with using a distributed saplogon.ini.
Using the environment variable SAPLOGON_INI_FILE you are able to centralise the saplogon.ini file in a shared network location, which is great. My issue is that I also require the System Description field of the saplgpad, and the information for this field is provided by the sapmsg.ini file.
SAPLOGON_INI_FILE only influences the location of saplogon.ini and so if i want to add a new system to a centralised saplogon i only need to amend in one place, but if i want to add/amend a system description i need to update all of the client pc's.
The idea of having centralised ini files is flawed in my view because of this. I'd like to know how other people get around this, as SAP do not seem interested in either centralising the sapmsg.ini or moving the system description information into saplogon.ini.
Regards
Phil
Phil,
I have found that distributing whatever config files you need (such as saplogon.ini or sapmsg.ini) to local machines is quite easy through either network logon scripts or through installation packages in nwsapsetup. In the case of using logon scripts, I just copy the appropriate .ini files from a central location (for ease of maintenance) to the local machine on startup. This also allows me to give different users different .ini files based on their network group membership. And I still only have one place to modify a small handful of config files.
If you have options like this, you might want to consider distributing to the local machine.
Erik
Similar Messages
-
How to use sapmsg.ini file?
Hi,
Whats the function of the sapmsg.ini file? How to use it?
And I searched my computer but didnt find it......Hi Tino,
sapmsg.ini is opend by LIBRFC32 - not NCo directly. You can look into RFC SDK documentation for details (this is install with SAPGUI).
you can try to resolve the problem by setting the following environment variable:
RFC_LOGON_INI_PATH=<PATH_TO_SAPGUI_DIRECTORY>
Regards,
adlin -
SAP GUI 7.20 - sapmsg.ini and saproute.ini location
I have installed SAP GUI 7.20 and I moved the saplogon.ini to a folder different from C:\WINDWOS, but message server and SAProuter are still pointing to C:\WINDOWS\SAPMSG.INI and C:\WINDWOS\SAPROUTE.INI.
I don't like these files on WINDOWS, How can I move them to another location and SAP GUI still can read them?
Many Thanks in advance,
Fernando.Hello Fernando,
please see note 38119.
Regards,
Martin -
SAPGUI on MAC OS 10.4/sapmsg.ini ?
Hi outthere,
i hope someone can help me.
A business customer of ours uses the operating system MAC OS 10.4 + SAPGUI. We want to change systems listed on SAPLOGON, but unfortunately we are not able to locate the files, logon data is stored in.
Where can I find the sapmsg.ini or saplogon.ini (path) on MAC OS ? Maybe they have different filenames than SAP GUI on Windows OS (C:\<windir>\...)?
Regards
ChristophHello Christoph,
please have a look at chapters "6. User Configuration" and "7. Administrator Configuration" of the documentation which comes with the SAP GUI for Java installation.
Easiest is to launch SAP GUI and to choose "SAPGUI Help" from the "Help" menu to get there.
In case you do not have a Mac available, just do the same with SAP GUI for Java on Windows.
When you became familiar to configure the logon with latter, it should be easy to instruct a Mac user.
Best regards
Rolf-Martin -
Missing sapmsg.ini in Sapgui 7.2 for CCMSPING availability monitoring
Hi All,
I've been trying to locate the SAPMSG.INI file for configuring the CCMSPING availability monitoring through RZ21 on Solman, but could not find the sapmsg.ini file in the specified location of ' c:\winnt\sapmsg.ini ' which was mentioned in the SAPGUI logon pad's option window. Can you help me to locate this file?
Thanks,
ModenaHi,
for 7.2 te config files wont available in c:
windows
it should be under C:\Documents and Settings\<username>\Application Data\SAP\Common
Please check the note also [Note 1442303 - SAP GUI 7.20 - replacement of SAPWORKDIR|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1442303]
check here
Thanks,
Jansi -
Missing sapmsg.ini when configuring CCMSPING availability monitoring
Has anyone has any issues configuring Availability Monitoring with CCMSPING under RZ21 ?
Under the option, Technical Infrastrucure -> Availability Monitoring -> Configure CCMSPING Monitoring
Monitoring -> Create System
There is an option to import the SAPMSG.INI file
I have sapgui 7.1 loaded on this desktop
For some reason, the file SAPMSG.INI is not available.
I even tried defining a Group Logon on SAPLogon, SAPMSG is still not available.
Then we tried defining the system manually - all we got was a message, "system not found"
Has anyone tried doing CCMSPING Availability Monitoring on Netweaver 7.0 (Solution Manager 4.0) ?Hi,
The SAPMSG.ini is created by your SAPGUI. check it in your Windows directory, there should be one if you are connecting to any SAP server using the message server.
Check this link for configuring availability monitoring:
http://help.sap.com/saphelp_47x200/helpdata/en/38/9e100dd7980fffe10000009b3810a5/frameset.htm
Regards,
Siddhesh -
What is the sapmsg.ini include syntax?
Hi all,
myDest = new SAP.Connector.SAPLogonDestination();
myDest.DestinationName = "30 100 SRD - Xxxxx xXXXXxx";
myDest.Client = 100;
myDest.Username = "User";
myDest.Password = "Pass";
myDest.SystemNumber=30;
myDest.AppServerHost="Host";
Error:
Additional information: No entry for 'SRD' found in 'C:\WINDOWS\sapmsg.ini'
What is the problem? Can you help me?
Regards,Hi,
I think in the they r fetching the into table t_vbak. If no data found for ur specified selection criteria then then table t_vbak[] is empty, inthat case ur printing 'No data found'.
Regards,
Srinivas Ch -
How to excute scripts for distributing SAPLOGON.ini file
Hi Experts,
Could you please tell the steps if I have to distirbute new SAPLOGON.ini file to all clients as existing one is having issue of empty entry for item1 for server details.
I have got script code from the below mentioned link:
Installation Server package event scripting for services file
But I dont know how these scripts are to be executed?
Thanks
Depeshhello
please read the installation server help.chm file carefully!
There you find the information which you looking for.
You need an Frontend Installation server and then you can use the exampleas in the
installation serverhelp.chm file to deploy thesaplogon.ini with our nwsaspetup scripting
included in the frontend installation server.
In the Installationserverhelp.chm you find the chapter
Administering an Installation Server ->
Maintaining Installation Packages ->
Configuring Packages and Scripting Events ->
Package Event Scripting Samples ->
Example 1: Copying a customized u201CSapLogon.iniu201D and u201Cservicesu201D-file -->
Also please red the Frontend Installation Guide.
All Information which you need you can find in this 2 documentations!
Best Regards, Sven -
How to use Transformer.INI file
Hi All,
Please let me know how to create and use Transformer.INI file SSM .
How to upload data through Transformer.INI file in SSM
Thanks
ChaviHi Tino,
sapmsg.ini is opend by LIBRFC32 - not NCo directly. You can look into RFC SDK documentation for details (this is install with SAPGUI).
you can try to resolve the problem by setting the following environment variable:
RFC_LOGON_INI_PATH=<PATH_TO_SAPGUI_DIRECTORY>
Regards,
adlin -
SAPGUI Windows *.ini to SAPGUI Java config files?
I have access to the files saplogon.ini, saproute.ini, sapmsg.ini from Windows SAPGUI and I'd like to use these under SAPGUI for Java.
In the SAPGUI for Java, I can see where to put the saproute.ini and sapmsg.ini, but the puting the saplogon.ini into the 'Include Configuration File' , but does not yield any results (does not populate the SAPGUI picklist).
As reference the saplogon.ini has the following format:
[router]
Item1=
Item2=
[server]
Item1=
Item2=
[Database]
Item1=
Item2=
[System]
Item1=
Item2=
[Description]
Item1=
Item2=
[Address]
Item1=
Item2=
[MSSrvName]
Item1=
Item2=
...etc....
Is there a way to convert this into a file that SAPGUI Java can understand?
Any help would be welcome. Thanks.Inside the Documentation for the SAPGUI for Java just look for
7. Administrator Configuration
There you find a description of the formats for the configuration files.
and
6. User Configuration -> Setting Configuration Files
For SAPGUI for Java it's always a good idea to put the company wide configuration files like message server list onto a webserver.
Regards
Robert Straub -
HI,
I am creating single file installer for SAP GUI 7.1 patch 9...I have attached Script event on end install so that can distribute custom ini and service file..The standard code attached below does not work for me...I would like to distribute the installer exe file with custom saplogon ini and service file.....I am following all setps required but still does not work..not sure what is wrong here...I also have CustomerFiles folder created on the root folder of Installation server next to Setup folder and placed ini file in that folder...
NwEngine.Context.Log.Write "Event: Copying customized SapLogon.ini"
strSrcFile = NwEngine.Variables.ResolveString("%SAPSrcDir%\CustomerFiles\SapLogon.ini")
strDstFile = NwEngine.Variables.ResolveString("%WinDir%\SapLogon.ini")
If NwEngine.Shell.FileExist( strSrcFile ) Then
NwEngine.Shell.CopyFile strSrcFile, strDstFile
End If
NwEngine.Context.Log.Write "Event: Copying customized services file"
If NwEngine.Shell.FileExist("%SAPSrcDir%\CustomerFiles\services") Then
NwEngine.Shell.CopyFile "%SAPSrcDir%\CustomerFiles\services", "%WinSysDir%\drivers\etc\services"
End If
Regards,
MilanHi,
You have to create the CustomerFiles folder in the directory where you have installed your sap gui server 7.1, which is shared for end user for installation.
So check it weather you have created it on proper place.
E.g. If I have install SAP GUI Server 7.1 on D:\SAPGUI_SERVER directory then I have to created the CustomerFiles folder in D:\SAPGUI_SERVER directory.
Regards,
Alpesh -
Open file 'C:WINNTsapmsg.ini' failed
Hi,
I'm connecting to SAP using load balancing, setting the following properties of a destination object:
SAPSystemName
LogonGroup
MsgServerHost
Client
Username
Password
Language
When I open the connection I get a RfcException on some systems with the message "Open file 'C:\WINNT\sapmsg.ini' failed".
The file "sapmsg.ini" is installed in the SAPGUI directory "C:\Programme\SAPpc\SAPgui".
On most of the systems in our company it's also installed in the windows directory and everything works correctly. But on new installed systems it's only in "C:\Programme\SAPpc\SAPgui" and so the connection fails.
Is the windows directory the standard location of this file? Our SAP administration says C:\Programme\SAPpc\SAPgui is the standard directory.
Can I tell NCO the location of this file?
Thanks
MarkusHi Chakrapani,
We are also facing the same issue.. Can u please let me know the procedure to fix this..
I got the following error Open file 'C:\WINNT\sapmsg.ini' failed and checked sapmsg.ini file in both windows and programs directory . But unfortunately i could not find the file. Can u please let me know the exact location of the file . If not found then what could be the alternate way to fix this.
1) Presently we r using SAP dot net connector version 2
2) Is it mandatory to uninstall SAP GUI & install it again
3) This is the exact error i am getting:
Error: An unhandled exception of type 'SAP.Connector.RfcException' occurred in sap.connector.dll
Additional information: Open file 'C:\WINDOWS\sapmsg.ini' failed
Please help me out!!!!!
Edited by: ARCHANA RADHAKRISHNAN on Aug 13, 2009 7:35 AM -
In need of help going from Windows SAP GUI to Mac/Java SAP GUI 7.20
Hi Everyone, first post...I want to thank you in advance for any assistance you are able to provide.
I got everything working except for 1 out of 6 servers I need to connect to - of course this is the most important one.
It all comes down to the conversion of saplogon.ini to the new file format, instead of using the GUI to make a list I have created 6 individual .sapc files that I run directly. I found some converters but only had so much success with them, nothing solid and 100% full proof.
I'm going to post my windows config files and maybe you can tell me why logging into this system GP8 doesn't work from my mac?
saplogon.ini (I believe it's item 4 that is the full config for the server I'm trying to connect to)
[Configuration]
SessManNewKey=80
MessageServerTimeout=10
WithWizard=0
ConfirmDelete=1
NoEditFunctionality=0
SapguiHexdumpActivated=0
SapguiTraceActivated=0
SapguiTraceLevel=1
SapguiNTCmdOpts=
[Router]
Item1=
Item2=
Item3=
Item4=
Item5=/H/10.201.200.27/saprouter.fa.de/H/
Item6=
[Router2]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[RouterChoice]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[Server]
Item1=171.18.85.21
Item2=171.18.85.26
Item3=GI7001.trans.de
Item4=PUBLIC
Item5=gtlson10.fa.biz
Item6=gtlson19.fa.biz
[Database]
Item1=00
Item2=01
Item3=34
Item4=88
Item5=26
Item6=21
[System]
Item1=3
Item2=3
Item3=3
Item4=3
Item5=3
Item6=3
[Description]
Item1=ASNA PRD
Item2=ASNA TST
Item3=GI7
Item4=GP8
Item5=JPF
Item6=JPW
[Address]
Item1=
Item2=
Item3=
Item4=141.228.205.97
Item5=
Item6=
[MSSysName]
Item1=PRD
Item2=TST
Item3=GI7
Item4=GP8
Item5=JPF
Item6=JPW
[MSSrvName]
Item1=
Item2=
Item3=
Item4=gp8001.trans.de
Item5=
Item6=
[MSSrvPort]
Item1=
Item2=
Item3=
Item4=sapmsGP8
Item5=
Item6=
[SessManKey]
Item1=-1
Item2=-1
Item3=-1
Item4=-1
Item5=-1
Item6=-1
[SncName]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[SncChoice]
Item1=-1
Item2=-1
Item3=-1
Item4=-1
Item5=-1
Item6=-1
[Codepage]
Item1=1100
Item2=1100
Item3=1100
Item4=1100
Item5=1100
Item6=1100
[CodepageIndex]
Item1=-1
Item2=-1
Item3=-1
Item4=-1
Item5=-1
Item6=-1
[Origin]
Item1=USEREDIT
Item2=USEREDIT
Item3=USEREDIT
Item4=MS_SEL_GROUPS
Item5=USEREDIT
Item6=USEREDIT
[LowSpeedConnection]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[MSWinPos]
NormX=324
NormY=263
[MSLast]
MSLast=GP8
[Utf8Off]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[EntryKey]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[EncodingID]
Item1=DEFAULT_NON_UC
Item2=DEFAULT_NON_UC
Item3=DEFAULT_NON_UC
Item4=DEFAULT_NON_UC
Item5=DEFAULT_NON_UC
Item6=DEFAULT_NON_UC
[ShortcutType]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[ShortcutString]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[ShortcutTo]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[ShortcutBy]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
Another file I think is important: sapmsg.ini
[Message Server]
MSS=MSSAP00
MST=SAPTST00
MS1=SAPDEV00
MSX=sapsbx99
MSU=sapmsu99
APP=apoapp00
MBW=mssapbw
APT=apotst00
APS=aposbx00
MB1=sapdevbw
MBT=saptstbw
P01=dryrun00
MS2=sapms299
MBX=sapsbxbw
GP8=gp8001.trans.de
Another file that may be important?
SAPROUTE.ini
[Router]
sapprd=/H/10.201.200.21/H/saprouter.fa.com/H/
gtlson10.fa.biz=/H/10.200.201.21/H/saprouter.fa.com/H/saprouter.fa.de/H/
This is what my *.sapc file looks like after changing it up a few times, I am certain it is wrong:
conn=/H/gp8001.trans.de/&clnt=401&expert=true
Please tell me from all the info you have here what needs to take place for me to be able to connect to GP8. Can I do it from an sapc file? Do I have to configure other core files and go to my preferences and tell SAP to look at certain configs? I'm sure someone here can help me.
Thanks so much for your time
John
Edited by: nstabl on Feb 27, 2012 10:07 PMHello John,
please try the "SAP GUI for Java Configuration Generator Scripts" available at http://scn.sap.com/docs/DOC-25456#section9 .
For using the message server to connect to GP8, the information of the port number of the message server for GP8 is missing. For direct connection to GP8, it might work to use the connection string "conn=/H/gp8001.trans.de/S/3288" .
Best regards
Rolf-Martin
Message was edited by: Rolf-Martin Woersinger
update link, which was broken after SCN upgrade -
Windows 7 64 bit giving BEx Problems. Big time problems (!!)
Hi there, i just got through an issue with BEx connecting to SAP on a laptop using Windows 7. After googling and sdning and SAP noting for a while did not find any suitable answer to this issue which seems strange to me as Windows 7 64 bit is not really a brand new product. The full specs are as follow. Anyone bringing some light into this subject would be very much appreciatted.
=> SAP Logon 720 with 0 Patch Level.
=> MS Office 2007
=> Windows 7 64 bits
In C:\Windows i got:
-> SAPMSG.ini
-> Saproute.ini
-> saplogon.ini
in C:\Users\username\AppData\Roaming\SAP\Common i got:
-> Sapgrph
-> saplogon
-> SapLogonTree.xml
-> saprules.xml
-> Saproute
-> services
The issue is that i am not able to logon either via BEx 7.x or 3.x. The Error message is:
Error Group
RFC_ERROR_COMMUNICATION
Message
Connect to message server failed
Connect_PM MSHOST=/H/172.17.255.194/H/XXX.intranet.xxxxxxx.com, R3NAME=XX, GROUP=PUBLIC
LOCATION CPIC (TCP/IP) on local host my-pc
ERROR timeout while pending for route completion
TIME Wed Jul 27 10:56:44 2011
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -12
DETAIL NiErrSet
COUNTER 1Hi Alex ,
SAP GUI for Windows 7.20 and all related applications including SAP Desktop Office Integration / BI Frontend / BW Frontend do not support Office 2010 64bit, only 32bit versions of Office are supported.
This means that when using 64bit operating sytems with SAP GUI for Windows and related components you have to use a 32bit Microsoft Office version .
For your issue , you can check these Notes.
1. 1442028 - SAP GUI for Windows 7.20: No support for Office 2010 64bit
2. 1264857 - BExAnalyzer 7.X does not work on 64 bit Windows PCs
3. 1503786 - Precalc server is not created correctly in TA:RSPRECADMIN
4. 1589565 - Connection problem in Precalc server and Excel hangs
Regards,
Lokesh -
UME: SAP R/3 system config
I'm trying to set User authentication to SAP R/3 system, not load balanced system, on the User Management Configuration values: Client=601, Userid=sapjsf, Password=pwd, sys id=s01, Group and Message server= no values, Application server= IP addreess, Sys. number=00, Max pool=10, Max wait=10000.
When testing connection, I got this message:
(System ID): com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: Open file 'sapmsg.ini' failed
(System ID & System Number): OK
now, is this an error? where is and what values are needed at sapmsg.ini file? as our SAP R/3 is not a load balanced system.
Did I miss any item for the setup, in dataSourceConfiguration_r3.xml? I made sure the SAPJSF "communication user" got the right sap role and authorizations,
Portal version : EP6 SP2 PL22
Regards,
AAAttarThanks Tan,
Yes it was Undocumented fun, When leaving SystemId, Group and Message servers blank, I was able to connect, and map the BW WAS6.2 users.
However R/3 4.6C user can not be referenced as an SAP UME for user logon directly, it must have a WAS6.2 or higher,
http://help.sap.com/saphelp_ep60sp2/helpdata/en/9e/fdcf3d4f902d10e10000000a114084/frameset.htm
Regards,
AAAttar
Maybe you are looking for
-
iTunes (10.5.2) won't recognize my iPhone even after I've gone through all the steps recommended by Apple Support (restarted iPhone, restarted computer, used different USB port, updated iTunes, removed and reinstalled Apple Mobile Device Service). I
-
Hello I am trying to print a 4.5 x 5.75 contact sheet of 8 images, which I have saved as a preset. I have printed this many times in the past but this time I am getting a error message (which appears in the print dialog box too quickly for me to read
-
Hi! My awful version of space invaders is almost ready. I only have problems programming the method where I check whether a rocket hits an alien. This method is called 'controleerHit' in Spel. Thanks for your help! import java.applet.*; import java.a
-
Need Information about IP21 and IHistorian
I'm need to connect IP21 plc and IHistorian db.But I don't have that much knowledg about these two things.Can I have document or link which provides infomation about IP21 and IHistorian or else any depth explanation about these two. Please provide me
-
I made a search engine to search my database for particular things. I know this makes it search by name $query .= "name LIKE '%$each%' "; What would I need to do to make it search for more stuff? Like by genre I already have everything complete, I j