on 07-16-2012 6:47 AM
Hello guys,
I am working on POWL. While displaying the POWL ALV I am getting some unwanted columns, in the settings (Hidden columns and displayed columns list ). I tried having the fields which I want by coding in the feeder class method GET_FIELD_CATALOG.I populated only the fields I want in the c_fieldcat changing parameter. Though c_fieldcat is correctly getting populated , in the end all the fields ( even the unwanted ones ) are there in the settings of the ALV (either in hidden columns list or displayed columns list). Any idea how to get rid of the unwanted columns?
Thanks & Regards,
Ravindra.
Hello Ravindra,
Define a variable ls_fieldcat of TYPE powl_fieldcat_sty.
(1) If the coloumn should be visible in POWL then set ls_fieldcat-col_visible = 'X'.
(2) if you want to hide the coloumn from POWL but visible in settings, so that if the end user want he can view the coloumn details later on then set ls_fieldcat-col_visible = space.
(3) If the coulumn should not be visible at all then set ls_fieldcat-technical_col = abap_true.
Thanks & Regards,
Chandani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ravindra,
ls_fieldcat-technical_col can be used for this purpose. The aim of this field is to use for some logic in feeder and donot use as UI column.
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.