on 09-15-2010 10:12 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.