How to create a user defined trigger and execute my form

Hi All,
I am working with oracle Apps r12 and oracle forms 10g.
I have created a custom form. So i need to create a special menu and when the user click the menu it need to open a new block and query it accordingly.
I have followed this link
http://egeapp.egeseramik.com:8000/pls/prod/fndgfm/fnd_help.get/us/fnd/@g_special#g_special
and created a special menu in my custom form
In PRE_FORM trigger i have coded this
APP_SPECIAL.INSTANTIATE('SPECIAL3','&ACTION HISTORY DETAILS',NULL,TRUE,'LINE');
and IN PRE_BLOCK i have coded this
APP_SPECIAL.ENABLE('SPECIAL3',PROPERTY_ON);.
Now the special menu is enabled when i press it shows error
that frm-40700 no such trigger:special3.
Now i came to know that we need to create a user defined trigger put the code and when we press special menu it need to query it accordingly.
Can any one tell the steps that how to do that accordingly.
Thanks & regards
Srikkanth

Hi ,
The problem is fixed, the link mentioned below might be use full for doing this.
http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T457083.htm
regards
Srikkanth

Similar Messages

  • How to send a user defined parameter to a web form?

    Hi,
    I4m looking for a solution how to send a user defined parameter to a web form when I start the form from a html-page.
    I think that it should work to add the parameter to the URL.
    Example: I added myparam=myvalue at the end oft the URL
    http://my.server.com:7777/f60cgi?form=myform.fmx&userid=scott/tiger@mydb&otherparams=useSDI=NO&lookAndFeel=generic&colorScheme=teal&myparam=myvalue
    How can I fetch the parameter myparam in forms?

    You have the user the otherParams parameter, which you can specify in the formsweb.cfg file, or override on the url. e.g. http://myhost/servlet/f690servlet?config=myApp&otherParams=myParam=myValue
    In the Forms Builder, in the Navigator window, there is a node called Parameters. Create one in there, and then you can refer to it like a block variable. e.g. if :myparam = 'myvalue' then...
    At runtime, Forms will match up any parameters on the command with parameters defined in your form, and populate them for you. You don't have to do anything.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How to create a user using XML and specifying addional attributes that are objects

    I'm trying to create a user using XML and specifying some attributes that are objects and not sure how to do it. How would I set the DirectoryUserAcl to Public?
    Here's the xml file:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl> ??? </DirectoryUserAcl>
    <DefaultAclBundleAcl> ??? </DefaultAclBundleAcl>
    <HomeFolderPolicyBundleAcl> ??? </HomeFolderPolicyBundleAcl>
    </SimpleUser>

    I figured out the answer:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl classname="SystemAccessControlList" refType="name">Public</DirectoryUserAcl>
    </SimpleUser>
    null

  • How to create a user defined type base on existing table

    Hi Everyone,
    Are there any way to create a user defined type base on existing table us as :
    CREATE OR REPLACE Type MyTable Is Table Of PART%ROWTYPE;
    where Part is a table.
    Regards,
    JDang

    Hi JDAng,
    Can't be done. %ROWTYPE is a PL/SQL construct, and as such cannot be used in SQL.
    Regards
    Peter

  • Create a user defined table and creating bussiness entities

    Hi
    I am trying to create a bussiness entity which is mapped to table SAMPLE(NAME,Value)
    I created metadata in UI
    1) I created a _Impl.java
    * @BusinessEntity
    * (tableName = SAMPLE)
    public class Sample_Impl
    extends Sample_Gen{
    2)XXXXCodeDescriptionQuery.java
    * @EntityCodeDescriptionQuery
    * (entity = sample, programName=Sample)
    * @author One time generator
    * @version $Revision: #1 $
    public class SampleCodeDescriptionQuery
    extends EntityCodeDescriptionQuery {
    3)/**
    @EntityListPageMaintenance ( service = CILTSAMP, modules={foundation}, entity = sample, program = SampleListMaintenance,
    body = @DataElement (contents = { @FieldGroup (name = SRCH-CRITERIA,
    contents = { @DataField (name = NAME)})
    , @DataField (name = NAME)
    , @ListField (name = NAME)}),
    lists = { @List (name = NAME, size = 50, *program* = SampleListMaintenance, 
    body = @DataElement (contents = { @RowField (includeRCopybook = false, entity = sample)}),
    headerFields = { "NAME"})})
    public class SampleListMaintenance
    extends SampleListMaintenance_Gen{
    and when I run the AG i am getting the error
    2011-02-02 15:28:47,160 [main] ERROR (sourceparser.service.EntityCodeDescriptionProcessor) No such description property description on entity sample in entity code and description query com.splwg.base.domain.common.sample.SampleCodeDescriptionQuery
    Am I doing wrong?
    What more I need to do?
    what is the program = SampleListMaintenance? what should this map to in SampleListMaintenance.java?
    what is the programName=_Sample_? what should this map to in SampleCodeDescriptionQuery.java? when I remove this program or programName I am getting error that they are required

    Hi ,
    The problem is fixed, the link mentioned below might be use full for doing this.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T457083.htm
    regards
    Srikkanth

  • SPECIAL1 user defined Trigger not firing in Forms

    Hi All forms Gurus,
    I have a need of creating a menu under tools in forms and call another from from this new menu option.
    I have done the below:
    on my block I have written a PRE-BLOCK Trigger with the below code:
    app_special.instantiate('SPECIAL1', 'Product Details');
    app_special.ENABLE('SPECIAL1',PROPERTY_ON);
    this is creating the menu option successfully on the forms at run time under TOOLS menu.
    Next I have :
    FND_FUNCTION.EXECUTE(FUNCTION_NAME => 'XXTEST'
    ,OTHER_PARAMS => ' P_PROD_CODE = ' || ''''|| :HOLDS_BLK.PROD_CODE
    and this is not getting executed when I click on the "Product Details" new menu entry which is create above.
    I even tried just putting
    fnd_message.debug('from SPECIAL1'); to check if the SPECIAL1 Trigger is firing, removing the above FND_FUNTION.EXECUTE.
    and I noticed that the SPECIAL! Trigger is not firing at all.
    I would really appreciate if you can help me out in fixing this and making the SPECIAL1 trigger fire.
    Thanks and Regards
    Rohit

    Hi Rohit,
    Welcome to OTN.
    Since this is Apps issue, you might want to post it in the [E-Business Suites forum|http://forums.oracle.com/forums/category.jspa?categoryID=3].
    -Arun

  • Attach User define tables and view table need add to database into my add-o

    Hi there,
    I want to deploy an addon, there are User define tables and view table need add to database.
    I need some advice on some issues..
    1. Can I attach User define tables and view table need add to database into my addon.
    2. I wonder which chance is properly to add them, if add these user define objects in time of install and I can't get the enough information that connect to SQL server
    Thanks for any help.

    Hi Weerachai,
    Here's an example of how to create a user-defined table in code. My suggestion would be to check if it exists when your add-on starts up and then if not, create the tables, fields and objects.
    'User Table
        Private Sub CreateTable(ByVal sTable As String, ByVal sDescription As String, ByVal oObjectType As SAPbobsCOM.BoUTBTableType)
            Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
            Dim iResult As Long
            Dim sMsg As String
            oUserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
            If Not oUserTablesMD.GetByKey(sTable) Then
                oUserTablesMD.TableName = sTable
                oUserTablesMD.TableDescription = sDescription
                oUserTablesMD.TableType = oObjectType
                iResult = oUserTablesMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Table: " & sTable & " Error: " & sMsg)
                End If
            End If
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
        End Sub
    'User Field
        Private Sub CreateField(ByVal sTable As String, ByVal sName As String, ByVal sDescription As String, _
                                ByVal iSize As Integer, ByVal aFieldType As SAPbobsCOM.BoFieldTypes, _
                                ByVal aSubType As SAPbobsCOM.BoFldSubTypes, ByVal sLink As String, _
                                ByVal bMandatory As SAPbobsCOM.BoYesNoEnum)
            Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
            Dim oTable As SAPbobsCOM.UserTable
            Dim iResult As Long
            Dim sMsg As String
            Dim i As Integer
            Dim x As Integer
            Dim bFound As Boolean = False
            Dim oField As SAPbobsCOM.Field
            oTable = oCompany.UserTables.Item(sTable)
            For i = 0 To oTable.UserFields.Fields.Count - 1
                oField = oTable.UserFields.Fields.Item(i)
                'MessageBox.Show(oField.Name)
                If oField.Name = "U_" & sName Then
                    bFound = True
                End If
            Next
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oTable)
            If Not bFound Then
                oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUserFieldsMD.TableName = "@" & sTable
                oUserFieldsMD.Name = sName
                oUserFieldsMD.Description = sDescription
                oUserFieldsMD.Type = aFieldType
                If aFieldType = SAPbobsCOM.BoFieldTypes.db_Alpha Or aFieldType = SAPbobsCOM.BoFieldTypes.db_Numeric Then
                    oUserFieldsMD.EditSize = iSize
                Else
                    oUserFieldsMD.SubType = aSubType
                    oUserFieldsMD.Mandatory = bMandatory
                End If
                oUserFieldsMD.LinkedTable = sLink
                iResult = oUserFieldsMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Field: " & sTable & "." & sName & " Error: " & sMsg)
                End If
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
            End If
        End Sub
    If you want to create a View I think you would have to use the RecordSet object. This will ensure that you don't have to log in to the database again
    Hope it helps,
    Adele

  • How do you create a user defined functions  UDF and passing a value like a ID to GEt a Value.

    How do you create a user defined functions UDF and passing a
    value like a ID to GEt a Value.
    using a query.
    are there example.
    Thanks

    tons of examples at cflib.org - good place to start, even
    though many
    udfs there are a bit outdated in their code...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • How To Create User-Defined DateTo and DateFrom?

    This document https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84 describe techniques used to create BI Infocubes.
    In chapter 4.4.2.4 Report only on data for constellations valid today and yesterday (comparable results) - today and yesterday.
    ...Report only on data for constellations valid today and yesterday (comparable results): Solution
    Given an attribute&#8211;characteristic relation.
    Define the dependent attribute as a time-dependent navigational attribute of the characteristic. Define
    additionally user-defined DateTo and DateFrom time-dependent navigational attributes. Together with the
    query key date and a filter on DateTo and DateFrom excluding your reporting time span, you will get the
    desired result.
    MatGr-SID  From-User   To-User    From-Sys   To-Sys   Material   Material-SID
         910        01/1000       12/9999     01/1000    12/9999     AAA    001
         910        01/1000       09/1998     01/1000    09/1998     BBB    002
         920        10/1998       12/9999     10/1998    12/9999     BBB    002
         920        01/1000       12/9999     01/1000    12/9999     CCC    003
         920        01/1000       12/9999     01/1000    12/9999     DDD    004
         920        10/1998       12/9999     10/1998    12/9999     EEE    005
    Report  showing comparable results
    Material group  Rev 09/98     Rev 10/98 
        X                  100             100
        Y                  200             200   
    HOW TO Create From-User   To-User attributes?

    Hi Monica
    Third party software is available,from AccessVia, that can be used to create and update templates. Sample sample sqt can help you to understand the required inputs (batchID, templateID, departmentID, locale).
    Thanks
    Himanshu

  • How to bind the user-defined watch to a specific server so that server's Health would show green ball and is linked to Monitoring watch?

    Hi,
    I create a user defined watch for BI4.1 ExplorerExplorationServer server in CMC -> Monitoring.
    Caution:
    node.ExplorerExplorationServer$'Server Running State'==1 ||
    node.ExplorerExplorationServer$'Server Running State'==2 ||
    node.ExplorerExplorationServer$'Server Running State'==4 ||
    node.ExplorerExplorationServer$'Server Running State'==6 ||
    node.ExplorerExplorationServer$'Server Running State'==7 ||
    node.ExplorerExplorationServer$'Health State'==1
    Danger:
    node.ExplorerExplorationServer$'Server Running State'==0 ||
    node.ExplorerExplorationServer$'Server Running State'==5 ||
    node.ExplorerExplorationServer$'Health State'==0
    However, in CMC -> Servers -> Explorer Services, the ExplorerExplorationServer shows "Information is not available" blue ball in Health.
    How do I bind the user-defined watch to a specific server so that server's Health would show green ball and is linked to Monitoring watch?
    Regards,
    Jin-Chong

    Hello JinChong,
    We had created User-defined Explorer watches on our environments and have run into issues.
    Have received many false alerts even though Explorer servers are running fine.
    After creating an AGS case it was informed to us that Explorer does not have monitoring capabilities.
    AGS is checking with solution architect of Explorer application about when the monitoring watches for explorer would be included.
    Regards,
    Rohit

  • Question: How to create new user and schema in 11g?

    Who can give me answer how to create a new user and schedule?
    I had installed oracle 11g DB and oracle client in my windows OS. I found in the 11g there is no enterprise manager console with new version. It is different from with oracle 10g.So i don't know how to create it new user.
    I had created new DB instance, but i don't how to create a user on that. Who can give me a hand for that? I hope one oracle experenice expert give my answers.
    Thanks a lot!
    Edited by: user774630 on Oct 27, 2008 10:01 PM
    Edited by: user774630 on Oct 27, 2008 10:09 PM

    Hi,
    I am not sure that which option you are talking about? Are you using the EMCA,http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm#SUTIL800] to create the new repository for the EM? If not the command line than the other only way is to use DBCA(Database Configuration Assistant).I believe you are talking about that. Yes ,if the message is coming creating the repository than after wards you can login to the EM. You would get the port no of the EM's HTTP port from the $OH/install/portlist.ini file.
    HTH
    Aman....
    Edited by: Aman.... on Oct 28, 2008 11:36 AM
    Gave up, link insertion doesn't work.

  • How to create new user and How can i assign end user roles

    Hi,
    I am new to SAP, please explain how to create end users and their roles
    Thanks
    ravi

    Hi,
    Roles are decided by IT managers. Suppose if Persons who are working in shopfloor or production side
    give authorization to Production order create , change and Confirm like that etc
    1. In role maintenance (transaction PFCG), choose the Authorizations tab page.
    2. To change the authorization data for the transactions assigned to the role, choose Change Authorization Data or Expert Mode for Profile Generation. Otherwise, a dialog box appears in expert mode (see Regenerating an Authorization Profile After Changes).
    Please take telp from Basis person also refer this link,
    http://help.sap.com/saphelp_46c/helpdata/EN/52/6714a9439b11d1896f0000e8322d00/frameset.htm
    Thanks

  • How to create portal user and integrate with external appl login

    How to create portal user and integrate the user with external application for single sign-on ?
    I want to access my external application thru portal user ..?
    Shyam

    Hi Jithin,
    The link that you've shared talks about a different scenario.
    In my case, I want to pass the portal user id when the user clicks on the Help Link present in the header area.
    I am trying to pass it along with the Help Link Url property of a masthead iview but it is not getting passed to the target Url.
    I would like to know if it is possible to pass the Portal User Id in this way or not.
    Though if we create a appintegrator iview and pass the user id <User.UserID> along with the target Url, it reaches there.
    Thanks & Regards,
    Anurag

  • What is Site Definition and is there any OOTB Site Definition ?How to Create Custom Site Defination?

    Hi All,
    What is Site Definition and is there any OOTB Site Definition ?
    How to Create Custom Site Defination?
    Thanks in advance!

    Hello,
    Please check following links for detailed explanation : 
    http://msdn.microsoft.com/en-us/library/aa978512(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ee231583.aspx
    Regards, Shruti

  • How to create a VI that detects and records responses from user

    Does anyone has experience in creating a VI that allows the user to e.g., watch a video or series of images, pause or rewind video etc. and the VI records the duration of all pauses or user responses.

    avenue wrote:
    How to create a VI that detects and records responses from user
    You definitely need to check what 'EVENT STRUCTURE' is and how to use it... because thats needed to write such code.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

Maybe you are looking for

  • Prevent Access to APEX Login

    I have installed 3.0.1 on XE using port 8095 and need to allow access to two applications via the Internet using two different domain names. I have set iptables to only allow outside access to port 80 on IP 123.123.123.123. I am using Apache to direc

  • OC4J 9.0.2 on Oracle9iAS 1.0.2.2a

    Hi everyone, I've installed an Oracle9iAS 1.0.2.2a Enterprise Edition on my server. How can I upgrade internal OC4J to version 9.0.2? Or should I install an Oracle9iAS 9.0.2 Core Edition (HTTP Server + Web Cache + OC4J) on a new machine and reference

  • Loss of sound on Pavilion g6

    I have kost sound on my HP Pavlilon g6 through the speakers, however sound is still working when earphones are installed to the laptop. Does anyone have any solutions to this problem? Thanks Matt

  • Lenovo S10 Series Black Netbook

    My question is when you order the S10 in black does that mean the keyboard is black.  My Son's friend stated that it's black on the outside but the keyboard is white. Also I wanted to thank Mark the Admin here for resolving the battery replacement qu

  • Cant unlock ipod, calibration off, reset and still wont work?

    the slide goes almost all the way then falls back. cant unlock. The one time it did unlock nothing on the right side worked