Forms 9i PLSQL Compiler
Ha1s anyone had any problems upgrading their Forms from 6i to 9i specifically due to PLSQL compiler problems? Presumably they are different versions. Does anyone know the PLSQL compiler version nos in Forms 6i and Forms 9i?
I have converted some of my forms from 6 to 9i, I didn't find any problem like this as it automatically converts it when I recompile it in forms9i, if you can , send me the pl/sql, so that i can check it out
Similar Messages
-
PLSQL compiles but doesn't run.. I've declared it everywhere but still..
PLSQL compiles but doesn’t run.. I’ve declared it everywhere but still..
Afternoon.. Hopefully a quick one for someone.. I’m trying to run a Concurrent Program in ORACLE Financials using a Data Template derived BI Publisher report.
Error message received..
SUBIXCLT module: UofS Expense Claim Tracking Report
+--------------------------------------------------------------------------
All Parameters: raisedby=:status=:claimant=:expense_date_from=:expense_date_to=:LP_ORDERED_BY=Expense Report Number
Data Template Code: SUBIXCLT
Data Template Application Short Name: PO
Debug Flag: N
{raisedby=, claimant=, expense_date_to=, expense_date_from=, status=, LP_ORDERED_BY=Expense Report Number}
Calling XDO Data Engine...
[060410_025628319][][STATEMENT] Start process Data
[060410_025628324][][STATEMENT] Process Data ...
[060410_025628329][][STATEMENT] Executing data triggers...
[060410_025628329][][STATEMENT] BEGIN
SUBIXCLT.claimant := :claimant ;
SUBIXCLT.expense_date_from := :expense_date_from ;
SUBIXCLT.expense_date_to := :expense_date_to ;
SUBIXCLT.raisedby := :raisedby ;
SUBIXCLT.status := :status ;
SUBIXCLT.lp_ordered_by := :lp_ordered_by ;
:XDO_OUT_PARAMETER := 1;
END;
l_flag Boolean;
BEGIN
l_flag := SUBIXCLT.BEFOREREPORT(L_ORDERED) ;
if (l_flag) then
:XDO_OUT_PARAMETER := 1;
end if;
end;
[060410_025628356][][EXCEPTION] SQLException encounter while executing data trigger....
java.sql.SQLException: ORA-06550: line 4, column 33:
PLS-00201: identifier 'L_ORDERED' must be declared
ORA-06550: line 4, column 1:
PL/SQL: Statement ignoredThe Data Template
The Data Template
<?xml version="1.0" encoding="utf-8" ?>
- <dataTemplate name="UofS_OutstandngExpenses_Report" defaultPackage="SUBIXCLT" dataSourceRef="FINDEV" version="1.0">
- <properties>
<property name="xml_tag_case" value="upper" />
<property name="include_parameters" value="true" />
<property name="debug_mode" value="on" />
</properties>
- <parameters>
<parameter name="claimant" dataType="character" defaultValue="" />
<parameter name="expense_date_from" dataType="date" defaultValue="" />
<parameter name="expense_date_to" dataType="date" defaultValue="" />
<parameter name="raisedby" dataType="character" defaultValue="" />
<parameter name="status" dataType="character" defaultValue="" />
<parameter name="lp_ordered_by" dataType="character" defaultValue="" />
</parameters>
- <dataQuery>
<dataTrigger name="beforeReportTrigger" source="SUBIXCLT.BEFOREREPORT(L_ORDERED)" />
- <sqlStatement name="Q1">
- <![CDATA[
SELECT DISTINCT
erh.invoice_num,
pap.full_name EMP_CLAIMING,
DECODE(NVL(erh.expense_status_code, 'Not yet Submitted (NULL)'), 'CANCELLED', 'CANCELLED',
'EMPAPPR', 'Pending Individuals Approval', 'ERROR', 'Pending System Administrator Action',
'HOLD_PENDING_RECEIPTS ', 'Hold Pending Receipts', 'INPROGRESS', 'In Progress', 'INVOICED', 'Ready for Payment',
'MGRAPPR', 'Pending Payables Approval', 'MGRPAYAPPR', 'Ready for Invoicing', 'PAID', 'Paid',
'PARPAID', 'Partially Paid', 'PAYAPPR', 'Payables Approved', 'PENDMGR', 'Pending Manager Approval',
'PEND_HOLDS_CLEARANCE', 'Pending Payment Verification', 'REJECTED', 'Rejected', 'RESOLUTN', 'Pending Your Resolution',
'RETURNED', 'Returned', 'SAVED', 'Saved', 'SUBMITTED', 'Submitted', 'UNUSED', 'UNUSED',
'WITHDRAWN','Withdrawn', 'Not yet Submitted (NULL)') "EXPENSE_STATUS" ,
NVL(TO_CHAR(erh.report_submitted_date,'dd-MON-yyyy'),'NULL') SUBMIT_DATE,
NVL(TO_CHAR(erh.expense_last_status_date,'dd-MON-yyyy'),'NULL') LAST_UPDATE,
erh.override_approver_name ER_Approver,
fu.description EXP_ADMIN,
erh.total,
erh.description
FROM
AP_EXPENSE_REPORT_HEADERS_all erh,
per_all_people_f pap, fnd_user fu
WHERE erh.employee_id = pap.person_id
AND fu.user_id = erh.created_by
AND NVL(erh.expense_status_code, 'Not yet Submitted') NOT IN ('MGRAPPR', 'INVOICED', 'PAID', 'PARPAID')
AND pap.full_name = NVL(:claimant, pap.full_name)
AND TRUNC(erh.report_submitted_date) BETWEEN NVL(:expense_date_from, '01-JAN-1999') AND NVL(:expense_date_to,'31-DEC-2299')
AND fu.description = NVL(:raisedby,fu.description)
AND erh.expense_status_code = NVL(:status,erh.expense_status_code) &LP_ORDERED_BY
]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReportTrigger" source="SUBIXCLT.BEFOREREPORT(L_ORDERED)" />
- <dataStructure>
- <group name="G_XP_CLM_TRACKNG" source="Q1">
<element name="INVOICE_NUM" value="INVOICE_NUM" />
<element name="EMP_CLAIMING" value="EMP_CLAIMING" />
<element name="EXPENSE_STATUS" value="EXPENSE_STATUS" />
<element name="SUBMIT_DATE" value="SUBMIT_DATE" />
<element name="LAST_UPDATE" value="LAST_UPDATE" />
<element name="LP_ORDERED_BY" dataType="varchar2" value="SUBIXCLT.LP_ORDERED_BY" />
</group>
</dataStructure>
</dataTemplate>The PL SQL..
The PL SQL..
CREATE OR REPLACE PACKAGE Subixclt IS
L_ORDERED VARCHAR2(50);
RAISEDBY VARCHAR2(50);
STATUS VARCHAR2(50);
CLAIMANT VARCHAR2(50);
LP_ORDERED_BY VARCHAR2(50);
FUNCTION BEFOREREPORT(L_ORDERED IN VARCHAR2) RETURN VARCHAR2;
EXPENSE_DATE_FROM DATE;
EXPENSE_DATE_TO DATE;
--RETURN VARCHAR2;
END;
CREATE OR REPLACE PACKAGE BODY Subixclt IS
FUNCTION BEFOREREPORT(L_ORDERED IN VARCHAR2)RETURN VARCHAR2 IS
BEGIN
Fnd_File.PUT_LINE(Fnd_File.LOG,'L_ORDERED'||L_ORDERED);
DECLARE
LP_ORDERED_BY VARCHAR2(50);
L_ORDERED VARCHAR2(50);
RAISEDBY VARCHAR2(50);
STATUS VARCHAR2(50);
CLAIMANT VARCHAR2(100);
EXPENSE_DATE_FROM DATE;
EXPENSE_DATE_TO DATE;
BEGIN
IF (LP_ORDERED_BY='Expense Report Number') THEN
LP_ORDERED_BY :='order by 1 asc;';
ELSIF (LP_ORDERED_BY='Person Claiming') THEN
LP_ORDERED_BY :='order by 2 asc;';
ELSIF (LP_ORDERED_BY='Submit Date') THEN
LP_ORDERED_BY :='order by 4 asc;';
END IF;
RETURN(L_ORDERED);
--RETURN NULL;
END;
END;
END;Thanks for looking..
Steven
Edited by: Mr_Alkan on Jun 4, 2010 3:35 PMOne has to initialise a session first for use with Oracle Apps if you want to make it run as a concurrent job.
Any decleration within your package will not be recognised unless initialisation is sucessful.
Investigate the built-in packages:
FND_GLOBAL - for initialisation
FND_SUBMIT - for setting session relevant parameters
-- function returns true or false depending on whether the initialisation was sucessful or not
create or replace function is_Init_OK (p_User_Name in varchar2
,p_Responsibility in varchar2
,p_Language in varchar2) return boolean as
b_Set_NLS boolean;
b_Set_Mode boolean;
r_ISet fnd_Init := Get_Init_Set(p_User_Name, p_Responsibility);
begin
-- 1
fnd_global.apps_initialize(r_ISet.User_ID, r_ISet.Resp_ID, r_ISet.App_ID);
-- 2
b_Set_NLS := fnd_submit.set_nls_options(p_Language);
-- 3
b_Set_Mode := fnd_submit.set_mode (false);
return (b_Set_Mode and b_Set_NLS and ( (r_ISet.Resp_ID is not null)
and (r_ISet.User_ID is not null)
exception
when others then
return false;
end is_Init_OK;
-- for example
declare
l_User_ID number = 'IMPORT_POST'; --- import post user
l_Resp number = 'Import and Posting responsibility' -- import posting responsibility
l_Language varchar2(100) := 'AMERICAN';
b_Init boolean := false;
INIT_EXCEPTION exception;
begin
b_Init := is_Init_OK(l_User_ID, l_Resp, l_Language);
if (not b_Init) then
raise INIT_EXCEPTION;
end if;
-- conitnue with your processing
exception
when others then
when INIT_EXECPTION then
when others then
end;
/ -
I have a Forms 11gR2 application that I have upgraded from Forms 10gR2. The forms have plsql libraries attached, I needed to modify 1 of the libraries but for some reason the form is still getting the old version of the library instead of the new version. I have de-attached the library from the form and reattached it (saved & recompiled) but it is not picking up the new version of the library. When I run the form locally with the debugger the old source is displayed in the PL/SQL Libraries section of Form Builder even though that version doesn't exist anymore.
Does anyone know how to get changes in a library to be recognized?Welcome to OTN
Before posting on this forum please read
FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
you'll get some hint here
Oracle/PLSQL: ORA-06502 Error -
Form Exits when compiling with database link
Dear All,
I am using forms 6i and Oracle 10 G .I am using a databaselink in the form.When I compile the form , it exits from the form Builder.
I am able to use the databaselink from SQL.
Kindly help
Thanks
Elsy
Kuwait
Edited by: Elsy on Dec 5, 2011 12:53 PMIn forms 10g. Tnsname is picked from application server from <oracle_home>\Product\OraMidTier10gR2\NETWORK\ADMIN
As you have forms6i , I expect your client machine should have tns enrty for the SID what you are using in creating databaselink.
~Lokanath -
Apex Native PLSQL Compile?
Hi
I am considering changing my databases to native PLSQL compilation..
Reading Joels Blog from 2009.. it was good... but had issues
http://joelkallman.blogspot.co.nz/2009/02/make-all-of-your-apex-applications-run.html
But that was 2009.. and we now have Oracle 11.2..
Does anyone recommend moving to Native compilation at database level?
Thanks
DeanRefer following blog
http://abakalidis.blogspot.in/2009/04/oracle-11g-switching-to-native.html
regards,
PARS -
Hi all,
I have a form with an attached library, one of these libraries does not complie
but the forms does compile
when I remove the attached library the form no longer compiles, does prooving that the form does use that library
what does this mean, that forms first searches for a pll and then a plx and calls the code in the pll even though it does not compile ?
how can we force the fmb from not compiling
Kr
MartinThe Forms Compiler looks for the source files (.pll) when compiling a Forms Module (.fmb) not the Library executable (.plx); which is only referenced by a Forms executable during runtime. It is obvious to me that your form does not utilize the Library Program Unit(s) that are/is invalid which would explain why the Form will compile.
how can we force the fmb from not compilingI'm not sure if there is a way to accomplish this. Rather, I would suggest you find out why the Library won't compile.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Without Soruce of a form needs to compile into new release !!!
Dear all,
i am standing in very difficult situation that one of our client doesnt have the .fmb files (source file), now they planned to upgrade their database into latest 11gR2, as well as their forms also. their forms is just in 4.5 version.
Can any one tell me is there any possible way to compile this form into new release without having their source code (.fmb). ??
Regards
HamidHi,
choose the technology for which there is knowledge and resources (also customer wise), so this can be forms/apex/php/.Net/Java and any other available. As you don't have the sources anymore, maybe you still have the old documentation from which you can create a new version. If not, then a new design is also necessary.
Maybe some looking with a text editor in the FMX give you some SQL or PLSQL parts which you can use, but still you need to know the functionality wanted.
Herald ten Dam
http://htendam.wordpress.com -
Forms 11g Server compilation issues: FRM-18108: Failed to load the following objects
Attempting to upgrade to 11g (Forms 11 Version 11.1.2.1.0 on Linux) from 9i.
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
Compiling an FMB on the server (not windows PC) is giving error FRM-18108: Failed to load the following objects. The compiler is unable to find OLB files and PLL files. This seems to be a config issue but I cannot track it down.
We have a /nhbcapps/lib for library and object library (pll, olb) files and we have a /nhbcapps/bin for executables (mmx, fmx, plx)
We have our own envmt file, cdb.env (in same folder as default.env):
FORMS_PATH=/nhbcapps/bin:/nhbcapps/lib:/app/oracle/Middleware/Oracle_FRHome2/forms:/app/oracle/Middleware/asinst_1/FormsComponent/forms
PATH=/nhbcapps/bin:/nhbcapps/lib:/app/oracle/Middleware/Oracle_FRHome2/bin:/app/oracle/Middleware/Oracle_FRHome2/jdk/bin
formsweb.cfg:
envFile=cdb.env
Please could anyone help get this working?Your module NC_REF.fmb (or NC_REF.olb), which is referenced for shared objects, cannot be found. The best way to test it is to place it in the working directory (the start-in directory of the windows shortcut from where you launch Forms Builder). That way you are independent from the FORMS60_PATH, because the working directory is searched first.
-
Html forms in plsql procedure prob
Hi,
i have created a plsql procedure and have included a javascript part in order to link two drop down menus in a web site. but even though when you select a category at the first drop down menu it successfully updates the options at the second, the Action of the form doesnt work (the parameter doesnt pass to the procedure they should according to the Action command. If i don't use the first drop down menu though and add few options at the second, the Action works fine...can u please help me???
This is the code after the java script part...
htp.print('<FORM NAME="select_mem" ACTION="'||f_host||'search" METHOD="post">');
htp.print('<SELECT name="Category" onChange="updateList(this.form, this.options[selectedIndex].value, this.form.Subject.length)" >');
for sel_t in ctype loop
htp.print('<option value="'||replace(sel_t.mem_type,' ','_')'">'||sel_t.mem_type||'</option>');
end loop;
htp.print('</SELECT>');
htp.print('<br>');
htp.print('<select name="Subject" id="Subject" >');
htp.print('<option value="None" SELECTED>- Please Choose a Category Above - </option>');
htp.print('</select>');
htp.print('<INPUT TYPE="submit" value="submit">');
htp.print('</FORM>');sorry, dimi, but this forum is limited to questions about the product Oracle HTML DB. if you're not sure what OTN discussion forum is best suited for your question, i think they'd have you ask for the correct one at...
Community Feedback (No Product Questions)
regards,
raj
ps-my answer to the second question at the top of Pop List and Developer Toolbar shows an easy way in htmldb to implement the type of thing you're after. -
Generated Forms does not compile - NEXT ITEM and PREVIOUS ITEM procedure not found
I tried to generate forms using Designer 6i.
FMB was created, but there are compilation errors.
The Compiler can not found procedures called CGNEXTITEM and CGPREVIOUSITEM.
Judging by the names, those procedures are supposed to be generated by designer as well,
but there are no codes with the names.
Any idea?
YusanIs your temporary table created with the clause "on commit preserve rows" or "on commit delete rows"?
If it's the latter then try changing to the former as you have a commit in the middle of your code, doing this will keep the data in the table for the duration of the session.
If you need to clear the table of data within your session, you'll have to do an explicit delete.
Ady -
Capturing PLSQL compilation error in PLSQL
Hi,
I am thinking of compiling a package through another package. If the compilation returns an error, how can i capture that error?
I want to grab the error and format them on an email.
I am talking about the error that we see in SQL*Plus when we use SHOW ERROR command after compiling a PLSQL object.
I hope I am being clear with my question.
Thanks before
JoelThere is a data dictionary view called USER_ERRORS which contains details of any compilation errors.
-
10g form hangs when compiling! - please help!
Hi,
I'm having a problem compiling a couple of my forms. I'm using forms 10g and when I compile the form it hangs in a particular program unit. Actually, if I connect to my database first and then open the form in forms builder, it will hang. I have to connect after I load the form.
In the program unit that compiling is hanging on, we are selecting from a synonym which is a dblink to another database. The synonym is in a 9i database, the dblink is linking to a table in a 10g database. I can see the synonym and perform a select from it. However, it will not compile in the form.
Please help!
Thanks!Hi,
The same issue is faced by me when I was migrating my application from forms6i (oracle 8i) to forms 10g(oracle 10g).
Solution:
create a view based on the table on the other database (use db link)
now create a synonym using this view and make it public.
use this synonym in your form.
It looks like something weared but this worked !!
Try it !! -
Form6i Builder (Form can't compile pll function)
I'm upgrading our application from Form 4.5 to Form 6i. I open the pll and a form in the 6i Form Builder. When I try to run or compile the form, the builder complaints that all the function calls (where the functions are in the pll library) get errors. It says "identifier 'function_name' must be declared". I compile the pll without any error. If I link the pll to the form then the form compiles but can't run. Any suggestion? Thanks.
I recompiled the pll already still have the same problem. I'm using the Windows version, not sure that has anything to do with it.
I figure out that I have to attach the library in the form under "Attacted Libraries". When it askes me "non-portable directory specification and remove the path", I have to choose "no". Is this how it work? -
Hi,
I got the task to create an batch-job to compile all Forms and Library of an existing project using the frmcmp.exe Version 10.1 on a German Windows Maschine.
When I start frmcmp and enter the parameter within the Dialog everything works fine.
When I start frmcmp from an batch an MessageDialog will be opended showing all possible parameters, but no error message.
- Is it possible to get an Logfile with the missing or wrong Parameter?
- On a German PC the Helpdialog shows as possible Parameters: Modul={Form-Name} Benutzer-Id={Benutzer-Id/Kennwort}
This help is definitly wrong because as Paramters have to be used: Module={Form-Name} UserId={Benutzer-Id/Kennwort}have a look at this, maybe its helpful.
Re: Compile 6i for into 10g -
Forms 11g Batch Compilation Script
Hi,
I have seen few threads in this forum on the topic "Batch Compilation of Forms"
For instance batch file to convert fmb to fmx
But i could not find a way to do the batch compilation in Forms 11g?
How do I batch compile my Forms in 11g?
Thanks,
RamNothing has changed from the old versions to version 11. Compilation is done the same way as it always has in the past. The only difference (depending on which version you start from) is the the name and location of the compiler executible. The new file name is frmcmp (.exe if you are using Windows and .sh for Unix). All old example scripts should work in the new version as long as you make this change.
Maybe you are looking for
-
Seagate 1.5 TB external hard drive and Disk Utility
I have a Seagate 1.5 TB external hard drive. Up until recently it was working fine. I noticed that things stored on it were starting to take longer to open up. There was a relatively constant clicking noise on it, not just when Time Machine was backi
-
I just got a macbook air what is the best antivirus or security
Hi i just got a macbbok air and would like to know the best antivirus or security download to use?
-
Can't launch safari on new hdd
Hdd was replaced at Apple store. Now the whole computer is super slow and won't even launch safari. Also been trying to restore lost files from Carbonite which is also been painfully slow
-
Is there a link to download the complete latest XI ASAP Roadmap? There's a link on the following page, however, the link no longer works: http://media.sdn.sap.com/html/submitted_docs/Implementation_Roadmap_XI/index.htm Thanks in advance.
-
ERROR : element W1KOPF window main is missing
Hai All, I have migrated a standard program(it is of type module pool) and a Form from 4.7 to ECC. and sent Form to testing. but while executing it in testing it is raising an ERROR :element W1KOPF window main is missing .