Compiling CUSTOM.pll

Hi Everybody,
I need some integrated solutions between ORACLE imaging solutions server and EBS server.So that it is advisory to pick AXF_CUSTOM.pld file (present in Imaging solutions server) to EBS server,convert it to an AXF_CUSTOM.pll file, make modifications, and then compile it to an AXF_CUSTOM.plx file.
But I have some doubt here.
My Imaging solution server:Windows Machine.
My EBS server(12.1.1):Linux machine
And i m transferring AXF_CUSTOM.pld file from windows machine to Linux machine.So should there some dos2unix command be needed before converting it???
With Regards
Jyoti

Hi Hussein,
First I have run the below scripts successfully :
@AXF_CREATE_TABLES_SYNONYM.sql
@AXF_EBS_PROPERTIES_DATA.sql
@AXF_APPS_INIT.sql
@AXF_ADD_EBS_ATTACHMENT_PROC_R12.sql
@AXF_ADD_EBS_ATTACHMENT_PROC_R11.sql
@AXF_MANAGED_ATTACH_AVAIL.sql
@AXF_MANAGED_ATTACH_VALUES.sql
@AXF_MANAGED_ATTACHMENT_DATA.sql
@AXF_SOAP_CALL_PROC.sql
Then complination procees done as follows:
copy the AXF_CUSTOM.pld file to the
E-Business Server (to FORMS_PATH for Oracle E-Business Suite 12 from
Oracle E-Business Suite 12: MW_HOME/ECM_HOME/axf/adapters/ebs/R12/AXF_CUSTOM.pld
If you are using a Linux/UNIX system and copied the .PLD
from a Windows system, issue the dos2unix command before
converting it below.(Not done)
And at first I m not able to compile AXF_CUSTOM.PLL successfully.
Below are the steps I followed:-
_1. Copied AXF_CUSTOM.pld to FORMS_PATH._
_2. Open AXF_CUSTOM.pld file in forms builder connecting with APPS Database User._
_3. Converted AXF_CUSTOM.pld to AXF_CUSTOM.pll.while converting I got the error_
PDE-PLI038 - Cannot open file as a PL/SQL Library as expected.
_4. Compiled AXF_CUSTOM.pll to AXF_CUSTOM.plx while compiling I got many errors_
e.g. 'APPSPECIAL.ENABLE' must be declared. Since the library files were missing_
so I attached the library files and the files compiled successfully.
_5. Downloaded CUSTOM.pll from the Server from $AU_TOP Resource Directory._
6. Open the CUSTOM.pll and modified it as follows.
_6. a function zoom_available return boolean is_
begin
-- Required for ALL integrations
return AXFCUSTOM.zoom_available();_
end zoomavailable;_
_6. b procedure event(event_name varchar2) is_
begin
-- Required for AXF integrations
AXFCUSTOM.event (event_name);_
null;
end event;
_7. Attached AXF_CUSTOM.pll to the CUSTOM.pll._
7. Compiled CUSTOM.pll at local machine.
_8. Deployed CUSTOM.pll to $AU_TOP Resource Directory._
9. Compiled CUSTOM.pll to CUSTOM.plx at the server using Command
frmcmpbatch module=CUSTOM.pll userid=apps/a07r12 output_file=CUSTOM.plx_
moduletype=library batch= yes compile_all=special._
After performing these steps when we try to open the forms from the instance we are getting the error as follows:-
Then get the error as APP-FND-01926:The custom event WHEN-LOGON-CHANGED raised unhandled exception:ORA-06508:PL/SQL:couldnot find program unit being called
ORA-01403:no data found
Then I compiled AXF_CUSTOM.PLD in another machine and transfer it to mine.After that I performed all the steps every library files are compiled and generated now.I don’t know why the Zoom button is not enabled. It should have been enabled for all the forms I guess.
With Regards
Jyoti

Similar Messages

  • Error while compiling CUSTOM.PLL with frmcmp_batch

    We have a strange issue here. One of the users is unable to compile custom.pll . He is getting the issue
    PDE-PLI038 Cannot open file for use as a PL/SQL Library
    This is the below file permission for the custom.pll
    -rwxrwxrwx 1 applmgr oaa 20480 Apr 29 02:57 CUSTOM.pll
    This is the one with custom developments in it.
    This is user id
    uid=114(ccankim) gid=1026(oaa)*
    But when I as a applmgr user is able to compile the CUSTOM.pll successfully.
    applmgr>frmcmp_batch module=CUSTOM.pll userid=apps/***** module_type=library
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release  - Production
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.5.0      Production
    Compiling library CUSTOM...
    Compiling Package Spec CUSTOM......
    Compiling Package Body CUSTOM......
    Done.
    Any idea Gurus...
    EBS 12.1.3
    UNIX HP-UX B.11.31 U ia64 4294967040 unlimited-user license
    DB 11.2.0.2

    $ which frmcmp_batch
    /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    $ ll -ltr /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    -rwxr-xr-x 1 applmgr oaa 22544380 Dec 21 12:17 /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    The user has execute permission.( because his user id belongs to group oaa which has execute permission)
    Full 777 permission on the directory where this CUSTOM.pll exists.
    The confusing part is, if the file would have been corrupted, it would not have been compiled successfully under applmgr user. So the doc id 1082077.1 as of now doesn't help a lot.
    :(

  • Compiling custom.pll requires an outage?

    Hi,
    We need to compile the custom.pll in production. Does this require an outage to do that? What is the impact of compiling custom.pll without an outage?
    -Ritesh

    If this compile is done during non-business hours, and if some users are still connected to forms sessions. Would they have issues connecting to forms? Throw any kind of error? We are planning to compile the custom.pll today evening after business hours and bounce the services in the weekend. We are concerned that compiling custom.pll would cause an issue to existing users if they r connected?
    My question basically is - compiling a custom.pll without shutting down services does it effect any end users to experience errors?
    -Ritesh

  • Personalizations disappeared after compiling custom.pll

    Hi,
    Personalizations done on Sales Order form in order management are disappeared after a developer add some code to custom.pll, and compile the same custom.pll.
    and many of personalizations from other forms also disappeared.
    Please suggest what are the reasons for personalizations to be disappeared..
    Rgds,
    Alig

    Simple compilation of custom.pll cannot make the personalization disappear.
    The personalization are stored as records in the database. A compile command on the command prompt cannot delete records in the database.
    Something else must have happened.
    If you open the form and go to help > diagnostics > c> personalize, do you see those personalization?
    Is it possible that someone disabled personalization for your responsibility or userid?
    Sandeep Gandhi

  • Error FRM-30312 while compiling a custom pll library on forms 11g weblogic

    hi,
    this is my case:
    Im trying to upgrade a forms 10g application to 11g, using FORMS 11g v11.1.1.3 and WEBLOGIC server v10.3.3.
    Forms files compiled correctly, also webutil.pll was correctly compiled.
    but if I try to compile my custom pll I can see the error...
    when I run application, this erros msg appears:
    FRM-40735: ON-ERROR trig raised unhandled exception ORA-06508
    I have this script to compile .pll files (libraries):
    +#SCRIPT TO COMPILE LIBRARIES+
    export ORACLE_INSTANCE=/opt/oracle/Middleware/asinst_1
    export ORACLE_HOME=/opt/oracle/Middleware/as_1
    export ORACLE_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export FORMS_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    export FORMS_DEFAULTFONT="Lucida.9"
    for i in `ls *.pll`
    do
    echo Compiling: $i ....
    file=$i
    +$ORACLE_INSTANCE/bin/frmcmp.sh Module=$i Userid=user/pwd@db Module_Type=LIBRARY Batch=YES+
    done
    But this error is shown:
    Compilation errors on RP2RRO:
    PL/SQL ERROR 201 at line 106, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 106, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 123, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 123, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 153, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 153, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 169, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 169, column 8
    Statement ignored
    Failed to generate library.
    FRM-30312: Failed to compile the library.
    I tried finding the string on the source code and delete or replace, but the only strings remainding are for example "RP2RRO_RUN_PRODUCT()", It looks like compiler finds the string within the entire word.
    I need help.

    InoL, Thank you very much.
    I know rp2rro.pll was there, and I compiled it successfully, and place it to the correct folder.
    but I did not know that my custom pll had the rp2rro as a program unit.
    I solve this problem replacing the code inside my custom library with the rp2rro.pll code that comes with forms 11g
    THANKS again.

  • Error while compiling a custom pll with forms 11g and weblogic

    Hi there,
    I just posted a thread here:
    Error FRM-30312 while compiling a custom pll library on forms 11g weblogic
    please, I need help

    Why wouldn't you post in the proper forum, i.e the Forms forum

  • Custom.pll and custom.plx location changed

    Hi Friends,
    I am having Oracle Apps 11.5.9 and i had the custom.pll and custom.plx on $AU_TOP/resource and make the changes there and it's working fine.
    Now suddenly the changes made on the file is not refelecting so i searchd the server and i could see another copy of custom.pll and custom.plx on the $COMMON_TOP/admin/scripts and the changes being made on this files is getting reflected(not the one from $AU_TOP)
    I don't know how this change happened.
    So Please let me know how to change the location of custom.pll and custom.plx from $COMMON_TOP/admin/scripts to $AU_TOP/resource?
    Regards,
    Arun

    Arun,
    How did you verify that the one which is used is the one under $COMMON_TOP/admin/scripts?
    So Please let me know how to change the location of custom.pll and custom.plx from $COMMON_TOP/admin/scripts to $AU_TOP/resource?Copy the CUSTOM.pll file back to $AU_TOP/resource, and compile the file again. Make sure both files (CUSTOM.pll and CUSTOM.plx exist under this directory), and bounce the application services then.
    Also, delete all CUSTOM* files under $COMMON_TOP/admin/scripts (take a backup of the files first).
    Regards,
    Hussein

  • Error: custom.pll

    Hi all
    when we are trying to open some forms we are getting an error :custom.pll cannot find the current instace, whats actual problem?where can we find the this program to edit it to add new instance.
    thanks
    Praneeth

    You can turn CUSTOM.pll off in the forms via Help->Diagnostics->Custom Code->Off.
    Otherwise, on the applications filesystem, go to $AU_TOP/resource, open CUSTOM.pll in f60desm or ifbld60.exe (windows) and look for logic errors in the pl/sql. Do a compile/validate all from the forms designer/builder.
    You can recompile it with the following command or use adadmin to recompile all forms from product fnd.
    f60gen module_type=library module=$AU_TOP/resource/CUSTOM.pll output_file=$AU_TOP/resource/CUSTOM.plx userid=apps/apps compile_all=yes

  • Change in custom.pll

    Hi All,
    I am facing a problem when making a change in custom.pll and the form. I have made a change in the custom.pll and then re attached the library in the form. Now i FTP the form and pll and compile first the pll and the form and then move these plx and fmx into a specified folder and when i open the form in application my change is not reflected.
    Is this the right way i m doing. Also, I see that the package in custom.pll is never called in the form. Is this right. Do i need to call the package that is in library in form.
    Also if i do this then it will be no longer a vanilla form. It would be changed to a custom form???
    ( is it possible that the package is automatically called in the form that(package) is defined in pll, i ve never done such a thing, i am aware that we have to call the package in the form as well, but not much idea when working when EBS)
    Any help on this would be appricated.
    Regards,

    Hi,
    Open ur library and make ur changes. Save it and Compile it.
    Re-Attach ur library 2 ur form and compile ur form.
    put newly generated .plx and .fmx files at ur desired location.
    if ur changes still doesn't reflect then delete .plx and .fmx files from the location where ur r compiling these.
    I guess with .plx u need to put .pll at ur desired location.
    How would u call a package....?? (I don't know it)
    what I know is you can call a procedure, function or any stored subroutine
    You can also call packaged procedure and functions
    but how to call a package.
    hope it's helpful 2 u
    Thanks & Regards
    Manoj

  • 1. The procedure called by CUSTOM.pll causes the problem when we use f60gen

    When CUSTOM.pll contains a call to a package that in turn calls a remote package, the CUSTOM.pll compile hangs forever.
    1. The procedure called by CUSTOM.pll causes the problem when we use f60gen. Though same procedure compiles successfully using "alter procedure compile" command.
    2. We have observed the problem happens due to synonym present on the remote database(db link).
    It doesn’t work if you are calling SYNONYM on remote database. It works, for calls to tables or procedures or packages in remote database if that object is OWNED DIRECTLY by the account to which dblink is connecting to.
    select object_name, object_type from user_objects@NH_SCM_ICE.DB.ATT.COM ;
    OBJECT_NAME OBJECT_TYPE
    FA_LOCATIONS SYNONYM
    FND_FLEX_VALUES SYNONYM

    The database link is created under the APPS user in the local database but connects to a different user (SWCS_ICE_SUPCHAIN) in the remote database.
    The user in the remote database does not own any objects. It only has synonyms to objects owned by apps and others.
    Incidentally, the hang also happens when trying to describe the remote package from the application tier (8.0.6.3 sqlplus) but the describe works fine from the DB tier (10gR2 sqlplus).

  • FRM-10043: Cannot open file.  While running CUSTOM.pll

    Hi DBA's
    I tried to run the CUSTOM.pll file it is giving the following error. I gave full permission and sourced the environment still i am getting the following error.
    [applmgr@aqherptestdb resource]$ f60gen CUSTOM.pll apps/apps
    Forms 6.0 (Form Compiler) Version 6.0.8.28.0 (Production)
    Forms 6.0 (Form Compiler): Release - Production
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
    Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
    Oracle Multimedia Version 6.0.8.25.0 (Production)
    Oracle Tools Integration Version 6.0.8.17.0 (Production)
    Oracle Tools Common Area Version 6.0.5.32.0
    Oracle CORE Version 4.0.6.0.0 - Production
    FRM-10043: Cannot open file.
    Form not created
    [applmgr@aqherptestdb resource]$
    Best Regards,
    SG

    SG,
    What is the syntax you use? As applmgr user, source the application env file and issue:
    $ cd $AU_TOP/resource -- Or, cd to where CUSTOM.pll is located
    $ f60gen module=CUSTOM.pll userid=apps/apps output_file=CUSTOM.plx module_type=library \
    batch=no compile_all=specialNote: 427879.1 - How To Customize And Compile An Application Seeded Form (FMB) Or Library (PLL)?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=427879.1
    Note: 130686.1 - How to Generate Form, Library and Menu for Oracle Applications
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130686.1
    Regards,
    Hussein

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

  • Setting Default values for field using custom.pll

    Hi All,
    I have an rquirement to set the default values on Meterial Tranasction screen for some condition
    I tried it in both ways via Form Personalization and using custom.pll
    i m using the following code in custom.pll
    form_name      varchar2(30):= name_in('system.current_form');
    block_name varchar2(30):= name_in('system.cursor_block');
    trx_type           varchar2(30);
    subinv                varchar2(30);
    begin
    if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
    if event_name ='WHEN-VALIDATE-RECORD' then
         trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
    if trx_type ='WIP Return' THEN
         copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
              copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
              sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
              if sinv is null then
                   copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
                   copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
                   FND_MESSAGE.SET_STRING(sinv);
                   FND_MESSAGE.SHOW;
              end if;
         end if;
    end if;
    end if;
    end event;
    Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
    Same behaviour happens when i do it via form personalization
    i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
    Please provide some suggestion on it. its really urgent.
    Thanks in Advance
    Renu

    Works Now...

  • R12's Custom.PLL

    Hi,
    To all users of R12, is it true that custom.pll is gone and cannot be modified in R12 anymore???

    Hi,
    CUSTOM.PLL is still available in R12 (just like 11) -- Note: 579318.1 - How To Bring Up 10G Forms Builder In R12 Environment?
    Oracle E-Business Suite Developer's Guide
    http://download.oracle.com/docs/cd/B53825_06/current/acrobat/121devg.pdf
    Thanks,
    Hussein

  • India Localization+custom.pll

    Hi,
    We are applying India Localization to Oracle application is already running in global instance.
    What kind of back up we must take for custom.pll. There are many customizations done in global instance.
    Thanks
    Naveen,Sankuratri

    India localization ships a CUSTOM.pll, which has code for some of the functionality to work. You have to merge the code in your CUSTOM.pll with the CUSTOM.pll shipped by localization patches/ patchsets.
    Note: 335113.1 - Oracle India Localization Service Tax FAQ
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=335113.1

Maybe you are looking for

  • ITunes "drops" recognition of iPod Touch in the middle of restore

    Hi. I have been attempting to restore my iPod on my PC (Dell Inspiron 6000 running Windows XP). It had issues in the middle of an iOS software update and went into restore mode. I plug in my iPod and it displays the connect to iTunes screen. iTunes r

  • 16:9 movies from FCP 7 showing as 4:3 in iDVD

    (posted this in iDVD forum as well to cover my bases... not sure which app is causing the problem) So I just exported this video for a client and brought it into iDVD. It was edited in FCP 7 as an anamorphic project. When I brought it into iDVD howev

  • Setting isolation level to 2.

    Hi All, I'm trying to use Isolation level 2 for "read committed" isolation. all I can find is how to set level 3 isolation (by calling setTxnSerializableIsolation(true)). Thanks for your help. ~aviron

  • Selecting multiple cells with keyboard command?

    Is there a way in Numbers to select many adjecent cells in a column without using the mouse? I have a document that has thousands of rows, so selecting 2000 cells in a column with the mouse for example, obviously takes forever. I would love to be abl

  • Why can't I import video

    My video file is .avi I can play it with quick time but when dragging it into itunes, it came flied back to where it was.