How can call report 9i from form9i
i need to ask about report9i
i try to call report from form9i by button
from there but not success
i write the code blow
RUN_REPORT_OBJECT('c:\test.rdf','p1_id');
best regard
Hi ,
I am pasting an example of how to call the RUN_REPORT_OBJECT and what all need to be set for it to function properly. You can use the code, but remember to edit some of the details that you are supposed to fill before trying to run.
DECLARE
Report_Id REPORT_OBJECT;
Report_Job_Id VARCHAR2(20);
Report_Status VARCHAR2(80);
Report_Svr VARCHAR2(20);
BEGIN
Report_Id := FIND_REPORT_OBJECT('<your_report_object>');
Report_Svr := '<your_report_server>';
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '<your_report_file>');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_SERVER, Report_Svr);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'blankpages=no paramform=no ...');
Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
END LOOP;
IF Report_Status = 'FINISHED' then
WEB.SHOW_DOCUMENT('http://<machine>:<port>/reports/rwservlet/getjobid' || substr(Report_Job_Id, length(Report_Svr) + 2, length(Report_Job_Id)) || '?server=' || Report_Svr);
END IF;
Hope this helps.
Thanks,
Vinod.
Similar Messages
-
How to call report program from WebDynpro Application
HI
How call report program in WDA.
1. To extract the xml files and store the data in to data base table, program name is "zprogram_application".
When run the se38 it's working fine and save the data in database.
2. When i click "SUBMIT" button the web dynpro application automatically run the Report program "zprogram_application" and save the data into data base table. This is my requirement please give me suggestions.
3. I want run the report program in web dynpro application.
Thank you
V.VENKATESHFrom within the WDA Event handler you can call the program using SUBMIT ... AND RETURN. You might have to be careful with what the program does. It must run as though it is in the background. There is no connection to the client machine - so no SAPGUI calls. You might also consider the addition VIA JOB job NUMBER n... to the SUBMIT command. That will allow you to start the submitted program as a background job. Your WDA can then continue processing as the submitted job runs in parallel.
-
How can call a report6i from Forms6i with Parametrs at runtime
Hi,
I am using the following code on when button press in forms 6i to call a report with passing parameter from form 6i to report 6i.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
BEGIN
repid := find_report_object('status_test');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no letno='||:status_no);
v_rep := RUN_REPORT_OBJECT(repid);
END;
When I press the button there is no response.
please send me the solution of this problem.
Best regards,
ShahzadWith just this little piece if code it should mean that all other report properties (filename, server, destype, desname etc.) are defined with the report object. If not, add that to your code:
set_report_object_property(repid,report_filename,'myreport');
etc. -
IM failed to invoke Report 9i from form9i, how can i invoke it
I m calling report 9i from form 9i but im alway failed to run report in form9i by using RUN_PRODUCT() builtin and RUN_REPORT_OBJCT() builtin how can i run a report ?
what's parameter r u passing?
Run_product(REPORTS,report name,SYNCHRONOUS,RUNTIME,FILESYSTEM,
parameter,NULL);
run_report_object(report name or report id);
cheers
ravi -
How to call a package from the Report in Oracle Application Express
How to call a package from the Report in Oracle Application Express
Hello,
What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
Or do you want to execute a procedure when something happens on the page, like clicking a button?
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-) -
How to call a Workflow from a Report in SE38?
How to call a Workflow from a Report in SE38?
Please can Anyone Send me a Source code (with Explanation)which I can use for calling Workflow >> WS99900253?
Regards,
Shashank.you can use FM
SAP_WAPI_CREATE_EVENT
SWE_EVENT_CREATE
OR
SAP_WAPI_START_WORKFLOW
Regarding usge of this FMS search the forums you will get ample examples.
Thanks
Arghadip -
How can I generate email from report 6i.
Dear Sir,
When I click on e-mail button on report 6i (Win2k User) Generate following error:-
Rep-4203 error occurred while a mail message.
Rep-4220 There is a problem with the email subsystem.
When I generate report from administrator then email generated no error occurred.
Please help me how can I generate email from report 6i without administrator rights.
Thanks and Regards
BrijYou can try this at form that calling your report;
add_parameter(p_id,'DESFORMAT','HTML');
hope this helps...
defne
ps: raporu cagiridigin form program units'ine, bu add_parameter'i eklersen, HTML olarak raporunu emailleyebilirsin... -
How to call a form from report? in 6i
How to call a Form from Report? In Developer 6i of oracle. Plz tell me tex.
try this
declare
AppID PLS_INTEGER;
begin
AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
exception when others then
srw.message(1,'Errror');
end;Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
How can I pass parameter from report to form?
Hi :)
Now I try to build conference room like this by using form
and report. And i design that when users click at group report
then i'll show page that contain questions report and add
question form. And question form and report must receive the
same parameter from group report.
First Problem: is I don't know how group report send the
same parameter to question report and add question report at the
same time. And is it possible??? If not please suggest me what
should I do???
Second Problem: is I don't know how can I pass parameter from
report to form. I don't know the way to do it.
Please tell me!!! Please...
I look forward to hearing from all of you.
Thank You.One way is to create a link based on that form and attach that
link with the report. Through links you can pass parameters -
Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?
This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
GB -
new iphone 6 with ios 8.0 crushed and didnt open again. call center told me that use itunes to update 8.0.2 but server is too slow and didnt let me download it. it stopts in the middle of the session. how can i download it from another link or server. by the way i try to dowload from turkey.
anyone help me there? )=
-
How can i cancel order from HONG KONG apple Online Store? i tried to call the customer service hotline in 1/11/2013 (3pm to 6pm) and no any apple specialists reply and answer me? How can i do now ? Pay for useless?
You may also be able to access https://store.apple.com/ in Safari, log into your account, and review recent purchases (and cancel any that haven't shipped yet).
-
how can I share contact from the recent call screen? Used to be able to touch right side of number and have that option. It is no longer there.
Touch the cirle i and then scroll down to share contacts. I just tested this out myself.
-
How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)
Hello
We use SRM Server 5.5 with classic scenario.
We want to call RFC in R/3 from webdynpro ABAP.
How can we do that?
We are developing the web report using webdynpro abap.
So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro. So we call the R/3 RFC to display the PR, PO data.
But I tired to call the RFC in R/3, We could not call it.
How to call the RFC from R/3 to SRM, when we use webdynpro abap?
Thank you,
Best Regards,
SH.Hi
<b>Please look at the following threads as well -></b>
WebDynpro in SRM
BAPI's /RFC's in SRM
BAPI to Change Shopping Cart by RFC
SRM60 and webdynpro
Webdynpro Services Exception
WebDynpro using BAPI has an error
SRM60 and webdynpro...
<b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
<u>For getting Purchase requistion data, use the function modules -></u>
META_REQUISITION_CHANGE Change purchase requisition
META_REQUISITION_CREATE Create Requisition
META_REQUISITION_DELETE Delete/close purchase requisition
META_REQUISITION_GETDETAIL Display requisition details
META_REQUISITION_GETITEMS Display requisition items
META_REQUISITION_GETRELINFO Get Releasease Info for requisitions
<u>For getting Purchase order data, use the function modules -></u>
META_PO_CREATE Create purchase order
META_PO_DELETE Delete reservation
META_PO_GETDETAIL Display purchase order details
META_PO_GETITEMS Display purchase order items
META_PO_GETRELINFO Display purchase order release information
Hope this will definitely help. Do let me know.
Regards
- Atul -
How to call Report 6i/9i Oracle Standard Report into Discoverer 10g
How to call Report 6i Standared report into Duscoverer 10g as there is a requirement to create or transfer Oracle Standard report into Discoverer.
1) Account Analysis Subledger Details(180 Char) - Standard Report 6i as i want the same report in Discoverer 10g.
2) Aging Report -- 7 bucket --Standard report in 6i,how to transfer in Discoverer 10g.
Is is possible to Transfer from Report 6i to Discoverer or How to Create this report in Discoverer 10g.
Please advice,
SushantWell, if I had to do it, here's how I'd start.
1. Get the SQL from the Oracle Report and then create a database view that's more generic based on the SQL but still gets the answers.
For example, you'd not code many conditions, etc. but the database view would be pointing to the correct Oracle Apps tables / views.
Once you've got the view, bring it in to Disco Admin, etc. and create a report from it that now adds the extra conditions needed. That way you can use the underlying concept without hard coding things like dates, etc. which you would ask the user at run time.
However ... as you may well know ... Oracle Reports can do some 'strange and/or powerful things' on the fly and, for example, it may be something like a temporary table generated for the report, etc. so may become a much bigger issue.
2. If you have NoetixViews views then they'll most likely already have the views for these queries already created as they're reasonable for what's needed in an Oracle environment.
3. I'd see if there is already a pre-defined BIS view that covers this as well. Again, you're in an area that's pretty popular so if a BIS view already covers much of the same info then you've got a create view 'head start' already. Check views owned by Apps starting with the application plus FV or FG (the one you'd really want) such as: GLFG_Budgets_To_Actuals to see what I mean.
Russ
Maybe you are looking for
-
Problems reinstalling CS3 Web Premium
I have been having problems with Dreamweaver CS3, it has been freezing on me when I go to save something. Anyway I thought if I reinstall Dreamweaver, the problem would go away. When I go to reinstall Dreamweaver, it says to insert the Adobe Creative
-
Use of Update Price button in PO
Hi Gurus, In PO item detal , bottom portion there is a button "Update" by which we can update price. In which case , we can update price can you please explain. I had a doubt here... The Po was created with old contract validity period now at present
-
I added this question to and old post on a similar subject, but suspect that is one of the reasons I have no feedback. So asking question in its own posting. I was trying to use owa_sylk as defined on the ask tom site. I created a button, named "TEST
-
A mutilple sources to multiple targets integration interface
I need to populate multiple target tables based on multiple source tables. Is there a way to do it using ODI? Many thanks, Irina
-
Can anyone tell me how to merge my iPhoto Library into my Photos System Library or how to import photos from iPhoto to Photos?