cancel
Showing results for 
Search instead for 
Did you mean: 

SALV IN WEB DYNPRO...

Former Member
0 Kudos

Dear all,

I have implemented alv grid in web dynrpo but some points occured to me

- Group column : Is it possible to have - like in simple table - Group column and therefor a specific header for the columns

- Disable sort : Is it possible to disable sort for column

- Hide standard button in editable alv ?

- Call Standard function from custom functions ?

Thanks for the reply!

Stephan

Accepted Solutions (0)

Answers (1)

Answers (1)

arjun_thakur
Active Contributor
0 Kudos

Hi,

Refer the code given by me in this thread for column grouping:

To disable sorting, refer

To remove standard button:

Regards

Arjun

Former Member
0 Kudos

Ok, for the grouping but how to set a title for the grouping ?

How to add fields withing the groups ?

arjun_thakur
Active Contributor
0 Kudos

Stephan,

If you check the code, you need the pass the column name that you want to be grouped. After using the code if in that column, same value is repeated, then it will be grouped to one.

Regards

Arjun

Former Member
0 Kudos

Ho yeah I see...

But it's not what I meant!

I meant that to column are shown together but grouped under a same topic...

Just like in simple table from WD.

gROUP COLUMN where inside there is 2 column and a upper title/header

Here is a screenshot of what i wanted!

http://stekam.dommel.be/SAP/ALV_GROUP_COLUMN.jpg

Former Member
0 Kudos

Disabling sort is ok but what for disabling for a specific column ?

Former Member
0 Kudos

Hi,

Please try this as I didnt try it out.

CL_SALV_WD_COLUMN->GET_CELL_DESIGN returns CL_WD_TABLE_COLUMN=>T_CELL_DESIGN.

using the CL_WD_TABLE_COLUMN you can use the method GET_COL_SELECTION_STATE where

it returns the state WDUI_TABLE_COL_SEL_STATE

(00 notSelectable

02 notSelected

01 selected)

Try to use the set methods and set the state like this.

Regards,

Lekha.