Calling Forms from Reports
Hi...
We can call Reports from Forms using RUN_REPORT_OBJECT or RUN_PRODUCT. Can we call Forms or any other product from Reports? If so, how can we do it? If anyone can help me in this...
Hi Gayathri
As such there is no product integration for calling Forms from Report. You can call 6i graphics from Reports 9i if you are running a 6i rdf file with OGD object in it and if you have a 6i home set in the same machine where Report s9i is running. For Form, if you wish to run it as an independent request, in Reports 9i, you can always import a java class in Reports and then call that class method in any of the triggers which in turn send out a Forms request to Forms servlet.
Thanks
Rohit
Similar Messages
-
Calling form from report urgent please
hi every body
i am using form and report 6i
i create a report and in report i create buttons front of all records
i want to call a from from that button related to that record show in report
can i do this if yes how can i do this
thanks in advance khuda hafizany body tell me about my problum
thanks -
Hi all,
Please help me out, I need to call Form6i form Report6i.
Thanks in advanceHi all,
the below mentioned documents will help u.
Under Developer 2000 (Release 1.2) on Windows, there exists a pl/sql library
which can be used to invoke excutables residing on the PC. The library
(D2KWEXEC.PLL, located in the FORMS45/DEMO/REUSE directory) is attached to
the Report in the following manner:
1) Modify the D2KWEXEC.PLL to change any references to the Forms built-in
MESSAGE to the Reports built-in SRW.MESSAGE.
2) Choose the 'Attached Libraries' section for your report and select the
'Navigator/Create' menu option - this will cause the 'Attached Library'
dialog to be displayed.
3) Use the 'Find' button to locate the library file (D2KWEXEC.PLL) and then
attached it to the report using the 'Attach' button. A warning is
displayed you that a hard coded path name is being used and gives the
option of removing it. If the full path is removed, then the
FORMS45_PATH variable will be used subsequently to locate the library.
The directory in which the library is located must be part of
FORMS45_PATH.
Then select the appropriate trigger from where Oracle Forms should be invoked
from. In that trigger reproduce the following code:
function return boolean is
command_string VARCHAR2 (100);
BEGIN
command_string := 'c:\orawin\bin\f45run.exe';
RETURN d2k_winexec.execute (command_string);
END;
Note: 'command_string' contains the full path of the Oracle Forms
Runtime executable.
When the trigger fires, the Forms Runtime Executable is invoked
automatically.
Regards
Gopinath M -
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/] -
HST50: Unix - How Headstart calls forms and reports uppercase/lowercase from a Menu
We are migrating a 'in production' Headstart generated application from Windows to Unix.
We had to a little time in setting the lowercase implementation names, setting the prefs to generate lowercase file.....
So good so far. When testing the application on Unix, all files are lowercase, the Forms start without a problem but the Reports won't start.... Renaming the report files to uppercase works fine.
Going through the Headstart code for calling Forms and Reports I noticed the following:
When calling Forms the qmslib50.qms$form.call procedure is invoked. In this procedure the follwoing statement is used:
l_form_name := lower(p_form_name) So only lowercase will be found....
For calling Reports from the Lauch Report Form the qms0012l.qms$report.run procedure is invoked.
This procedure calls fill_par_list where the l_module_name is set. But in this procedure no uppercase or lowercase is used......
Not consequent I think !!
Is this done for a specific reason ?
PS: Change qms0012l and it works fine.Hi,
cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
Frank -
Hi All:
Any one can tell me the basic steps for how to call Form from form through push button.
I am using forms& reports6iYou can use open_form/call_from but when one form invokes another form by executing open_form the first form remains displayed, and operators can navigate between the forms as desired. when one form invokes another form by executing call_form, the called form is modal with respect to the calling form. That is, any windows that belong to the calling form are disabled, and operators cannot navigate to them until they first exit the called form.
- -
Calling form from web application
i use the below url for calling form from web application.
http://host51.yan.com/forms/frmservlet?form=test&width=700
i would like to know about "frmservlet"
if it's a servlet file then
where its located in application server10gThe servlet is part of the forms-installation on the application-server, on the local OC4J this is located in $ORACLE_HOME/forms/j2ee/formsapp.ear
What exactly do you want to know about the servlet? -
How can i disable/hide the calling form from fnd_function.execute
Hi,
How can i disable/hide the calling form from fnd_function.execute.If so can any one give the syntax.
thanksHi Francesco,
Are you talking about that ??? )) It will explain you about to get the name of the web page when you are executing an abap function for determining the values of variables...
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20make%20a%20variable%20even%20more%20flexible%20in%20bw-bps.pdf">How to make a variable even more flexible in BW-BPS?</a>
This is weird: I wrote that document a few weeks ago, it is theorically published on SDN but this is not possible to find it by using the research tool... Maybe because it applies only to BPS in 3.5. I did not have enough time to migrate that solution to BI-IP 7.0.
Regards
Laurent -
HOW TO CALL A FORM FROM REPORTS?
How to call a FORM6i form from Oracle Reports6i? Is it at all possible?
Regards.
Satyaki De.Hi Jakub,
I don't mean to say that you cannot do what you said in your response above.
But what I want to say that Oracle does not support forms to be called from reports.
DDE package is meant for different purpose.
Dynamic Data Exchange (DDE) is a mechanism by which applications can communicate and exchange data in Windows. DDE client support is added as a procedural extension to Reports Builder. The PL/SQL package for DDE support provides application developers with an Application Programming Interface (API) for accessing DDE functionality from within PL/SQL procedures and triggers.
Thanks,
Raj
http://www.oraclebrains.com -
Unable to call a form from report
hello
i have a drill-down report, from where i wanna to call a transacation level form, so that user can modify the data from that transaction level form after seeing the result from report. After modification in data through form, report should be refreshed automatically.Hi,
if this is for Forms on the web, just call the Reports from web.show_document() when closing the Forms (assuming you close the Forms after the update).
If it is on client/server then you don't have a hook into Reports except you run a new Reports from Forms and close the Reports that called the Forms application (needs to be done within this Report)
Frank -
Calling a Form from Report hyperlink through parameters
How do I query a form on load after it gets called from a report hyperlink. I would like to whether it can be done passing parameters from oracle reports to oracle forms, if so how do I send the value clicked from report hyperlink into an oracle form. Requesting help on this. Thank you.,
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Reports Team ([email protected]):
SUGUNAN,
There is no built in mechanism to call Oracle Forms from Oracle Reports. Usually, customers want to call Reports from Forms which is a built-in feature of Forms using Run_report_object.
Regards,
The Oracle Reports Team<HR></BLOCKQUOTE>
Thanks for your reply. It would be very useful for customers like us, if Oracle can incorporate such a facility in the newer versions of Reports.
Regards,
Sugunan
null -
Calling graph from Reports created in graphics builder?
Can you call a graph from Reports 6.0 that was created in Graphics Builder. I know you can call a graph from Forms. I tried creating my graph right in Reports with the wizard but for some reason it does not give me the fields I want to use in the available fields column, so I created the graph in Graphics Builder. Do you use a trigger of some sort. Any examples would be appreciated if this is possible. Thanks
Justin Beno:
Yes, you can call a graph from inside a report. All you need to do is select the button with the graph on it (not the icon with the wand, which indicates chart wizard). Then draw graph in the area of the report where you want the graph to display. After completing this, right click on graph, select Property Palette, Chart - Chart Filename (this is where you will type in the directory and filename of your graph that you created in Oracle Graphics).
~Vannette -
Calling BSP from report and return control back ?
Hi All,
My requirement is as follows :-
1. I am calling a BSP from report using CL_GUI_HTML_VIEWER->show_url. The BSP page is displayed successfully.
2. Then, I perform some operations and want to return some data back to the main program (from where it was called - Report) and continue execution from there
How do I accomplish the second requirement (Control doesnt come back once I close the BSP) ?
Regards,
Ashishhow to generate events from html code in the html control back to your ABAP check out this demo program
SAPHTML_EVENTS_DEMO
say for example, in your case you are showing the BSP in GUI HTML control and on clicking a link you want to pass some data from your link to ABAP program and the ABAP should receive the value and process it and may be comeback to same BSP or go some to some other screen/transaction.
steps to follow:
after creating the html control
register event for call back and call the BSP url.
create object hviewer
exporting
parent = mycont.
myevent-eventid = hviewer->m_id_sapevent.
myevent-appl_event = 'x'.
append myevent to myevent_tab.
call method hviewer->set_registered_events
exporting
events = myevent_tab.
create object evt_receiver.
set handler evt_receiver->on_sapevent
for hviewer.
hviewer->enable_sapsso(
exporting
enabled = 'X'
exceptions
cntl_error = 1
others = 2
if sy-subrc <> 0.
endif.
call method hviewer->show_url
exporting
url = wf_url.
in your BSP the link should look like below
A HREF=SAPEVENT:TAGS?value to be passed to your ABAP> link text </a
when you click this link in bsp then you can then capture the value "TAGS" to know which link was clicked and the value passed after the ?
link is just one option, you can also send whole form data.
this type of link and form will only work when your BSP is invoked within HTML contro. if its invoked from standalone browser these wont work. so you amy want to dynamically show/hide "sapevent" links based on where it runs.
Hope this is clear. if not do getback.
Regards
Raja
Edited by: Durairaj Athavan Raja on Sep 9, 2008 1:04 PM -
Sapscript calling forms from program
Hi experts
I need to write a form in a program to get values.
Here is my code. But i cant seem to succesfully compile it. Need help. I want to take
ernam from sapscript and send name and lastname back. Can u please fill the function.
Also i have an error says itcyy is not a structure ?
thanks.
REPORT ZME23N_SAPSCR_FM.
tables : user_Addr.
form get_Values TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
*READ TABLE IN_PAR WITH KEY 'ERNAM'.
*data firstname like user_addr-name_first.
*select single * from user_Addr
*where bname = ernam.
*firstname = user_Addr-name_first.
*lastname = user_addr-name_last.
endform.You can use the PERFORM command to call an ABAP subroutine
(form) from
any program, subject to the normal ABAP runtime
authorization
checking. You can use such calls to subroutines for
carrying out
calculations, for obtaining data from the database that is
needed at
display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed
when a
document is formatted for display or printing.
Communication between a
subroutine that you call and the document is by way of
symbols whose
values are set in the subroutine.
The system does not execute the PERFORM command within
SAPscript
replace modules, such as TEXT_SYMBOL_REPLACE or
TEXT_INCLUDE_REPLACE.
The replace modules can only replace symbol values or
resolve include
texts, but not interpret SAPscript control commands.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of
the four
SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must
therefore be
character strings.
The ABAP subroutine called via the command line stated
above must be
defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING...
are now
stored in the internal table IN_TAB . Note that the system
passes the
values as character string to the subroutine, since the
field Feld
VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR
80). See the
example below on how to access the variables.
The internal table OUT_TAB contains names and values of the
CHANGING
parameters in the PERFORM statement. These parameters are
local text
symbols, that is, character fields. See the example below
on how to
return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in
the ABAP
program QCJPERFO is called. Then the simple barcode
contained there
('First page', 'Next page', 'Last page') is printed as
local variable
symbol.
Definition in the SAPscript form:
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
Coding of the calling ABAP program:
REPORT QCJPERFO.
FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA: PAGNUM LIKE SY-TABIX, "page number
NEXTPAGE LIKE SY-TABIX. "number of next page
READ TABLE IN_PAR WITH KEY 'PAGE'.
CHECK SY-SUBRC = 0.
PAGNUM = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'NEXTPAGE'.
CHECK SY-SUBRC = 0.
NEXTPAGE = IN_PAR-VALUE.
READ TABLE OUT_PAR WITH KEY 'BARCODE'.
CHECK SY-SUBRC = 0.
IF PAGNUM = 1.
OUT_PAR-VALUE = '|'. "First page
ELSE.
OUT_PAR-VALUE = '||'. "Next page
ENDIF.
IF NEXTPAGE = 0.
OUT_PAR-VALUE+2 = 'L'. "Flag: last page
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM. -
Hai
I can call a form named "ABC" from one Report, using "hyperlink" . The URL is
http://....../forms90/f90servlet?form=c:/ABC&userid=a/a@a
Now I want to pass 2 parameters (that are received in that report) to the form ABC.
I am using Oracle 10g.
What to do?
Please reply soon.
I am eagerly waiting for the solution.
Please Help.
ByeHai
Thank u for the reply.
Is it possible to pass the variable instead of values.
My report receives 2 parameters named p1 & p2. Actually I want to pass that parameters to the form from the report.
I have tried as You said.
//http/.........&otherparams=param1=:p1+param2=:p2
Then the form receives the ":p1" as the value, it does not take the value of that variable p1.
Please Reply Soon.
Bye...
Maybe you are looking for
-
There is no disk in the drive--please insert a disk into drive F & more
Hey, I've been having a problem with my ipod shuffle (2nd gen) for the past couple of weeks. Everything is okay until I try to eject the ipod. I click the eject button and the following errors pop up: "There is no disk in the drive--please insert a d
-
How to inovoke a remote process
Hi, I was wondering how to execute a process like 'gedit', 'ls' etc. in a remote machine by using a java program in another machine. In my case the server program will invoke the client program in different machines. The spec said: Runtime.getRuntime
-
Require details or list of seeded reports and import programs in fusion HCM
Hello All, Kindly provide me the list of seeded reports and Import programs available in Oracle Fusion HCM . Regards, S Rao
-
SOAP Async Sender Adapter - Many logons
Hello, I have a SOAP asynchronis sender adapter that is being used to recieve invoices. We are noticing that the suppliers who are invoicing us are calling the web service with all their invoices at the same time. (i.e. 2000 invoices in a matter of
-
Hi Gurus, Kindly help me please. I have assigned the correct business area to the plant and have assigned the plant to the correct sales area. However, the BA inherited in the contract was wrong. Where does the contract get the BA? Kindly help me ple