hello friends ,
thnanks for ur reply...
iam doing a small prog to assign a tcode for abap query as looking to the answer in sdn by callling function moduel
rsaq_report_name. i got answer that create small program and call this function and submit it ..i did it but what ever the query name iam passing either it shows dumop by saying "report not found" or there is no output ..the following is the code of mine..pls is something wriong it correct it or pls give me a example to do it.. i wnat to assign tcode to this progam and run the abap query .............
DATA: FUN(45) TYPE C.
DATA:QUERYREPORT LIKE AQADEF-PGNAME.
get name of queryreport
CALL FUNCTION 'RSAQ_REPORT_NAME'
WORKSPACE = 'G'
USERGROUP = 'ZSKNFGRP1234'
QUERY = 'QUE_SHAMEEK_01'
REPORTNAME = QUERYREPORT
OTHERS = 0.
USING SELECTION-SET 'ZNPIL_SUBMIT'
USING SELECTION-SETS OF PROGRAM 'REPORT00'