on 03-12-2010 9:51 PM
Hi,
I have created a POWL CLASS using POWL interface IF_POWL_FEEDER.
I used a structure it has columns more than what I required..but I want to hide thes extra 2 coolumns ..
I tried doing it in FIELD CATALOG but this is not at all reflecting.
here is what i did
LOOP AT lt_dfies ASSIGNING <ls_dfies>.
IF <ls_dfies> IS NOT INITIAL.
CLEAR ls_fieldcat.
ls_fieldcat-colid = <ls_dfies>-fieldname.
ls_fieldcat-text_ref = <ls_dfies>-fieldname.
ls_fieldcat-allow_sort = 'X'.
ls_fieldcat-allow_filter = 'X'.
ls_fieldcat-enabled = 'X'.
ls_fieldcat-display_type = 'TV'.
CASE <ls_dfies>-fieldname.
WHEN 'ZTESTNR'.
ls_fieldcat-col_visible = abap_false
when i keep a break point on this IF_POWL_FEEDER~GET_FIELD_CATALOG method. i was expecting it would stop before executing query but it is not doing..I am testing my app using POWL_COCKPIT
Rgds
Vara
Edited by: Vara K on Mar 12, 2010 11:06 PM
Hello
As values are stored in stored in cache for first time, they are not changing, RUN POWL_D01 report and test.
It should work.
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.
Hi,
In this method there is an exporting parameter named as E_FIELDCAT_CHANGED and E_VISIBLE_COLS_COUNT,
Check that you have set E_FIELDCAT_CHANGED to true when you enter this method.
also for param E_VISIBLE_COLS_COUNT you have to set it to number of visible columns at that time.
Check if you are setting these 2 parameters.
Also check that the changed field catalog is passed correctly to exporting param c_fieldcat.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.