cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply ALV view at runtime

felix_yan
Employee
Employee
0 Kudos

Hi,

Now I have the view list for current alv table, but I don't know how to apply them at runtime.

I know this class CL_SALV_WD_CONFIG_TABLE, unfortunately no similar method can be found to implement this.

Any reply is highly welcome.

Thanks and regards,

Felix

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Felix,

If there is a saved view in ur ALV. It can be set during runtime by using the method GET_CONFIG_DATA in the ALV interface IWCI_SALV_WD_TABLE.

SAP Help document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/93/47854a8366474f8bedabdcc43b2387/frameset.htm

Ranganathan

Answers (2)

Answers (2)

felix_yan
Employee
Employee
0 Kudos

Hello,

Anybody there?

I want to apply personalized view. I thought it would be easy by calling some method of class CL_SALV_WD_CONFIG_TABLE which is usually used to for example set width, columns.

Any reply is deeply appreciated.

Thanks,

Felix

felix_yan
Employee
Employee
0 Kudos

Anybody help?

Is it difficult to implement?

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Felix,

Can you elaborate what is your actual reqirement.

Regards,

Priya

felix_yan
Employee
Employee
0 Kudos

Hi,

There's a dropdown list for table view which saves personlized view. And we can change view by choose any of them. And now I want to do this in the program. I have the all information but I don't know how to code this.

It's too bad that it's not allowed to upload screen shot, or it'll be much easier to understand.

Thanks and regards,

Felix

Former Member
0 Kudos

Hi Felex,

This requirement is not reasonable. You can set the configuration for a standard view and if the user want to set their own view as the default view, they can set their own view as default.

Best regards,

Blake Le