on 02-09-2011 6:54 PM
Dear Experts.
I have the following doubt with the service My Trips and Expenses, this application use POWL for display the column ie. trip number, Begin Time, End Time, and for this use the clase CL_FITV_POWL_FEEDER_TRIPS.
In this moment the requirement is hide and show several fields of this POWL.
I tested doing an enhancement to the method GET_FIELD_CATALOG of the class CL_FITV_POWL_FEEDER_TRIPS.
Please can anyone help me, for hide/show this columns.
Regards
dear,
the method GET_FIELD_CATALOG of the class CL_FITV_POWL_FEEDER_TRIPS is the right way.
but after changes in this method please run the report POWL_D01.
it will update the UI.
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 that class, under HANDLE_ACTION method, i have enabled or disabled the buttons, as below.
But you can use POWL_QUERY transaction, if you want to hide it permanently.
data: lr_action_def type ref to powl_actdescr_sty,
l_result_tab type ptrm_powl_web_trips_ext.
if c_selected is not initial and i_actionid = 'POWL_LEAD_SEL'.
if one line is selected, we need to check the authorization and disable some actions accordingly
read table c_result_tab index i_action_index into l_result_tab.
loop at c_action_defs reference into lr_action_def.
lr_action_def->enabled = 'X'.
case i_type.
when 'FITV_POWL_TRIPS_EXP' or 'FITV_POWL_TRIPS_EXP_ASSISTANT'.
"SOME SELECT STATEMENTS
if sy-subrc eq 0.
IF CONDITIONS.
else.
if ( lr_action_def->actionid = 'CHANGE_EXP' or lr_action_def->actionid = 'DELETE' ).
clear lr_action_def->enabled.
endif.
endif.
endif.
endcase.
e_actions_changed = 'X'.
endloop.
endif.
Regards,
Ani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.