V3 ini file
Version 3.2 (and earlier) support ends in 2025. Please review the Migration path to version 4 available here
The Add-in .ini file controls the options and connection parameters for the Promenta Add-in.
The .ini file is usually set up by an IT team and then distributed to every user via the install process. As each user must have their own copy of the .ini file then some per-user settings are possible but it is recommended that this is avoided and all users given the same .ini file.
The .ini file is an xml format file and MUST exist in the same directory as the Add-in xlsm file. The installer will ensure this is the case.
Note the ini file must be named as : Promenta_Excel_RFC_Service.ini
Generate Ini file automatically
Since 6.45.0.0 you can generate initial ini file including PromentaCA settings
Since 6.43.2.0 you can generate the initial file and also merge additional systems using the transaction below
Since SP35 it is possible to generate the ini file automatically with your settings already configured
Prerequisite : First configure Promenta Journal solution so that it is working as a web application. This then ensures all links and urls are correct for your system.
Transaction : /PROMENTA/EXCEL_INI
Mode : “Full file and current system”
You would run this when first needing an ini file for the project (eg in development). This will generate the full ini file containing all global settings and also the current systems specific settings (eg development system)
Mode : “Current system only”
You would run this on each subsequent system (eg QA, Test, Production). This will generate the settings for this specific system only. You would then paste into the ini file the settings. Since 6.43.2.0 you can upload your ini file and the system will perform the merge of the ini file with the new system automatically.
Additional Systems
You need to add additional systems to an existing ini file (for example – you have DEV ini file and now want to add QA and PROD to it)
The recommended approach is to use the automatic generation Transaction : /PROMENTA/EXCEL_INI as per the previous section with option “Current System only”.
Additional Systems when transaction is not available
Customers often need to generate the ini file for all systems in advance of deployment to all systems (eg you have imported Promenta SAP/ABAP into DEV but no where else yet). Hence the transaction /PROMENTA/EXCEL_INI is not available yet in the target system such as QA or PROD
Procedure when transaction is not available
Here we will generate the URL link using existing SAP services and then manually edit the ini file to add the entries
1] Run transaction SICF
2] Navigate to service /sap/bc/ping —> check it is active and if not active then activate it
3] Right-click and “Test Service” —> This will launch a browser
4] Copy/Paste the Generated link into a text editor —> it will resemble
https://<YOUR SERVER>:<PORT>/sap/bc/ping?sap-client=100
Example : https://csap5.prmnt.internal:8443/sap/bc/ping?sap-client=100
5] Extract the first part of the link —> https://<YOUR SERVER>:<PORT>
Example : https://csap5.prmnt.internal:8443
5] Append the Promenta service url —> /sap/bc/bsp/promenta/wfbsp/excelservice.htm
Example : https://csap5.prmnt.internal:8443/sap/bc/bsp/promenta/wfbsp/excelservice.htm
6] Open the DEV ini file in a text editor
7] Find section <!– PROMENTA_INSERTION_POINT_1 –> in the file
8] Insert the entry described just below the section.
Replace the red parts with your information
Note that the <serviceurl> tag contains the generated link
<system>
<name>Quality</name>
<description>Quality System</description>
<system_id>QU1</system_id>
<client>100</client>
<serviceurl>https://csap5.prmnt.internal:8443/sap/bc/bsp/promenta/wfbsp/excelservice.htm</serviceurl>
</system>
9] Repeat for PROD system
Example file with comments
Note : It is recommended to use the transaction /PROMENTA/EXCEL_INI (above) to generate this file. The file below is provided for reference only
Ini File technical documentation
Overview
The ini file consists of global settings which affect all connections and system-specific settings for each system
<?xml version="1.0" encoding="UTF-8"?>
<Promenta_Excel_RFC_Service_Ini>
<options>
<!-- control options such as buttons etc -->
</options
<connection>
<!-- Global settings -->
</connection>
<systems>
<!-- system specific parameters -->
</systems>
</Promenta_Excel_RFC_Service_Ini>
Global connection parameters
<!-- Connection type = this should always be URL -->
<type>URL</type>
<!-- Mode = this should always be WEBDRIVER -->
<browser_mode>WEBDRIVER</browser_mode>
<!-- directory to the temporary path. Do not change -->
<Tmp_Path>[IniPath]\tmp</Tmp_Path>
<!-- the location of the webdriver executable. This is with respect to the addin installation directory.
It should not normally be changed. -->
<WD_Driver>[IniPath]\WebDriver\edgedriver_win64\msedgedriver_[WD_EdgeVersion].exe</WD_Driver>
<!-- port that the webdriver executable runs on locally -->
<WD_Port>9515</WD_Port>
<!-- Do not change. Informs the webdriver executable of the port. -->
<WD_Param>--Port=[WD_Port]</WD_Param>
<!-- webdriver Window mode. Normally HIDE is used -->
<WD_Window>HIDE</WD_Window>
Global connection parameters – Autoupdater
These settings are used when the autoupdater is enabled to download the latest version of the webdriver from the microsoft-managed location. See here for information on the Microsoft CDN.
These settings should not be changed unless you are hosting your own webdriver downloads.
Promenta is not responsible for content on external sites.
<!-- Download url with version placeholder
NOTE : Since Jan 2025 the old msedgedriver.azureedge.net is no longer valid-->
<WD_AutoUpd_URL>https://msedgedriver.microsoft.com/[WD_EdgeVersionFull]/edgedriver_win64.zip</WD_AutoUpd_URL>
<!-- edge webdriver name -->
<WD_AutoUpd_Exe>msedgedriver.exe</WD_AutoUpd_Exe>
<!-- Ask user if they want to do the auto update if the correct driver is not found.
If NO then user is not asked and webdriver is downloaded without confirmation -->
<WD_AutoUpd_Ask>YES</WD_AutoUpd_Ask>
<!-- delete old webdrivers. If NO then old webdrivers remain -->
<WD_AutoUpd_Del>YES</WD_AutoUpd_Del>
<!-- try and use version N-1 of webdriver. This reduced the number of updates.
If NO then every time a new Edge is released, a new update will occur -->
<WD_AutoUpd_Prv>YES</WD_AutoUpd_Prv>
PromentaCA settings (Since 6.45.0.0 / Add-in 3.3.N onwards )
Note : if the PC_EXE setting is available then PromentaCA will be used regardless of whether any WebDriver settings are present.
<PC_Exe>C:\Users\[UserName]\AppData\Local\Programs\PromentaCA\PromentaCA.exe</PC_Exe>
<PC_Port_List>8001</PC_Port_List>
<PC_Min_Delay>1</PC_Min_Delay>
<PC_Log_Active>YES</PC_Log_Active>
<PC_Log_History>10</PC_Log_History>
<Options> node
<!-- Activate buttons -->
<PostToSAP>YES</PostToSAP>
<ParkInSAP>YES</ParkInSAP>
<chg_tmpl>YES</chg_tmpl>
<SendToWorkFlow>YES</SendToWorkFlow>
<WFStatus>YES</WFStatus>
<Inbox>YES</Inbox>
<Validate>YES</Validate>
<!-- enable import of posted doc numbers into the sheet when the Status button is used -->
<WFS_AutoAddToWbk>FIDOC</WFS_AutoAddToWbk>