Regarding the file saplogon.ini
Hi Gurus,
I am facing a problem with saplogon.ini file . when i am trying to open it , it is popping up a message box --
" The filename,directory name or volume label syntax is in correct" .
Could you please help me in finding out why it is happening and could you please provide me any solution for the above problem.
Thanks in advance,
Vikram Krishna.
Hi,
There seems to be some naming problem either with your harddisk volume name or directory. Please check this link http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/w2000Msgs/2993.mspx?mfr=true.
Verify the same and try to open the saplogon.ini in notepad.
Regards,
Subodh
Similar Messages
-
Regarding the File Adapter with Code Page problem
Hi All,
I have a scenario where I am processing file at receiver end. The code page of the file is Cp037. When I try with this, I am facing the problem. Is there anyway where I can chage the code page of the file which is to processed by File adapter receiver.
I have one idea but I don't know whether it is possible or not. It is to use XML Anonymizer Module.
Please get back to me with your ideas.
Regards,
AchariHi Achaari,
Cp037 ( EBCDIC ) is not a basic but an extended encoding set which might not be supported by the file encoding parameter at the receiver file adapter.
Either you can try the code page conversion using java code as mentioned in this[ post|Code page conversion;
Please refer Problem with EBCDIC
Michale's reply and the sriram's reply which talks about some work around using .BAT files.
Regards,
Srinivas -
Regarding the file saving @ user required patha
Hi,
I need F4 help on the file selection. where i can specify the path to save my file.
Please give me any FM
Thanks,
SureshHi ,
You can use the method file_save_dialog
of the class cl_gui_frontend_services.
The code will look some thing like
data: l_f_file_name TYPE string ,
l_f_path TYPE string ,
l_f_full_path TYPE string ,
l_f_user_act TYPE i .
CALL METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = l_f_file_name
path = l_f_path
fullpath = l_f_full_path
user_action = l_f_user_act
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
OTHERS = 3
Regards
Arun -
Regarding the file name checking
Hi ,
I m using the below program which will upload the XL sheet , here i want to validate the file name which i m selecting from the destop. the file name should be named as "Suresh.XLS", where and how i can do validation for checking the file name..
I gave the code for the refernce...
please let me know the solution ASAP..
REPORT ZSURESH13062007 .
types: begin of ttab ,
fld1(30) type c,
fld2(30) type c,
fld3(30) type c,
fld4(30) type c,
fld5(30) type c,
end of ttab.
data: itab type table of ttab with header line.
selection-screen skip 1.
parameters: p_file type localfile .
selection-screen skip 1.
at selection-screen on value-request for p_file.
call function 'KD_GET_FILENAME_ON_F4'
exporting
static = 'X'
changing
file_name = p_file.
start-of-SELECTION.
IF p_file IS INITIAL.
MESSAGE S398(00) WITH 'No input file specified.'.
ELSE.
clear itab.
refresh itab.
PERFORM upload_data.
loop at itab.
write:/ itab-fld1, itab-fld2, itab-fld3, itab-fld4, itab-fld5.
endloop.
endif.
form upload_data.
data: file type rlgrap-filename.
data: xcel type table of alsmex_tabline with header line.
file = p_file.
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
filename = file
i_begin_col = '1'
i_begin_row = '1'
i_end_col = '200'
i_end_row = '5000'
tables
intern = xcel
exceptions
inconsistent_parameters = 1
upload_ole = 2
others = 3.
loop at xcel.
case xcel-col.
when '0001'.
itab-fld1 = xcel-value.
when '0002'.
itab-fld2 = xcel-value.
when '0003'.
itab-fld3 = xcel-value.
when '0004'.
itab-fld4 = xcel-value.
when '0005'.
itab-fld5 = xcel-value.
endcase.
at end of row.
append itab.
clear itab.
endat.
endloop.
ENDFORM.
Thanks,
Suresh...Hi Suresh,
Check the Function Modules,
PC_CHECK_FILENAME_WITH_EXT,
PC_CHECK_FILENAME.
Thanks,
Reward If Helpful. -
Regarding the File Format on the application server
Hi,
I would like to know the file format (ANSI, UTF-8, UTF-16, UTF-32) of the file placed on the application server in my program. Can anyone help me with the Function Module or Class or any other way which will retrieve this information.
Thanks
Sarves S V KHi
You can try the standard class CL_ABAP_FILE_UTILITIES and the method
CALL METHOD cl_abap_file_utilities=>check_utf8
EXPORTING
file_name = filename
IMPORTING
bom = file_bom
encoding = file_encoding.
Check the possible values returned by encoding and BOM:
NO_BOM
BOM_UTF8
BOM_UTF16_BE
BOM_UTF16_LE
ENCODING_UTF8
ENCODING_7BIT_ASCII
ENCODING_OTHER -
XI to proxy: issue regarding the file formatting
Hi,
our scnario is proxy to file.
If the no data is coming from abap side then in file no new line should be created for that particular field.
exmple: our file structure is
Header----
Master1----
Master2----
Detail1----
detai2----
EarningHistory1----
EarningHistory2----
Trailer----
Now if Abap side does not sent any data corresponding earning history. Then our file structure sholud be
Header----
Master1----
Master2----
Detail1----
detai2----
Trailer----
no new line is created for Earning History.
but now our file structure is
Header----
Master1----
Master2----
Detail1----
detai2----
Trailer----
This is problem.
How do i resolve this????
output:
Header----
Master1----
Master2----
Detail1----
detai2----
Trailer----
no new line is created for Earning History.
Regards,
SanghamitraHi,
go through this link:
RCVR File Content Conversion - Remove empty Recordsets
Fabio -
Cannot find the file MsDtsSrvr.ini.xml
My SSIS 2008 book says that -
The MSDTSServer100 service is configured through an XML file that is located by default in the following path: C:\Program Files\Microsoft SQL Server\100\DTS\Binn\MsDtsSrvr.ini.xml.
I cannot find this file in the given folder. But, I did find a MsDtsSrvrUtil.dll file which is of no use to me.
The book also says that if you cannot find the path, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\SSIS\ServiceConfigFile registry key in the Registry. By default, the XML file should look like the following:
< ?xml version=”1.0” encoding=”utf-8” ? >
< DtsServiceConfiguration xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” >
< StopExecutingPackagesOnShutdown > true < /StopExecutingPackagesOnShutdown >
< TopLevelFolders >
< Folder xsi:type=”SqlServerFolder” >
< Name > MSDB < /Name >
< ServerName > . < /ServerName >
< /Folder >
< Folder xsi:type=”FileSystemFolder” >
< Name > File System < /Name >
< StorePath > ..\Packages < /StorePath >
< /Folder >
< /TopLevelFolders >
< /DtsServiceConfiguration >
But, I don't see this either inside regedit. All i see is a blank "thing" (photo attached). What is happening and how do I complete these steps ?Hello,
Are you sure you have SSIS installed on your machine? Please check it with Windows Service Manager (services.msc) if you have an entry like "SQL Server Integration Services 10.0"
BTW, the blank "\SSIS\ServiceConfigFile" registry key exists also on machines, where only the client tools are installed, but not SSIS itself.
Olaf Helper
[ Blog] [ Xing] [ MVP]
Thanks for your answer. This is very embarrassing, I did find the xml file there. But, what is the difference between SSIS and SSIS client tools ? -
Saplogon.ini file location question
Hi, any advice would be appreciated thanks
we have rolled the sap gui 6.40 to all our clients - all using a local copy of the saplogon.ini file in the local windows directory. however we wish to change this approach and have a central saplogon.ini file on a file server and point all the clients to this file.. any changes only then have to be made in one place.
can anyone help me with this, firstly is it possible, and if so how to change the client setting to adjust the location.
many thanks.Hi thanks for your link.
The document you pointed me towards led me to SAP note number 756686
which explains that you can edit the SAP icon on your desktop (by right-clicking and opening with notepad) and then adding a line cmd="/ini_file='path to ini file'\saplogon.ini'
Thanks for your assistance.
Edited by: Mike Ellis on Mar 4, 2008 1:05 PM -
SAPLOGON.SAL- different saplogon.ini files
Dear all,
I'm looking for a possibility to use different ini files, dependent from the access via network (lan) or VPN.
The local saplogon.ini file should only be used if the saplogon.ini file from the network directory is not available. Maybe with SAPLOGON.SAL?
thanks in advance!if (netWorkIsAvailable())
System.Runtime.InteropServices.Environment.SetEnvironmentVariable("SAPLOGON_INI_FILE", "c:
windows
SAPLOGON.SAL");
else
System.Runtime.InteropServices.Environment.SetEnvironmentVariable("SAPLOGON_INI_FILE", null);
SAPLogonDestination dest = new SAPLogonDestination();
Message was edited by: Reiner Hille-Doering -
How to merge multipal saplogon.ini files..
How can I merge the multiple saplogon.ini files if system is on Domain?
We are merging two SAP Logon.ini file. The common file I placed in c:windows and the users own entries are in saplogon.ini in the %appdata%commonSAP directory. And by using note 1426178 pkt. 5, we set ConfigFileOnServer to c:
Now the user can create own entries in own saplogon.ini, and not change entries in the common saplogon.in I c:windows.
If you update the common file, you just have to replace the file in c:windows.
/René -
SAPLOGON.INI within Standalone Installationpackage
Hello,
we used the SAP Installation Server Administration Tool to build our SAP Installation Packages.
For the SAPLOGON.INI weu2019ve implemented a u201COn End Installu201D Script using the SAP Administration Tool, this script simply copies the file from a server and sets up the Systemvariable
strSrcFile = NwEngine.Variables.ResolveString("
installationserver\packages$\SAP\SAPLogon\SAPLogon.ini")
strDstFile = "C:\windows\SAPLogon.ini"
NwEngine.Shell.CopyFileEx strSrcFile, strDstFile, vbTrue
NwEngine.Shell.SetRegValue "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\SAPLOGON_INI_FILE", "REG_SZ", "c:\windows\SAPLogon.ini"
This script is working perfect, but during the rollout we found out that these script wont work if the client, which installs the Package, is not in the location of u201CInstallationserveru201D as per firewall rules the clients have no access from e.g. subsidiaries or VPN to this server.
Is there a possibility to include the SAPLOGON.INI file in the standalone Installation package, or create the SAPLOGON.ini file during the installation process?
We are using SAPGUI 7.20.
Software Deployment Server is Microsoft System Center Configuration Manager 2007 R2.
Client OS: Windows 7
Thank you,
EvelynHello Sven,
We already created Single File Installer Packages for our SAP GUI / SAPBI GUI.(With the " SAPgui720_0-10007878GUIWINDOWSWIN32setupNwSapSetupAdmin.exe"´)
The inclusion of the custom saplogon.ini was not part of the process.
Iu2019ve read the CHM you pointed me to, but therefore I need to install the SAP Installation Server, is this correct?
Is there no other way to do this..?
As Iu2019ve never used SAP Inst Server before u2013 is this just a u201CProgram / Toolu201D that can be additionally installed on e.g. our Software Deployment Server, or a complete Server Administration toolkit which requires a single server for it?
Thank you,
Evelyn -
Translate saplogon.ini to Linux JAVAGUI Login Strings
Hi there,
before writing an own script i wanted to ask if there is a way to migrate / translate the
Windows saplogon.ini to the connections file of the JavaGUI under Linux?
regrads
Peter -
SAPLogon.ini distribution
Dear all,
we have several SAP production systems (and more to come)for different, partly overlapping, groups of end users. Currently we are providing one saplogon.ini file to all end-users, which contains simply all SAP systems we have here. But this is not desirable either from the point of unnecessary complexity as well as from a security point of view, as you publish all network addresses with the saplogon.ini file.
So we are currently looking for a solution, which provides only those SAP systems to a end-user, which he only needs.
Does anybody know, if there are any applications on the market, which can do this e.g. in connection with LDAP?
thanks in advance
Richard Schöninger, SAP basisHello,
Another idea is using several saplogon.ini file via help of windows enviroment variable SAPLOGON_INI_FILE.
Please take a look following sap note;
Note 1426178 - SAP Logon (Pad): create/distribute server configuration file
9. If different saplogon INI files should be used,
you should save each saplogon INI file in a separate folder, e.g.
the first one in folder: \\Servername\Saplogon\Configuration1\
and the second one in folder:
\\Servername\Saplogon\Configuration2\
Then you start SAP Logon with parameter /INI_FILE= set to the corresponding saplogon.ini file, e.g.
/INI_FILE=\\Servername\Saplogon\Configuration1\saplogon.ini
for the first one
and
/INI_FILE=\\Servername\Saplogon\Configuration2\saplogon.ini
for the second saplogon INI file,
so that the corresponding xml file can be created by SAP Logon in the same folder with the used saplogon ini file
After you finished with creating subfolders and moving entries to the proper subfolders, all the corresponding xml files created by SAP Logon can be used by your users.
You can then set the server file for your users accordingly, e.g.
for some users to
\\Servername\Saplogon\Configuration1\SapLogonTree.xml
for other users to
\\Servername\Saplogon\Configuration2\SapLogonTree.xml
Note:
Only one xml file can be set and used together with the corresponding saplogon INI file (and sapshortcut.ini file) at one time for the server configuration in SAP Logon (Pad).
Best Regards -
Dear All,
I had installed SAP LOGON 710, Patch Level 9 on Windows Vista OS. I am not able to find SAPLOGON.INI file. Normally it is in C:\Windows but it is not there. I had also search whole C:\ drive but it is not there.
I want to know the where the logon details are saved. if any one knows abt this please replay.
Regards,
Tejas Naik.Hi,
did you search for SAPLOGON.INI?
Do you have a local or a server-installation of SAPGUI?
Regards, Dieter
Another way i to look in LOGON-Pad in OPTIONS. There you can see what saplogon.ini is used.
Regards, Dieter
Edited by: Dieter Gröhn on Sep 23, 2008 12:59 PM -
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
Maybe you are looking for
-
Reg:Opening and Closing Stock For Plant
Hi All, i want to calculate the opening stock and closing stock for plant wise for the given Posting Period Date. Am having the opening balance and closing balance for all months but i need it as month wise. considering this example, the date is fr
-
The preview of my folio only works on iPad when i submit it per USB cable. The content viewer on my mac works too. When i submit the folio online, the submitting stops with this error: When i click "try again" it seems to work, bit the article on the
-
Tax Classification -- Customer Account Group
Hi all I have been given a set of Customers belonging to different Customer Account Group. I want to know for which Account Groups, the Tax Classification was made Mandatory ! Aim of us to extend some Customers/Partners from one Company Code to o
-
Hi where can i find customer master creation time ? regards
-
Attention! Peculiar recurring MacBook Shut-Down Behaviour!
After using Macs my whole life, this is the one situation that truly baffles and peeves me greatly ... I have now owned a 2GHz Macbook (running 10.4.7) for about two months. When I go to shut the machine down, (primarily by way of the apple icon in t