on 05-26-2010 7:42 AM
hi:
As you know, we could get the leading selected POWL result data through parameter c_selected and c_selected in this method.
but moreever, I want to get the selection criterai values in this method too just like the paramter i_selcrit_values in the method IF_POWL_FEEDER~GET_OBJECTS, how to do it?
I have tried to define a attribute in my POWL class and save i_selcrit_values into this attribute in the method IF_POWL_FEEDERGET_OBJECTS, but in method IF_POWL_FEEDERHANDLE_ACTION, this attribute is still empty, so this workaround failed.
thanks.
hi guys:
I have founded how to do it:
METHOD get_selcrit.
DATA ls_query TYPE powl_query_sty.
DATA lt_selcrit TYPE rsparams_tt.
FIELD-SYMBOLS <ls_selcrit> LIKE LINE OF lt_selcrit.
CALL METHOD cl_powl_runtime_services=>get_current_query
RECEIVING
rs_query = ls_query.
CALL METHOD cl_powl_query_accessor=>get_cached_selcrit
EXPORTING
i_query = ls_query-query
IMPORTING
e_crit_para = lt_selcrit.
READ TABLE lt_selcrit WITH KEY selname = iv_selname
ASSIGNING <ls_selcrit>.
IF <ls_selcrit> IS ASSIGNED.
ev_selcrit = <ls_selcrit>-low.
ENDIF.
ENDMETHOD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.