cancel
Showing results for 
Search instead for 
Did you mean: 

Collapse matrix.

Former Member
0 Kudos

Hi all,

i want to collapse lines in matrix. In the form 65 in SAP, i see it was possible but i don't find the way to do that.

(I search in this forum and in the SDK's help)

With grid, it was possible but i can link column to an object type. and in matrix i can link column to object type but i can't collapse lines.

Are there someone who have doing the same thing (collapse lines), can you give some codes to do that ?

Thanks for your response.

Best regards.

Michael

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi michael,

i am sorry i made mistake

you try something like this

dim oLink as SAPbouiCOM.EditTextColumn

oLink=oGrid.Columns.Item(0)

oLink.LinkedObjectType = "17"

Hope it helps you

Regards

Vishnu

Former Member
0 Kudos

Hi Vishnu,

It works fine. Thanks for your help.

Best regards

Michael

Former Member
0 Kudos

Hi Machael,

Both your requirements can be fullfilled by using grid.

You can assign a column to object type as well you can have collapse level

There is one sample on grid collapse level in SDK samples

i am giving you the code how to link a grid column to a object type

Dim objGridColumn as Sapbobuicom.gridcolumn

objGridColumn =objGrid.Columns.Item(0)

'Here you set the properties for that column

objGridColumn.Width=100

objGridColumn .LinkObjecttype=

Hope it helps you

Regards

Vishnu

Nussi
Active Contributor
0 Kudos

Hi Vishnu,

in the the sdk documentation there is no

linkobjecttyp for the gridcolumn object

did you try it ?

Former Member
0 Kudos

Hi Vishnu,

I don't have the LinkedObjectType for GridColumns.

This property is only available for matrix.

So can i create some collapse row in matrix like the form "65 - Purchase Order Confirmation" which have a collapse matrix ??

Thanks.

Michael

Nussi
Active Contributor
0 Kudos

thx Vishnu,

great to know !

Edited by: David Nussböck on Jan 18, 2008 1:06 PM

Nussi
Active Contributor
0 Kudos

hi michael,

i know you cant make a link in a grid cell.

but collapse only works in grids.

so i think there's no solution - but someone can correct me when iam wrong