Skip to Content
0
Former Member
Feb 15, 2006 at 03:59 AM

Problem in Abap query

267 Views

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'

EXPORTING

WORKSPACE = 'G'

USERGROUP = 'ZSKNFGRP1234'

QUERY = 'QUE_SHAMEEK_01'

IMPORTING

REPORTNAME = QUERYREPORT

EXCEPTIONS

OTHERS = 0.

SUBMIT (QUERYREPORT)

VIA SELECTION-SCREEN

USING SELECTION-SET 'ZNPIL_SUBMIT'

  • USING SELECTION-SETS OF PROGRAM 'REPORT00'

AND RETURN.