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

Creating a link in matrix cell

Hi,

When I create a goods receipt, I create some records in a UDT as well. I would like to be able to use a link arrow in a UDF at row level to show the linked records in my UDT, related to each row of the Goods Receipt.

If I'm browsing back through old Goods Receipts, and I click on the matrix cell of a particular row, I'd like to bring up a form showing these records.

Is it possible to do this using the link arrow?

Thanks for any help,

Robin

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 03, 2005 at 06:57 AM

    Hi Robin,

    As you probably know there are several objects that can be linked to the arrow. Unfortunately is not possible to link it to a UDT automatically. Thus, you will have to program all the code behind to obtain the standard behavior.

    Just in case you are not familiar with the declaration of this object, I add the following lines:

    oColumn = oColumns.Add("DSCardCod", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)

    oColumn.TitleObject.Caption = "Card Code"

    oColumn.Width = 40

    oColumn.Editable = True

    '// Link the column to the BP master data system form

    oLink = oColumn.ExtendedObject

    oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner

    Best regards,

    Felipe

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Robin,

      The error rises becouse there are existing rows in the matrix. So you can´t add columns to it.

      When you open a system form, by default the matrix will have a row with blank values in it. That´s why is giving you the error. Try to clear the matrix first.

      Regards,

      Ibai Peñ

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.