Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8989

call FM in BEx 7.2

$
0
0

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


Viewing all articles
Browse latest Browse all 8989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>