cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro ALV : get_model_extended - example

Former Member
0 Kudos

Hi,

I'm trying to used this method to limit my columns display, if any one can help to give me the example to use this method.

Need to pass S_PARAM, i'm not sure what value to be passed.

There is note for this, but there is no usage example.

[https://cw.sdn.sap.com/cw/docs/DOC-16797]

Thanks for your help.

Edited by: badz lee on Sep 15, 2010 11:13 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi badz lee

Look at the sample code

data : ls_alv_get_model TYPE if_salv_wd_table=>s_type_param_get_model,
ls_alv_get_model-default_columns = abap_false.

*      set for standard view first
    lr_alv_model = lr_salv_wd_ifc->get_model_extended(
     ls_alv_get_model
    ).

Regards

chinnaiya.P

Former Member
0 Kudos

Hi chinnaiya.P,

Thanks for the answer, need further clarification on how to set our own column without using the default columns (abap_true)

Thank you.

as answer to above question, what i had done is :

1) assigned original context node A (lot of columns) to another context node B that was defined with required columns only.

2) Move the the data at component controller level at context node A method.

Answers (0)