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

How to get values from variable

For instance, there is a variable in SAP B1 application, the system information says it is located at

#0000078,Qty

How will I know which table it refer? #0000078 isn't a table.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2008 at 09:16 AM

    U can get the values from the forms by using the Item type Say u want to get the value form a Edit text then u need to get the item and get the value. Ex:

    Dim oEdit as SAPbouiCom.EditText
    Dim strVal as String
    oEdit = oForm.Items.Item("1000078").Specific
    strVal = oEdit.String

    Hope it helps,

    Vasu Natari.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2008 at 09:16 AM

    Hi,

    iam not sure what you mean - if you want to know where the data comes from or is stored:

    some fields (for example sap calculated fields), have no table behind and you will not see where they come from.

    in some reports / forms where a matrix/grid with values is created you can use the sql profiler to find out which table is behind and you can also use the profiler to find out which and where the data is stored.

    lg David

    Edited by: David Nussböck on Oct 7, 2008 11:16 AM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      some fields (for example sap calculated fields), have no table behind and you will not see where they come from.

      If there is no way of seeing where it came from, how am i suppose to get its value?

      thanks!

      Edited by: Rui Pereira on Dec 23, 2008 2:57 PM

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.