MDX parser does not start

Error:


The MDX execution terminates with an error message on the SAP BW system and a connection test using transaction SM59 is not possible,

Reason:


See SAP Note 1032461 for more information,

Solution:


Follow the steps below:

  • Read SAP Note 581509. This SAP Note contains general information about the “timeout during allocate” error message.
  • Download the librfc32 from the Kernel download location (Select Non Unicode Kernel to get librfc32, otherwise you might get librfc32u).
  • Implement the current version of librfc32.dll (not librfc32u.dll) on ALL application servers.
  • The file librfc32.dll can be installed several times. Replace all versions. Note 336693 describes how to replace this DLL on the Windows platform.
  • If file librfc32.dll is not contained in the same directory as mdxsvr.exe, it must be in one of the search path directories (environment variable PATH). The MDX parser (program mdxsvr) is located in a directory of the application server: /usr/sap/

     To check whether the newly installed librfc32.dll is contained in the path, use the command CMD to open a command line, execute the command SET and check whether the environment variable PATH contains a directory that contains librfc32.dll, e.g., /System32.
  • In transaction SM59, check whether the setting “Communication Type with Target System” (“MDMP & Unicode” tab) is set to “Non-Unicode” for the RFC destination MDX PARSER.
  • Install “Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update” (KB973544) vcredist_x64.exe

If these steps are unsuccessful, try to start the MDX parser as a local RFC server. Carry out the following steps for the Windows platform:

  • Use the command CMD to open a command line.
  • Switch to the directory that contains mdxsvr.exe (/usr/sap/
  • Start the MDX parser as a server using the following command: mdxsvr -amdxparser -g

If the program can be started successfully, the functions should not be impaired.

If a test of the RFC destination still results in an error, enter the complete path for the file mdxsvr.exe in the “Program” field (for example, j:\usr\sap\BWP\SYS\exe\run\mdxsvr). Then check whether the test still results in an error. If the test is successful this time, it indicates that a PATH variable is incomplete.

Important: If there is an error messages with regard to the MDX parser from BW 7.30 on (for example, in the system log), even though the statement can be parsed successfully, refer to the SAP Notes 1572695 and 1666816.

Creation date: 8/28/2023 8:29 AM      Updated: 7/12/2024 2:54 PM