Skip to Content

Matrix in system form

Hi,

I need some help.

I want to get the value of a specific column in a matrix for a specfic row.

I want the BaseKey column value in the A/R Invoice form.

is it possible ?

Any exemple ?

Thank you for your help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Mar 25, 2006 at 06:02 AM

    Hi Joderick

    You can get the values, you'l need to use item event, this example is just something i scartched up quickly. It will look at the item column, compare that value with what ever value and display true if they are equal. It will be done once you choose an itemcode and tab out the column. You must then just change it to look by your column, use debug info in sbo to get columnid.

    If pVal.FormType = 133 Then

    If pVal.ColUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE Then

    If pVal.BeforeAction = True Then

    oMatrix = SBO_Application.Forms.Item(FormUID).Items.Item("38").Specific

    oEdit = oMatrix.Columns.Item("1").Cells.Item(pVal.Row).Specific

    Dim str As String = oEdit.Value

    if str="Itemcode" them msgbox("true")

    end if

    end if

    end if

    Hope this helps 😊

    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.