我能够成功调用报告,但我没有得到报告的输出。reoprt 必须生成 PDF。报告无法生成 pdf 。代码是
DECLARE
rept REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(200);
BEGIN
rept := find_report_object('EMP.RDF');
SET_REPORT_OBJECT_PROPERTY(rept ,REPORT_SERVER , 'repsrv');
SET_REPORT_OBJECT_PROPERTY(rept,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(rept,REPORT_DESFORMAT,' HTML');
v_rep := RUN_REPORT_OBJECT(rept);
rep_status:=REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status='FINISHED' THEN
message('REPORT WAS CORRECTLY RUN');
ELSE
message('REPORT FAILED WITH STATUS: '||rep_status);
END IF;
END;
请帮助我