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

LinkedObjectType on Grid

just want to ask if it is possible to change the value of the textboxcolumn.

for example, in my CardName column. The display value is "Test BP" but when they click the link button it open the "C0001" which is the CardCode. is that possible in Grid?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 10, 2013 at 07:07 AM

    Hi Gimo,

    It is possible to have the link button display on the Grid. To link the link button the standard way you must link it to the key of the object you are linking to (in this case BusinessPartners).

    You can also place a LinkButton on a column with the CardName, but this won't automatically open the correct BusinessPartner. You could capture the Click Event and then get the correct BP key (CardCode) from it's name and open the BP form using the application.OpenForm() function.

    Good luck.

    Best regards,

    Pedro Magueija

    View Pedro Magueija's profile on LinkedIn

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Gimo,

      SAP_APP.SBO_Application.OpenForm(SAPbouiCOM.BoFormObjectEnum.fo_BusinessPartner, "", oCardCode(dgHdr.DataTable.GetValue("DEALER", pVal.Row)))

      Return False '<--- add this line. Your error is because of the system event trying to open another BP form also. Since you have handle it your own, tell the system to not process anymore.


      Set the

      BubbleEvent = false 'if you are not using B1DE


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.