BACKGROUND execution - Intimation

Hi Friends,
I am running a report program in BACK GROUND. This program contains an Internal table with 10 reords.
I'm sending those 10 records an EXCEL sheet as attachment to the USER who executed the program.
After sending mail to the USER, I have to intimate the User, that a email is sent to you.
How can I do this intimaion process while doing in BACK GROUND Execution.
Regards,
Viji

Hi
U can send an express message to the user by SapOffice: u can use the fm SO_NEW_DOCUMENT_ATT_SEND_API1 (probably the same fm u're using to send the mail)
Max

Similar Messages

  • AIR 3.9 iOS - 3632886: [Background Execution][Mobile] - App crashes when suspend

    Hi guys,
    does anybody know what's going on with the bug described in the subject? The original notice was:
    3632886: [Background Execution][Mobile] Error 3768 is coming when executeInBackground is set to false with notification center pulled down, incoming call, double tab on Home button..
    I cannot find anything about a solution or something else. I cannot find it in the Adobe Bug database as well. I think the bug still exists in the latest AIR 3.9 SDK but, I'm not pretty sure. Maybe someone knows a workaround? 
    Thanks in advance

    Hi Nimit,
    thank you for your fast reply. I tested an empty app on iOS 7.0.2, compiled with the Air 3.9 release from 10.12.13 (yesterday). The app restarts, when I switch between Safari and the app. Is this a feature or a bug?

  • OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution

    Hi,
    I have a problem at the background execution of my program. I have this error : "OBJECTS_OBJREF_NOT_ASSIGNED"
    Information on where terminated                                    
        Termination occurred in the ABAP program "SAPLCNDP" - in       
         "DP_CONTROL_ASSIGN_TABLE".                                    
        The main program was "ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD ".                                                                               
    In the source code you have the termination point in line 1    
        of the (Include) program "LCNDPU10".                           
        The program "SAPLCNDP" was started as a background job.        
        Job Name....... "ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD"               
        Job Initiator.. "COULOUMIESXA"                                 
        Job Number..... 15580300                                                                               
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    >>>>> FUNCTION DP_CONTROL_ASSIGN_TABLE.                            
        2 *"----
        3 ""Lokale Schnittstelle:                                    
        4 *"  IMPORTING                                                
        5 *"     REFERENCE(H_DP) TYPE  CNTL_HANDLE OPTIONAL            
        6 *"     REFERENCE(H_CNTL) TYPE  CNTL_HANDLE                   
        7 *"     VALUE(TABNAME) LIKE  X030L-TABNAME OPTIONAL           
        8 *"     VALUE(MEDIUM) TYPE  C OPTIONAL                        
        9 *"     VALUE(PROPERTYNAME) TYPE  C                           
       10 *"     VALUE(DATE) LIKE  SY-DATUM OPTIONAL                   
       11 *"     VALUE(TIME) LIKE  SY-UZEIT OPTIONAL                   
       12 *"     VALUE(DESCRIPTION) TYPE  C OPTIONAL                   
       13 *"  TABLES                                                   
       14 *"      DATA                                                 
       15 *"      TABFIELDS STRUCTURE  RFC_FIELDS OPTIONAL             
       16 *"      COLUMNS_TO_STRETCH TYPE  TABLE_OF_STRINGS OPTIONAL   
       17 *"  EXCEPTIONS                                               
       18 *"      DP_ERROR_CREATE                                      
       19 *"      DP_ERROR_SEND_DATA                                   
       20 *"      DP_ERROR_ASSIGN                                      
    Active Calls/Events                                                                               
    No.   Ty.          Program                             Include                             Line 
          Name                                                                               
    6 FUNCTION     SAPLCNDP                            LCNDPU10                                1
          DP_CONTROL_ASSIGN_TABLE                                                                   
        5 METHOD       CL_GUI_FRONTEND_SERVICES======CP    CL_GUI_FRONTEND_SERVICES======CM007    63
          CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES                                            
        4 FORM         ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      ZFI__SAPHIR_ES_SPLIT_INTERFACE        141
          DIRECTORY_LIST_FILES                                                                      
        3 FORM         ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD        165
          %_SEL_SCREEN                                                                               
    2 MODULE (PAI) ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD        805
          %_END_OF_SCREEN                                                                               
    1 EVENT        ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      <SYSINI>                               20
          SYSTEM-EXIT                                                                               
    Thanks for help.

    How do I retrieve a file list in background without use directory_file_list method?? I try this code of the RSWATCH0 program:
    CALL 'C_DIR_READ_START' ID 'DIR'    FIELD a_dir_name
                              ID 'FILE'   FIELD a_generic_name
                              ID 'ERRNO'  FIELD file-errno
                              ID 'ERRMSG' FIELD file-errmsg.
    DO.
        CLEAR file.
        CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD file-type
          ID 'NAME'   FIELD file-name
          ID 'LEN'    FIELD file-len
          ID 'OWNER'  FIELD file-owner
          ID 'MTIME'  FIELD file-mtime
          ID 'MODE'   FIELD file-mode
          ID 'ERRNO'  FIELD file-errno
          ID 'ERRMSG' FIELD file-errmsg.
    ENDDO.
    But, I retrieve files of SAP server random... I don't retrieve my files!

  • Way to get alv grid varients info during background execution

    I have used the function module 'REUSE_ALV_GRID_LAYOUT_INFO_GET' to get info alv grid varients i.e already created layout info. Is there any other way of getting this info as this is not giving the exact layout during background execution.

    Hi Vijaya,
    It should work. I am giving you a sample code. Try this and let me know.
    REPORT TEST.
    data gt_lfa1 type standard table of lfa1.
    data gt_kna1 type standard table of kna1.
    start-of-selection.
      select * from lfa1 into table gt_lfa1 up to 10 rows.
      select * from kna1 into table gt_kna1 up to 20 rows.
    end-of-selection.
      if sy-batch eq 'X'.
        perform display_lfa1.
        perform display_kna1.
      endif.
    form display_lfa1 .
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program = sy-repid
          i_structure_name   = 'LFA1'
        tables
          t_outtab           = gt_lfa1
        exceptions
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " DISPLAY_LFA1
    form display_kna1 .
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program = sy-repid
          i_structure_name   = 'KNA1'
        tables
          t_outtab           = gt_kna1
        exceptions
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " DISPLAY_KNA1
    copy and paste the code and create a program. Activate it and come back to SE38 screen.
    Now, in program name give the name of the report created and then
    select PROGRAM->EXECUTE->BACKGROUND from the MENU bar.
    This will generate two separate spools . One for KNA1 data & one for LFA1 data.
    Let me know how it goes.
    Thanks,
    Abhishek

  • Background execution

    Hi,
    i want to know the procedure for background execution for reports  with example ,
    Thank u,
    Regards,
    Sivaram.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Apr 20, 2011 2:26 PM

    Hello Ambichan,
    The normal Execute Button has the Function Code <b>ONLI</b>. you will just have to set this to <b>SJOB</b> in the PAI to make the same button trigger the Background job.
    Look at this code...
    tables sscrfields.
    parameters p_test.
    at selection-screen.
      if sscrfields-ucomm = 'ONLI'.
        sscrfields-ucomm = 'SJOB'.
      endif.
    start-of-selection.
      write p_test.
    Get back if you have any doubts.
    Regards,
    Anand Mandalika.

  • Dynamic Actions: background execution

    Hi
    here below the Dynamic Action that I have customized:
    0000                   04     310     P     T001P-MOLGA='15'
    0000                   04     315     P     PSPAR-MASSN='Z1'/X
    0000                   04     316     P     PSPAR-MASSN='Z2'/X
    0000                   04     317     P     PSPAR-MASSN='Z3'/X
    0000                   04     318     P     PSPAR-MASSN='Z7'/X
    0000                   04     319     P     PSPAR-MASSN='ZC'/X
    0000                   04     320     I     INS,0016,,,(P0000-BEGDA),(P0000-ENDDA)/D
    0000                   04     325     W     P0016-EINDT=P0000-BEGDA
    The background execution works correctly for Action Types Z3 and Z7 which are not linked to Recruitment.
    The execution of Dynamic Action DOESN'T WORK in the background mode but it works in foreground (even if in the dynamic action I've wrote /D) for Z1-Z2-ZC: these actions are linked to Recruitment.
    Can you help me?
    Paola
    Edited by: Pizeta on Mar 2, 2012 10:59 AM

    All the Actions are for Personnel Administration.
    Actions:
    Z1-Z2-ZC in T529A-FUNCH are customized like "7 Initial hiring and transfer of data from Recruitment" --> the dynamic action works but in foreground
    Z3-Z7 in  T529A-FUNCH are customized like "0     Other actions"  or  "1     Initial hiring" --> the dynamic action works correctly in the background
    P.

  • Wait in Background execution Co

    Hi,
    Can a background execution co put to wait?
    My requirement is to put an action on wait i.e. it should not be completed {should be in background}
    I tried using background execution co.
    on satisfying the condition I am setting the result state and completing the step by "executionContext.processingComplete();".
    If condition is not satisfied,neither any result state is set nor this step is completed. It was found that background execution gets completed without any result state.
    How to avoid this.
    How to implement so that it should wait whenever condition is not satisfied?
    Web dynpro CO completes on calling processingcomplete().
    If we do not call this method it stays there.
    Regards,
    Pratik
    Edited by: Pratik Khandelwal on Jul 16, 2009 9:30 AM
    Edited by: Pratik Khandelwal on Jul 16, 2009 9:35 AM

    Hi Ankur,
    I have already tried this way.
    As we are using background execution callable object, it gets executed automatically.
    Automatically means it gets into Queue and server will take care of it's execution I think.
    According to my understanding, all the background activities is filled in Queue and from there it gets executed after certain period of time.
    I used a loop as described  above. Due to continuous loop, the background activities of other processes stops or hanged.
    The background activity is on continuous check (loop). So, in a Queue it got stuck in processing of this activity.
    If I summarize, Due to continuous loop background execution is not getting completed. this is affecting other background activities also.
    Correct me if I am wrong.
    Or do I have to do something more.
    Regards,
    Pratik Khandelwal

  • Disable background execution

    Hi,
    We really appreciate the new execute in background function in direct mode, but we have gotten some unforeseen problems with it.
    Many things that didn't dispatch events in the background like Loader does that now, and in that event chain we have some OpenGL calls.
    We will fix that issue, but its a massive job and we need to submit a new version ASAP.
    Is it possible to disable background execution so it behaves like Air 3.8 ?
    -Simon

    Hi could you please share a few more details -
    1. What AIR version are you using. Could you please try the latest beta available here - http://labs.adobe.com/downloads/air.html
    2. Backround execution is 'off' by default for iOS, unless you opt-in using UIBackgroundModes or nativeApplication.executeInBackground. Did you use either of these? If yes, removing them would disable all background execution for iOS apps.
    Hope that helps.

  • ALV GRID with two Containers Background Execution

    Hi Friends,
    I have to display two ALV GRIDS on two Container one below another in one screen.
    I tried with 'DOCKING CONTAINER' - it works fine in foreground and not in BACKGROUND exection.
    In background execution (F9) only one grid is getting displayed.
    Please suggent whether I can go for CUSTOM CONTAINER or SPLITTER or some other way.
    But I should use GRID DISPLAY and it should work in BACKGROUND EXECUTION also.
    Regards,
    Viji

    Hi Vijaya,
    It should work. I am giving you a sample code. Try this and let me know.
    REPORT TEST.
    data gt_lfa1 type standard table of lfa1.
    data gt_kna1 type standard table of kna1.
    start-of-selection.
      select * from lfa1 into table gt_lfa1 up to 10 rows.
      select * from kna1 into table gt_kna1 up to 20 rows.
    end-of-selection.
      if sy-batch eq 'X'.
        perform display_lfa1.
        perform display_kna1.
      endif.
    form display_lfa1 .
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program = sy-repid
          i_structure_name   = 'LFA1'
        tables
          t_outtab           = gt_lfa1
        exceptions
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " DISPLAY_LFA1
    form display_kna1 .
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program = sy-repid
          i_structure_name   = 'KNA1'
        tables
          t_outtab           = gt_kna1
        exceptions
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " DISPLAY_KNA1
    copy and paste the code and create a program. Activate it and come back to SE38 screen.
    Now, in program name give the name of the report created and then
    select PROGRAM->EXECUTE->BACKGROUND from the MENU bar.
    This will generate two separate spools . One for KNA1 data & one for LFA1 data.
    Let me know how it goes.
    Thanks,
    Abhishek

  • Implementation callable object for background execution

    Hi experts,
    I am Using NWDS 7.0
    while i am trying to create background execution callable object , i didnt find the DC :caf/eu/gp/api.
    so i followed the pdf "How to Get NW04s SP7 Guided Procedure APIs for Local Development" and added the required DC's.
    The problem is that while i am selecting the  dc "caf/eu/gp/api"   the following message is displaying
    "illegal dependency: Acess list does not allow use of sap.com/caf/eu/gp/api for sap.com/bckg_co(MyComponents
    Is there any other way to add DC's ?
    pls help me out
    Thanks in advance
    kiran

    Hi Kiran,
    1. go to development Infrastructure --> select ur Software component --> in the component properties Tab > select dependencies Tab->click on Add Button.
    2. in the pop up window , select the Software component (Gp - Core) which has the  caf/eu/gp/api component and give the dependency details and click Finish.
    3. Ensure that Unrestricted acesss is granted for this component. this u can check, by selecting  caf/eu/gp/api  and select permissions tab in component properties.
    hope it helps,
    Thanks and Regards

  • GP Mail: Unexpected internal exception during background execution

    Hi,
          I have designed a process in Guided Procedures which send mails when Approved or Rejected. I get an exception for users who have yahoo or gmail IDs.
    Technical Exception:
    Unexpected internal exception during background execution: The message contains non-trusted or invalid receivers
    Is there any setting /configuration for sending mails to these.
    Pl help
    Thanks,
    Vasu
    Message was edited by:
            Vasu Mullapudi

    Hi,
    are you using the Bounced Mails Framework to manage you mails? If so, one possible explanation is that BMF blocks untrusted messages.
    To configure BMF options, go to the Administration workset and edit the list of trusted addresses in BMF.
    More info:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/450862f1f014bce10000000a155369/frameset.htm">Administering the BMF</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/4491dafaab0597e10000000a155369/frameset.htm">Managing Trusted Addresses</a>
    HTH
    Regards, Petja

  • RM07DOCS Layout for background execution

    Hi,
    I'm executing  RM07DOCS, in foreground execution, the layout can either be graphical(detailed) or List(overview list of mat docs). In background execution, the only display available is the graphical(detailed list of Matdocs).
    Is there a way to setup the program to output in list (overview list of mat docs) view in background execution?
    please advise if this can be done and how can it be done.
    thanks,
    NC

    Dear expert
         this link might be help you
    http://www.****************/Tutorials/ALV/ALVLayout/Variant.htm
    http://help.sap.com/saphelp_470/helpdata/en/6b/2f13439c9f11d194da00a0c930328a/content.htm
    Regards
      Ajeesh.s

  • Background Execution Problem-Docking Container with 2 ALV Grids in one scre

    Hi Friends,
    I have created 2 ALV Grids in one screen - one below another using DOCKING CONTAINER.
    The objects are 'g_dock_cont' and 'g_dock_cont1'.
    I am getting the foreground output as expected with 2 ALV Grids.
    While executing in background (F9), I am getting only output of first ALV grid. Second ALV is not getting displayed in BACKGROUND(F9) mode.
    How to solve this.
    FORM create_objects.
    * Materials with data
      IF   g_dock_cont IS INITIAL.
       IF sy-batch NE 'X'.
    *CREATE THE OBJECT FOR DOCKING CONTAINER
        CREATE OBJECT g_dock_cont
          EXPORTING
            side                  = cl_gui_docking_container=>dock_at_top
            extension             = 300.
        ENDIF.
    *CREATE THE OBJECT FOR ALV GRID
        CREATE OBJECT g_alvgrid
               EXPORTING i_parent = g_dock_cont.
        wa_layout-grid_title =
              'Materials with Data'.
      ENDIF.
    IF NOT I_DETAIL[] IS INITIAL.
    CALL METHOD g_alvgrid->set_table_for_first_display
      EXPORTING
        IS_VARIANT                    = WA_VARIANT_STX
        IS_LAYOUT                     = wa_layout
      CHANGING
        it_outtab                     = I_DETAIL
        IT_FIELDCATALOG               = LIT_FIELDCATALOG[]
      EXCEPTIONS
        INVALID_PARAMETER_COMBINATION = 1
        PROGRAM_ERROR                 = 2
        TOO_MANY_LINES                = 3
        others                        = 4
    IF sy-subrc <> 0.
    ENDIF.
    ENDIF.
    *MATERIALS WITHOUT DATA
      IF   g_dock_cont1 IS INITIAL.
       IF sy-batch NE 'X'.
    *CREATE THE OBJECT FOR DOCKING CONTAINER
        CREATE OBJECT g_dock_cont1
          EXPORTING
            side                  = cl_gui_docking_container=>dock_at_bottom
            extension             = 300.
       ENDIF.
    *CREATE THE OBJECT FOR ALV GRID
        CREATE OBJECT g_alvgrid1
               EXPORTING i_parent = g_dock_cont1.
        wa_layout1-grid_title =
              'Materials without Data'.
      ENDIF.
    IF NOT I_MARA[] IS INITIAL.
    CALL METHOD g_alvgrid1->set_table_for_first_display
      EXPORTING
        IS_LAYOUT                     = wa_layout1
      CHANGING
        it_outtab                     = I_MARA
        IT_FIELDCATALOG               = i_fieldcat[]
      EXCEPTIONS
        INVALID_PARAMETER_COMBINATION = 1
        PROGRAM_ERROR                 = 2
        TOO_MANY_LINES                = 3
        others                        = 4
    IF sy-subrc <> 0.
    ENDIF.
    ENDIF.
    ENDFORM.                    " create_objects
    Regards,
    Viji.

    Hi,
    What i was saying is that you need to code again for background mode of execution.
    AT END OF SELECTION.
    IF SY-BATCH EQ 'X'.
      PERFORM DISPLAY1.
      PERFORM DISPLAY2.
    In DISPLAY1 use REUSE_ALV_LIST_DISPLAY to display data from outtab1.
    In DISPLAY2 use REUSE_ALV_LIST_DISPLAY to display data from outtab2.
    For example : execute this report in background mode.this will not execute in online mode.
    After execution you will get two spools one for KNA1 and one for LFA1 data. Spool can be controlled via IS_PRINT structure.
    report  zrbackground.
    data gt_lfa1 type standard table of lfa1.
    data gt_kna1 type standard table of kna1.
    start-of-selection.
      select * from lfa1 into table gt_lfa1 up to 10 rows.
      select * from kna1 into table gt_kna1 up to 20 rows.
    end-of-selection.
      if sy-batch eq 'X'.
        perform display_lfa1.
        perform display_kna1.
      endif.
    *&      Form  DISPLAY_LFA1
          text
    -->  p1        text
    <--  p2        text
    form display_lfa1 .
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program = sy-repid
          i_structure_name   = 'LFA1'
        tables
          t_outtab           = gt_lfa1
        exceptions
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " DISPLAY_LFA1
    *&      Form  DISPLAY_KNA1
          text
    -->  p1        text
    <--  p2        text
    form display_kna1 .
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program = sy-repid
          i_structure_name   = 'KNA1'
        tables
          t_outtab           = gt_kna1
        exceptions
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " DISPLAY_KNA1
    Please let me know if its not clear or you need more info.
    Thanks,
    Abhishek
    Edited by: abhishek sinha on May 8, 2009 7:42 PM
    Edited by: abhishek sinha on May 8, 2009 8:45 PM

  • Pop up message in Background execution

    Hello everybody!
    I created a Pop up message in AT-SELECTION-SCREEN event and it's working well in online mode. However, when I try to execute the same program in Background mode, the SE37 transaction does not show me the list at spool.
    Question: Does SAP allow the execution in background mode with pop up messages?
    Thanks!
    Michel Khouri
    Mars, Inc

    Hi,
    in at selection-screen generally we will not use the Information Message, so i think in your case it is Error message. so Obviously it will not work.
    i guess you are using error message.
    Regards
    vijay

  • Excludes for Background Execution...?

    Hi All,
          What are the things that doesn't work in background mode of execution of a program and the
    reasons for this type of technical behaviour...?
          For example, the function module 'GUI_DOWNLOAD' can't run in background mode. One of the
    reason is 'Codepage can not be selected'.

    Anything that requires either User intervention or Presentation Server access will not be able to run in the background
    User Interaction - Since in background mode, the program cannot be stopped to ask for user input
    (this includes calling RFC FMs remotely using an RFC destination which doesn't have the password saved)
    Presentation Server access - since a background job runs on the application server and has no access to your presentation server

Maybe you are looking for

  • Capturing using DV device

    So I have a digital converter attached to my MAC with firewire that I run my camera through to capture video. Before I was capturing to imovie, then transfering to FCE. As noted by Tom, that was a poor way to get video into FCE. So I read the section

  • How to change the argument input in a jnlp file?

    A question associated with the following few lines of jnlp codes: <application-desc main-class="Main"> <argument>arg</argument> </application-desc> My question is: "How can 'arg' be changed dynamically? Thanks for help.

  • Iphone changes time in calendar sync with Mac?

    Can anyone help? I have a 24" mac running Leopard 10.5.7 and an iPhone 3G. When I sync the two any calendar events I have on the Mac arrive on the iPhone with the time changed by 8hrs (it moves them 8 hours earlier). Does anyone know what I have to d

  • Shopping cart deletion

    Hi SRM gurus,    Can a shopping cart be deleted after approval and before creating a purchase order .We are using classic scenario .Please help me out. Thanks, Radha

  • FRM-92101 - Madness!

    Hi Folks, Just a quick note to share my experience of dealing with this evil error message. Normally when it appears, I use the debugger to track down the trigger or procedure in which it occurs, add a few 'NULL;' lines to the code, recompile and voi