RE: REPORTS 9i

RE: REPORTS 9i

 

  

Hi, there

I used the same Report parameter but is not working because user parameters is generate inside to the file, and because this generate error when i open the .PDF, and is not prompt to user on screen.

Thanks,

Leandro Soares


-----Mensagem original-----
De: seetha [mailto:oracledba-ezmlmshield-x13834891.[Email address protected]
Enviada: ter 8/31/2004 06H31m
Para: LazyDBA Discussion
Cc:
Assunto: Re: REPORTS 9i



Hi,

I used the following parameters and is working fine.

DESTINATION TYPE: FILE

DESTINATION NAME: FILENAME

DESTINATION FORMAT: PDF

OUTPUT MODE: BITMAP

Thanks,

Seetha A. J.




"LeandroSoares " <oracledba-ezmlmshield-x46286914.[Email address protected]

08/30/2004 05:29 PM


To
"LazyDBA Discussion" <[Email address protected]
cc

Subject
REPORTS 9i






Hi, there

I have some problem in Reports 9i. I'm trying to save a report in disk
(.PDF) with paramform=yes. The problem is that the browser of parameters
is generate inside to the file that i have defined in REPORT_DESNAME.


The code is this:

rep_id := find_report_object('REP_MENU_MAIN'); -- where we define
report
SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_EXECUTION_MODE,RUNTIME);

SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_FILENAME,'/aplicacao/sources/reports/'||v_report||'.RDF');


SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESNAME,'/home/suporte/Teste.pdf');

SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_SERVER,'REP_CCREDITO-17');
SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESTYPE,FILE);
SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESFORMAT,'PDF');

--Creating string for pfaction parameter
hidden_action :=
hidden_action||'&report='||GET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_FILENAME);
hidden_action :=
hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESTYPE);
hidden_action :=
hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY
(rep_id,REPORT_DESFORMAT);
hidden_action := hidden_action||'&desname='||GET_REPORT_OBJECT_PROPERTY
(rep_id,REPORT_DESNAME);
hidden_action :=
hidden_action||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);

hidden_action := hidden_action||'&'||v_otherparam;
hidden_action :=
'/reports/rwservlet?_hidden_server=rep_ccredito-17'||hidden_action;


SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_OTHER,'pfaction='||hidden_action||'
'||v_otherparam);

rep_job:=run_report_object(rep_id, pl_id);
rep_status := REPORT_OBJECT_STATUS(rep_job);



Any solution for this problem?

Thanks.


--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:
http://www.lazydba.com/legal.html


ForwardSourceID:NT00002B6E
DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery
of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services Limited. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the
addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services Limited
on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services Limited takes any responsibility or liability towards the same. Opinions, conclusions and any other
information contained in this message that do not relate to the official business of Tata Consultancy Services Limited shall be understood as neither given nor endorsed by Tata Consultancy Services Limited or any affiliate of Tata Consultancy Services Limited. If you have received this message in error,
you should destroy this message and may please notify the sender by e-mail. Thank you.



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html




Oracle LazyDBA home page