on 07-13-2015 3:37 PM
Dear all,
I have three query ID's ( SAPSRM_AL_CONTRACT_02_01, SAPSRM_AL_CONTRACT_02_02, SAPSRM_AL_CONTRACT_02_03 ) under POWL type ID (SAPSRM_FEEDER_E_CTR). I have implemented some logic in the feeder class but this logic should work only for query ID SAPSRM_AL_CONTRACT_02_03. The problem is I am not able to get the selected query name in the runtime. System shows only POWL type and application ID. Please help to achieve this.
Regards,
Muthukannan.M
Dear all,
Found the solution while debugging through cl_powl_model. In future if anyone stuck up this please use the below code to get the current query name.
data : ls_current_query TYPE powl_query_sty.
*---Get the selected query name
CALL METHOD cl_powl_runtime_services=>get_current_query
RECEIVING
rs_query = ls_current_query." query definition
Regards,
Muthukannan.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.