Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting a decimal variable from OLEObject

Hello, all

Does anyone know how to handle this problem.

I have a .NET component, which is COM visible.

PB classic connects to it and executes all functions without a problem.

However, when it tries to access variable of type System.Decimal it cannot convert it to PB decimal. or to any other PB variable type.

Trying to convert it to string by using string ls_price = string(ole_res.price) returns empty string.

Any idea how to get to the System.Decimal ?

Thank you


Not what you were looking for? View more on this topic or Ask a question