Skip to Content
0
Former Member
Jan 11, 2012 at 09:46 AM

Adding BoLinkedObject.lf_Drafts in a GridColumn

62 Views

Dear all,

I have a Grid, populated using SELECT statement on ODRF table.

I need to add a link arrow in the DocEntry column of the grid

I can add and see the link using this commands:

oDraftGrid.Columns.Item(DocEntry_UniqueID).Type = SAPbouiCOM.BoGridColumnType.gct_EditText

...

Dim etc As SAPbouiCOM.EditTextColumn = oDraftGrid.Columns.Item(DocEntry_UniqueID)

etc.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_Drafts

....

but when a click on the arrow, nothing happens.

If I do the same thing with the cardcode column:

Dim etcBP As SAPbouiCOM.EditTextColumn = oDraftGrid.Columns.Item(CardCode_UniqueID)

etcBP.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner

when I click on the arrow close to the cardcode value, the BP form is open.

What should I do to open the form of the draft document?

Can someone help me, please?

I need some VB.Net commands.

Best regards

Emanuele

Edited by: Emanuele Croci on Jan 11, 2012 11:41 AM