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

FM CONVERSION_EXIT_TPLNR_INPUT in VBA

$
0
0

Hi Experts,

Regarding this thead: Where can I get functional location text , i'm facing the same issue, when extracting TPLNR (Functional Location) field from table ILOA, i get "?0100000000000000023", instead of the proper name, so, i saw that the function CONVERSION_EXIT_TPLNR_INPUT is the right way to go threw this, the difference is that im using VBA instead of ABAP programming. I have experience on extracting info from tables with RFC_READ_TABLE, but this function module is new fo me.

 

Until now i have done the following piece of code:

 

(Connection and the things before this works fine)

 

dim oTroObjeto as object

dim obJermano as object

Set oTroObjeto = sapConn.Add("CONVERSION_EXIT_TPLNR_INPUT") 'this part works

oTroObjeto.Exports("INPUT") = "?0100000000000000023" 'An example of the wrong field

 

If oTroObjeto.Call = False Then 'Here i have the error

    MsgBox oTroObjeto.exception

Else

     Set obJermano = oTroObjeto.Imports("OUTPUT") 'the variable to save the name... i think.

End If

 

Any parameter i am missing?, some set up?

I got "SYSTEM FAILURE" error.

 

Any guidance or enlight would be higly appreciated!

 

Many thanks in advance!

 

Angel


Viewing all articles
Browse latest Browse all 7999

Trending Articles



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