How to open the "Accounts Balance Form" when you click a link button in a grid column?

Nov 09, 2016 at 01:28 PM


avatar image

Hi, everybody

Please see the attached picture which explains what I want to do.


My code is as foll:

Dim oCol As SAPbouiCOM.EditTextColumn

oCol = oGrid.Columns.Item("ClickPC")

oCol.LinkedObjectType = "2" '// Business Partner Object.

My idea is that clicking on any link arrow will be an event that will disable SAP action (BeforeAction, Bubble = False, ...), but will open the Master Data and simulate a click on item 33.

But I don't know the Item UID of the Link Button in my grid.

Any ideas or code to achieve what I want to do are most welcome!


Leon Lai

capture.jpg (348.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

DIEGO LOTHER Nov 09, 2016 at 03:03 PM

Hi Leon,

I believe that this is not possible. There is no ObjectType to set for the linked button, neither a BoFormObjectEnum for "Account balance form" for you use with OpenForm method. How you said, I believe that the unique approach is open the Business Partner master data form and simulate a click on item uid = 33.

Good Luck

Kind Regards,

Diego Lother

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Diego,

Thanks for your reply.

I understand that it may not be possible to open the Account Balance Form in ONE single step.

But it is possible to do it in TWO steps: Open the Master Data form, and then simulate a click on UID = 33

I can put the 2 steps in an event handler, that would be fired by clicking the selected Link Button (in a selected row)

How do you write the code for such Event Handler?

I think it should be an item click event, (click which item?) and should disable SAP action (bubble = false) and execute my 2 steps instead.

Could you give some specimen code?



Skip to Content