cancel
Showing results for 
Search instead for 
Did you mean: 

call FM in BEx 7.2

Former Member
0 Kudos

I have macros in BEx 7.2 report calling FM from BW. In BEx 3 it's all right but in BEx 7 russian symbols of inport/export parametrs  are displayed like symbol "?".
I do this

Dim sapConnection As Object

    Set sapConnection = Run("BEXAnalyzer.XLA!sapBEXgetConnection")

    Dim sapFunctions As Object

    Set sapFunctions = CreateObject("SAP.Functions")

    Set sapFunctions.Connection = sapConnection

    Dim sapFunction As Object

    Set sapFunction = sapFunctions.Add("ZMY_FM")

    sapFunction.Exports("PARAM").Value = "Параметр"

But parametr  sapFunction.Exports("PARAM").Value = "????????"

Many pepople solved the problem using SAP.Functions.Unicode like this

Dim sapConnection As Object

    Set sapConnection = Run("BEXAnalyzer.XLA!sapBEXgetConnection")

    Dim sapFunctions As Object

    Set sapFunctions = CreateObject("SAP.Functions.Unicode")

    Set sapFunctions.Connection = sapConnection

    Dim sapFunction As Object

    Set sapFunction = sapFunctions.Add("ZMY_FM")

    sapFunction.Exports("PARAM").Value = "Параметр"

But in my case I have

sapFunction = Empty

sapFunction.Exports("PARAM").Value = Object required

some people had the problem due to missing file wdtlogU.ocx in directory c:\Program Files\Common Files\SAP Shared\

I have the file there.

We tryed to install SAP GUI 7.2 SP17  but we still have the problem

Accepted Solutions (0)

Answers (1)

Answers (1)

jude_bradley
Advisor
Advisor
0 Kudos

Hello Ramil,

You might have better look asking here...

Jude

Former Member