Skip to Content
author's profile photo Former Member
Former Member

Getting an hebrew information from a table

I'm trying to get information about specific field in VB6 but when the field is consists of characters in hebrew, I'm not getting data.

The Code is:

    Dim oSBObob As SAPbobsCOM.SBObob
    Dim oRecStock As SAPbobsCOM.Recordset
    Dim str As String
    
    Set oSBObob = oCompany.GetBusinessObject(BoBridge)
    Set oRecStock = oCompany.GetBusinessObject(BoRecordset)
    
    str = "Select OnHand from OITW where ItemCode = 'בנק'"
    oRecStock.DoQuery (str)

I am getting oRecStock.EOF = true although the record exists.

but when the string is :

str = "Select OnHand from OITW where ItemCode = 'ABC'"

, I am getting results.

What is the reason, Why there is difference between the languages and what can I do in order to solve this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 28, 2007 at 10:07 AM

    HI!

    You might a bit lost, because it is an ABAP forum and not VB6 forum.

    In the main SAP tables the values are stored as ABC, and not like the way you wrote it in hebrew. Every text object has its transalation, but in different tables, than the main data tables.

    Depends on your SAP system is unicode or not, you have to access them in different ways.

    Regards

    Tamá

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.