Error in Forms while creating the trigger- WHEN-CREATE-RECORD

Hello,
Right now I am using 11g client side and 10g database.
I am constantly getting an error while creating triggers in 11g.
I have created a sequence in SQL developer using the following code:
create sequence loc_id_sequence
start with 14;
After creating the sequence. I am trying to write the PL/SQL code in forms builder for the trigger WHEN-CREATE-RECORD
declare
loc_id number;
begin
loc_id := loc_id_sequence.nextval;
end;
But I have been getting the following error constantly. Can anyone please help me?
"Error 0 at line 5, column 4
SQL statement ignored".
Can anyone please tell me why I am getting that error

In fact, even I thought there might be some problem with the connectivity with the 10g database and 11g client but the other DB related code works.
I just have the problem with using sequence for the trigger WHEN-CREATE-RECORD.
In fact I also tried using WHEN-NEW-RECORD-INSTANCE smart trigger instead of WHEN-CREATE-RECORD for the same sequence. But even that doesn't work.
Do u have any idea of what that error means?
"Error 0 at line 5, column 4
SQL statement ignored"
Edited by: Pooja 1985 on Feb 26, 2013 5:43 PM
Edited by: Pooja 1985 on Feb 26, 2013 5:44 PM

Similar Messages

  • Error in Forms while calling The procedure

    Dear All
    I am using Forms 10G.
    I have 2 procedure in Program unit .I am calling this 2 procedure in when button press trigger .And it was working fine .
    But now it is not working .
    Means i have written this in When Button Pressed trigger .
    Begin
         Select PAYMENT_PURPOSE_CODE into :global.purps
         From MU_PURPOSE_CODE
         Where DESCRIPTION = :Loader.PURPS;
    :global.date := :loader.date;
    :global.cir := :loader.cir;
    :global.acct_no := :loader.acct_no;
    LOAD_DATA1;
    LOAD_DATA2;
    End;
    Now it is going to LOAD_DATA2 procedure but not going the 1st one.
    Any reason ?
    Edited by: Sandy on Sep 13, 2010 6:35 PM

    Put messages in your procedure, or run the form in debug mode.
    Francois

  • To set an error while saving the order when the item categor changed in CRM

    Hello SAP Gurus,
    As per our current system set up, whenever the order created in CRM once replicated to ERP should not change the item category in CRM .If the item category is changed( allows the system) and saved, it gives an error as u201CItem category should not be changedu201D. We have been encountering  this type of issue since long back
    To avoid this type of issue, an error should through while saving the order when the user changes the item category in CRM.
    Can someone help me to achieve this.
    Thanks in advance.
    Cheers
    Sreedhar

    Sreedhar,
    Can't you control it by Item Category determination?
    JD

  • We're sorry, an error has occurred while processing the request. Please try again. that error comes when i registred the apple care protection plan plzz suggestion me

    We're sorry, an error has occurred while processing the request. Please try again. that error comes when i registred the apple care protection plan plzz suggestion me

    Call AppleCare.

  • Error message while opening a project: "an error was encountered while loading the image"

    We've run into a new error message here today:
    an error was encountered while loading the image
    It appears when we try to load a recorded project. It occurs on both the cp-file and the backup file.
    It's on a windows 7-machine.
    Anyone encountered it and knows what it means?
    is the project lost forever?

    Hi there
    Hmmm, it may be related to Windows 7, but let's check the obvious stuff first.
    Where exactly is th project if you locate it using Windows Explorer? Is it found on your local C drive or is it found on a network drive?
    If it's on a network drive, please note that Captivate has never worked well with projects being edited while they are on network resources. So the first step in this case (assuming that's where the project is) would be to move the project file off the network and onto the local C drive. Then try opening again.
    Assuming the project isn't on a network, all still may not be lost. The next thing to try would be to create a new blank project sized identically to the one that seems to have gone south. Then click File > Import > Slides/Objects and see if you can import the content from the errant project into the new.
    And if those steps fail, it's likely time to restart from scratch. But depending on what you have done so far and how you have done it, you might be able to salvage some of it by playing back the content (assuming you have published it during testing) and record what you are playing back with Captivate.
    Best of luck to you in sorting things. You should also consider filing a Bug Report.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Run Time Error in e-commerce crm 5.0 when creating new order

    Hi all,
    I am getting Run Time Error in e-commerce crm 5.0 when creating new order, shopping basket is comming , but while creating order , getting run time error.
    Thanks,
    Nagesh

    Hi nagesh,
    Are you able to resolve the issue. Please let me know the solution.
    I had started a thread with a same problem but in ERP E-commerce.  Points will be rewarded if you provide the solution in the thread below
    Re: Run Time Error in e-commerce crm 5.0 when creating new order
    Thank You
    Ram

  • An error has occurred while loading the report

    Hello all,
    I'm trying to view a Crystal Report from my CRM application and I receive the follow error message, but only when trying to view it on a laptop:
    An error has occurred while loading the report. Please contact technical support.
    Has anyone else run into this problem?
    Thanks!

    Hello Eddie,
    please post some more information about your problem.
    What is the name of your CRM app?
    Who developed this app?
    Did it never work or do you get this error only now?
    Always or only sometimes only?
    In what versions and on what patchlevel are you working ?
    Thanks for some more info
    Falk

  • Error submitting form for Distribution: "The filename you specified is not valid because it does not

    Error submitting form for Distribution:
    "The filename you specified is not valid because it does not include a .pdf extension, contains one or more invalid characters or teh path preceding it refers to a protected system location."
    Tried removing dashes from filename, shortenign filename, moving to root directory. No changes. File ends with a .pdf extension.
    This is my first attempt to distribute via acrobat.com

    I found that I got that same message using Acrobat Professional to send out a document for shared review.  I had an exclamation mark in the title of the PDF. When I took out the exclamation mark, it worked.
    So maybe try taking out anything "unusual" (parentheses, dashes, exclamation marks, etc.) in the file name and see if that helps.
    Good luck,
       Philip.

  • An error has occurred while opening the Premiere Pro CC 2014: Premiere Debug Event

    An error has occurred while opening the Premiere Pro CC 2014: Premiere Debug Event
    [c: \ cloudroom \ releases \ 2014.9 \ shared \ adobe \ mediacore \ mediafoundation\API\in
    I don't know what to do, any help?

    Delete the  Effect Presets and Custom Items.prfpset, located in
    C:\Users\<username>\Documents\Adobe\Premiere Pro\8.0\Profile-<username>
    when succesfull make new project and import old one into new one.
    Might need to reset current workspace and pull down the audiotracks first to reveal videotracks.

  • Error message: Helvetica Medium outline font missing when creating PDF's

    Error message: Helvetica Medium outline font missing when creating PDF's. Where can I downlaod it and why is it suddenly happening?

    OS? Version of ID?
    This means that either you have an extra Helvetica Medium font installed and it's interfering with ID finding the T1 version, or the T1 version is damaged. I found this really old thread that explains it fairly well: http://www.asadesigner.com/22-indesign/2d812de56777cc90.htm
    The good news is that it's probably only affecting the page information marks.

  • "A critical error has occurred while running the virtual machine and the machine execution has been stopped"

    I have the following error:
    "A critical error has occurred while running the virtual machine and the machine execution has been stopped"
    When I am installing grid clusterware and when is copying files from one node to other I received that virtualbox error and is stop working.
    Can somebody give me any hint how to solve it ?
    Thank you
    Eugen

    I think that is not a Clusterware issue, The clusterware installation may generating a high load on your machine and Virtual Box is not supporting.
    Check vbox.log file to identify root cause.

  • How to register the recipient when create job by function

    I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
    Can you tell me how to register the recipient when create the job.
    ( in sm36, it is easily to do but how to do in coding? )
    regards,
    slam

    Hi
    I think in Back ground using the above fun modules you can't send a mail to the receipient.
    see the use of the above fun modules;
      IF p_bjob = 'X'.
        CONCATENATE sy-cprog sy-datum sy-uzeit
                    INTO jobname SEPARATED BY '_'.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = jobname
          IMPORTING
            jobcount         = jobcount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          IMPORTING
            out_archive_parameters = arc_params
            out_parameters         = print_params
            valid                  = valid
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF valid = chk.
          SUBMIT ybrep
                          WITH < sel Screen>
                          AND RETURN
                          USER               sy-uname
                          VIA JOB            jobname
                          NUMBER             jobcount
                          TO SAP-SPOOL
                          SPOOL PARAMETERS   print_params
                          ARCHIVE PARAMETERS arc_params
                          WITHOUT SPOOL DYNPRO.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = jobcount
              jobname              = jobname
              strtimmed            = 'X'
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              invalid_target       = 8
              OTHERS               = 9.
          IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            MESSAGE i029 WITH jobname.
          ENDIF.
        ELSE.
          MESSAGE s000 WITH text-003.
          STOP.
        ENDIF.
      ENDIF.
    Reward points if useful
    Regards
    Anji

  • Configure Synchronization Connections An error has occurred while accessing the SQL Server database

    Hi,
    i am getting following error message
    Central Administration --> Synchronization Connections
    An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
    If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
    Central Administration -->  Manage Profile Service: User Profile Service Application --> Manage User Properties
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 3bce5a11-f2dc-4788
    Please tell how to fix it.
    iffi

    Event ID 5555 -> i have change the Timer jobs recycling time AM to PM
    for  User profile page not display  number of count in the page first check services , connection , 
    IISRESET /NOFORCE   /  timer services restart 
    Deepesh Yevle MCTS

  • HT1399 I was able to see the lyrics while playing the audio when my iOS was 6.1.4 now i do not know what to do to see the lyrics while playing the audio or a karaoke

    I was able to see the lyrics while playing the audio when my iOS was 6.1.4
    now i do not know what to do to see the lyrics while playing the audio or a karaoke after upgraded(?) to iOS 7
    Is there any chance to see the lyrics in iOS 7 or i want to degrade it to 6.1.4?

    Thank you for responding. I'm not sure if my complete original message came through. It was just today that an automatic update notice came through, and I installed the update that was offered. So I have to guess that version — 10.1.10 — is the latest version that's available to me. My OS is 10.6.8. Again (in case the complete message isn't appearing), I'm on an older Mac, specifically MacBook 2.1. Perhaps this is the problem, and I never should have updated a few years ago. If so, I wonder if there's any way I can go back to that earlier version that worked well for me, rather than the last few versions, which have not.

  • I am getting the error message "cannot communicate with the server" when i try to sign into my apple account on my ipad - any ideas???

    i am getting the error message "cannot communicate with the server" when i try to sign into my apple account on my ipad - any ideas???

    Welcome to the Apple Community.
    The following article(s) may help you.
    Photo Stream ToU's

Maybe you are looking for

  • No longer access to internet cafe networks WIFI

    In internet cafes I get new the message: "Your network Administrator has blocked you from connecting to this network" I remember faintly that I may marked somewhere on this or another laptop on my home network that it cannot connect to another networ

  • HP Officejet 4500 not on Airprint list

    Almost all HP Wireless printers are supported by Airprint except the HP Officejet 4500.    Printers are added to the list regularly.    Why do we have to resort to 3rd party software to have this feature.

  • XSLT mapping not working for escapeCharacters.

    Hi, I have an issue with escape characters in PI. Now I'm trying with CCFile. Binary. (In production we will use FTP as CC.) Scenarie: SAP --> MyParty. MyParty needs to have the xml Freetext tag as this: <FreeText><![CDATA[<b> HELLO WORLD </b>]]></Fr

  • How to pause and restart a timed loop in Labview

    I am trying to pause and then restart a timed process (series of stepd that happen at precise times), which is implemented using a timed loop. I was wondering if anybody out there can give me a hint. Thanks

  • Publish to FCP

    Out of curiosity, is it possible to "Publish to FCP" other than the Text Size and Text Tracking, for use in Motion templates?