While using "IF_RAP_QUERY_PROVIDER" , how can I populate the sap-message header .
As if now I am raising the exceptions like this
RAISE EXCEPTION TYPE zcx_text_message<br> EXPORTING<br> textid = VALUE scx_t100key( msgid = 'Z_MSG_CLASS'<br> msgno = '02'<br> attr1 = 'TEXT2' ) .
.Is there a way in RAP in "IF_RAP_QUERY_PROVIDER~MAIN " where i can populate sap-message header