IAS calling forms with parameters
Hi,
we are using IAS, and i want to logon oarcle applications sesion by calling a form (via url). In addition i would like to pass parameter to the form at the same time. Is that posible? How can i do it?
Thanks in advance
Julio
if you are using the forms servlet you can pass your parameters on the URL that calls forms otherparams=p1='10'
Similar Messages
-
FRM-92101 Error by calling the form with parameters
Hi All!
After the migration Oracle Forms from version 6i to 10g by calling the form with parameters the error FRM-92101 occurs. In Application Server log shows the following:
08/12/01 10:26:20 formsweb: Forms session <5> aborted: unable to communicate with runtime process.
08/12/01 10:26:20 formsweb: Forms session <5> exception stack trace:
java.io.IOException: FRM-93000: Unexpected internal error.
Details : No HTTP headers received from runform
at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
System: Oracle Application Server 10.1.2.0.2 with Red Hat Enterprise Linux Release 4. Client PC: Windows XP SP3 and Internet Explorer 7.
Please help me if anybody has this problem before.
SergeyHi Sergei,
I've just finished a three day search for a FRM-92101problem, so I want to post my case, just in case it helps someone.
My case is similar to yours, in that you have a Forms 6i form migrated to 10g and deployed on Linux, although my problem was "very" specific, and thus very hard to find, this might give you some light.
I had a visual attribute that defined the property "Fill Pattern" as "none" applied to a canvas, and it deployed without any problem on 10gR2/Windows, but when deployed on Linux (10gR2/SUSE 9) it would abort the application getting a FRM-92101.
The solution in this case was just changing "none" to "Transparent".
Hope this helps.
Regards,
Miguel. -
Calling subtemplate with parameters in footer
Hi,
I have the following syntax that calls a conditional footer depending on orgid and country:
<xsl:call-template name="Super"><xsl:with-param name="organiz"select="ORG"/>
<xsl:with-param name="country" select="BILL_COUNTRY_DESCRIPTION"/></xsl:call-template>
This works great if I call it from a form-field but if I paste this code into the footer it does'nt get interpreted as xsl-code.
Is there any way to work around this?
Rg. DanielBy the way - you can call subtemplates with parameters using the short <??> notation in the real header.
Edward our local guru gave me syntax:
HEADER:
<?call@inlines:aaa?><?with-param:name;string(edward)?><?end call?>
BODY:
<?template:aaa?>
<?param:name;string(Default Value)?>
Name: <?string($name)?>
<?end template?> -
You cannot open window Service Call Form with your current license 8.8
Hi Expersts,
I am trying allocate license for users in 8.8 (PATCH 09) , I am assigning properly but when log in to assigned user i am continously getting the following error. again i checked license has been allocated correctly. it is a CRM License
Kindly help
You cannot open window [60110] Service Call Form with your current license
Regards
MohamedDear Mohamed,
This issue probably occurs due to the application error described in the SAP Note [1456922|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1456922].
When login B1 with incorrect upper/lower cases for the user name (eg. The user name is registered "manager" but login as "Manager"), the user can login successfully but fails to open a certain form window the user has permission.
This issue is planned to be fix in a Patch of 8.8.
As workaround, until the issue will be fixed, the users should use exactly the same user name as itu2019s represented in the OUSR table, with case sensitive user code.
hope it helps,
Regards,
Ladislav Meszaros
SAP Business One Forum Team -
Calling form with value problem
Hello All,
Platform: forms 6i
calling form- quot.fmx
called form- inv.fmx
Value to pass: ref_no
on Calling form-> button-> when-button-pressed-trigger
DECLARE
P PARAMlist;
BEGIN
P:= CREATE_PARAMETER_LIST('ABC');
ADD_PARAMETER(P,'A_REF_NO',TEXT_PARAMETER,:ref_no);
CALL_FORM('D:\clean\inv.FMX',NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,P);
DESTROY_PARAMETER_LIST(P);
END;On Called form-> Parameter created-> a_ref_no
when-new-block-instance trigger
SET_BLOCK_PROPERTY('inv',DEFAULT_WHERE,'ref_no:='||:PARAMETER.A_REF_NO);
EXECUTE_QUERY;When i am clicking om button form is opening but no value in inv.ref
Please help.ref_no datatype is number and we are creating text_parameter. Is this creating problem?Why do you have the leading Zero's if REF_NO is a NUMBER? Oracle will automatically strip the leading Zero's unless you specify REF_NO as a VARCHAR2. Your code sample used 000001 so this implied your REF_NO was a VARCHAR2. Is the Data Type of :PARAMETER.A_REF_NO a NUMBER or a CHAR? If it is a CHAR, you will need to cast the value to a NUMBER using the TO_NUMBER() function. You can't rely on Oracle to implicitly convert the CHAR to NUMBER - in fact - Oracle strongly recommends you always cast data type conversion rather than relay on implicit conversions.
And wht do you mean by where clause in forms? are you talking about data block------properties-----------Query data source type------ From clause query------------ (WHERE ref_no=:PARAMETER.A_REF_NO)>
Is your Datablock based on a From Clause Query? If yes, you can't using the BLOCK WHERE property to filter your block records. You will have to alter the From Clause Query each time. Let me know if you are using a From Clause and I'll show you how to make this work.
Craig... -
Calling form with new db connection
Hi all,
This is my problem. I have a requirement to call a form from the when-button-pressed trig of a different form and connect to that called form using a different username/password/connect string. I used logout and logon to do it and it works fine for me (or this machine). My problem is that it doesn't work for anyone else. Whenever anyone else tries the same button (including myself logged into the form on a different machine) they get the error ORA-01012 Not Logged On.
I have the following code in the pre-form trigger of the called form :
logout;
Logon ('scott','tiger'| |'@'| |'dev');
AS I said it works for me on this machine. What am I missing? Thanks in advance.
Required info:
Forms [32 Bit] Version 6.0.5.0.2 (Production)
Oracle Toolkit Version 6.0.5.6.0 (Production)
PL/SQL Version 8.0.5.1.0 (Production)
OPerating sys: windows 2000
Database Oracle 8.0.6.1.0make sure that the same database alias is configured in the tnsnames.ora on all the machines.
-
How to call a form with parameters in PL/SQL
hi
I added a button in my form,now I want to call another form in the button's PL/SQL prucedure. how to do it?
thinks
FrankHi,
You can use wwa_app_module.set_target api.
declare
l_url varchar2(2000);
begin
l_url := 'report1.show&p_arg_names=deptno&p_arg_values=10';
<product_schema>.wwa_app_module.set_target(l_url, 'CALL');
end;
Thanks,
Sharmila -
Hello everybody,
I created a oracle report i.e Bank Book having banks transactions receipts and payments and opening balance w.e.f 01-jul-2014. parameters are bank code, from_date and to_date. opening balance calculates (return ope from table bankinfo +total receipts-total payments). reports runs correctly via report builder. balances are ok. but the problem is when i run this report via oracle form opening balance return only ope from table bankinfo and skips total receipts-total payments.....
i dont think so why this happend at all. some body help me...
thanks
Abdul SalamHi ,
This community is to discuss Oracle Application Server specific issues, you can post this query in for better response:
Oracle Reports (MOSC)
Regards,
Prakash. -
Has anyone created a form that would allow 3 parameters to be entered and the parameters are used to call a stored procedure which creates a table that will be used in Oracle reports?
Send your form which you are having problem, I want to have a look at it. Send it in [email protected]
-
Calling me23n with parameters via ITS weblink?
Hi,
I'm currently working on a BSP page which links to a R/3 (ITS standalone) directly with tcode me23n. Now, I'm just wondering if it's possible to pass parameters to that transaction? I want to call the transaction directly with a material number.
Thanks in advance!No not with me23n (its because of the way me23n is built). you have to go for ME23 instead
this weblog may be of help to you
/people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008
Regards
Raja -
How to use HTTP_POST : To Call URL with parameters
Dear Gurus,
how to call HTTP_post.
I am having requirement from client to send SMS using URL for which mobile number and text are the parameters.
Now i want to call this in sheduled job using abap program,
one of the person suggested me HTTP_POST for the same.
But how to pass the parameters for this.
Or is there another way to call this.
Thanks in advance.
with regards,
Rajesh cCheck this
http://help.sap.com/saphelp_nw70/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/content.htm
Examples
http://wi.twhost.de/datei/data/QuellcodeDemos.pdf -
FRM-41214 unable to run report from forms with parameters
Hi all,
I am unable to run a report from forms if I pass parameters. Report is running fine in reports builder and in url if I access the report straightly.
I used set_report_object_property to pass the parameters.
Any clues to solve this problem?
PriyaHi Jeneesh,
Code is below:
myreport1 :=find_report_object('MYREP');
reportdata := Get_Parameter_List('reportsdata');
IF NOT Id_Null(reportdata) THEN
Destroy_Parameter_List( reportdata );
END IF;
reportdata := Create_Parameter_List('reportsdata');
Add_Parameter(reportdata, 'account_number', TEXT_PARAMETER, :parameter.account_number);
/* Setting the properties into Report Object */
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_DESFORMAT, 'htmlcss');
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_SERVER,vc_reportserver);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_FILENAME, 'C:\priya\forms\EmcySummary.jsp');
SET_REPORT_OBJECT_PROPERTY(myreport1,REPORT_OTHER,'account_number='|| :parameter.account_number);
/* Value of v_rep identifies the report that is currently running either locally or on a remote report server */
vrep := RUN_REPORT_OBJECT(myreport1,reportdata);
/* Checking for Report Server is started or not, if not throw an exception else proceed */
if vrep = vrep||'_0'then
raise form_trigger_failure;
end if;
vjob_id := substr(vrep,length(vc_reportserver)+2,length(vrep));
vrep_status := REPORT_OBJECT_STATUS(vrep);
/* Checking the status of the report */
WHILE vrep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
vrep_status := report_object_status(vrep);
END LOOP;
/* When the report status is successful then report is generated in Web */
IF vrep_status = 'FINISHED' THEN
-- COPY_REPORT_OBJECT_OUTPUT(vrep,v_tempstorage);
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver, '_blank');
END IF;
---Any clues? -
Call form with out broken image icon
Question: How can fit the tags of a <form> into a small
cell without the tags causing misalingment in the table?
I need to put a PayPal button on my site. The shopping cart I
was using up until now used only a link so I simply used hotspots
on button images. This new PayPal button sends information from my
site to PayPal with a <form>. The problem I am having is with
the elements in the red dotted form box ( yellow tags and broken
image icon). I have made the yellow tags invisible but the grey
broken image icon won't fit into the small cell( 86x22 ) of my
sites menu bar with out misaligning the table of cells. I spent
considerable time building my menu bar from layers so I would like
to keep intact.
The gray broken image icon shows because PayPal requires
that you copy the button image location directly from the browser
webpage <input type="image" src="
http://www.glotosleep.com/images_2007/img_buy_now_paypal.gif"
Thank You for any help. I am sure there is a simple solution
I just was not able find it anywhere on the net.
my site is www,glotosleep.com and the button i would like to
link to the PayPal form is the "Buy Now" in the menu barQuestion: How can fit the tags of a <form> into a small
cell without the tags causing misalingment in the table?
I need to put a PayPal button on my site. The shopping cart I
was using up until now used only a link so I simply used hotspots
on button images. This new PayPal button sends information from my
site to PayPal with a <form>. The problem I am having is with
the elements in the red dotted form box ( yellow tags and broken
image icon). I have made the yellow tags invisible but the grey
broken image icon won't fit into the small cell( 86x22 ) of my
sites menu bar with out misaligning the table of cells. I spent
considerable time building my menu bar from layers so I would like
to keep intact.
The gray broken image icon shows because PayPal requires
that you copy the button image location directly from the browser
webpage <input type="image" src="
http://www.glotosleep.com/images_2007/img_buy_now_paypal.gif"
Thank You for any help. I am sure there is a simple solution
I just was not able find it anywhere on the net.
my site is www,glotosleep.com and the button i would like to
link to the PayPal form is the "Buy Now" in the menu bar -
Can I add my parameter in address bar when calling form?
Hi,
I need to call form with parameter.
I'm calling reports with parameters. For example: [http://server:7778/reports/rwservlet?report=/home/oracle/report.rdf&userid=usr/pass@db&P_PARAMETER1=value&P_PARAMETER2=value]
I need to do the same with form.
I tried but couldnot success. How can I do that?
I tried with: [http://server:7778/forms/frmservlet?form=/home/oracle/form.fmx&userid=usr/pass@db&P_PARAMETER1=value&P_PARAMETER2=value]
I added WHEN-NEW-FORM-INSTANCE in form:
declare
pl_id paramList;
parameter_type number;
parameter_value varchar2 (200);
begin
pl_id := get_parameter_list ('default');
if not id_null (pl_id) then
get_parameter_attr (pl_id, 'P_PARAMETER1', parameter_type, parameter_value);
destroy_parameter_list (pl_id);
if parameter_value is not null then
USING PARAMETER...
end if;
end if;
end;
Edited by: Fitibaldi on Nov 25, 2008 1:30 AMHello,
In the url, the private parameters must be placved after the otherparams key word:
http://server.../frmservelt?config=MY_CONFIG&otherparams=the_param=the_value&...
The parameter list is not used in this case.
These parameters must exist in your Forms module in order to be used via the :PARAMETER object:
Declare
value varchar2(100);
Begin
value := :PARAMETER.the_param ;
End;Francois -
Commit during Call form,open form?
If i open another form using call/open form command and exit out of the form which is over the base form with some code, what will happen to the data in the base form.
How can i commit from the call /open form the base form.
is there any property that needs to set up.
What is the default behaviour in case of New form, open form , call form.Call form:
Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
New Form:
Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
Open Form:
Opens the indicated form. Use OPEN_FORM to create multiple-form applications, that is, applications that open more than one form at the same time.
Maybe you are looking for
-
Photoshop 10 shuts down by itself.
When I launch photoshop or Premiere for that matter, everything looks normal. When I move on to open the organizer it opens...for a few seconds, then shut down completely (photoshop that is) I can open the edit secion, but after the shut down, I need
-
Cinema display won't come back from sleep
I have two apple displays - a 17" studio and a 20" cinema - hooked up to my 1.6 G5 (Tiger, all the updates). Several months ago the 20" started staying black after sleep. I worked around the problem by adding the "detect display" thingy to my menu ba
-
Hello all, I'm using the BADI CUSTOMER_ADD_DATA_CS for some additional fields in the customer master data. These fields are included in an append of table KNB1. Their data elements have checked the "change documents" field. This is enough to mark the
-
Hi experts as per the requirement my program should run at specific time in background mode, it need to upload the Personal numbers from the input file and for those personal numbers extract the data from multiple tables. but this report shd run in b
-
Accessing a Thread by name?
Hello everyone, I have a question about thread programming. I have several threads running and the are all named. I'm wondering if there is a way from my main code to access a specific thread by name? for example, my main program wants to call a meth