BKPF- CREATED event executing 3 times (we are expecting just once)

We have created a custom event to trigger on BKPF->CREATE. We are noticing that the simple act of updating the payment block on the invoice header is causing this event to be triggered three times. We can see this in the Event Trace in transaction SWEL. There are three identical entries that execute at the same time stamp.
Can anyone help me understand where I should be looking to figure out why this event is being tripped multiple times when it should only be happening one time?
Kind Regards,
Andy

We have created a custom event to trigger on BKPF->CREATE. We are noticing that the simple act of updating the payment block on the invoice header is causing this event to be triggered three times. We can see this in the Event Trace in transaction SWEL. There are three identical entries that execute at the same time stamp.
Can anyone help me understand where I should be looking to figure out why this event is being tripped multiple times when it should only be happening one time?
Kind Regards,
Andy

Similar Messages

  • Create events over multiple time zones

    Hello again,
    How do I create events over multiple time zones? For instance, a plane leaves on GMT time zone and lands on GMT+5.
    If iCal doesn't allow this, what is your suggested approach in this case?
    Thanks in advance!

    You're right, iCal doesn't allow this.
    I just add the abbreviation for the timezone at the end of the title. For example: "AA Flight 407 - CDT", keeping in mind that the block of time for that event showing in iCal is always in that time zone.
    It's not ideal, but it works for me.

  • Again..What elapse time you are expecting for this query..

    Hi Again want to confirm with you Oracle gurus ...
    Does following plsql code really takes time in mins
    I do not used to deal with clob data so can not say why there is so delay..
    -> TableA has 3000 rows with text_data clob column holding large clob data...
    -> TableB has some thing which i wnat to append in text_data column..
    -> Trying to minimize elapse time..
    declare
    cursor c1 is select object_id from TableA where object_type = 'STDTEXT' and rownum < 1000;
    TYPE v_object_id_t is table of TableA.object_id%type index by binary_integer;
    v_object_id v_object_id_t;
    cursor c2(p_object_id TableA.object_id%type) is
    select to_clob('<IMG "MFI_7579(@CONTROL=' || ref_id || ',REF_ID=' || ref_id || ').@UDV">' || substr('abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwx',1, round(to_char(systimestamp,'FF2')/2)-1)) temp_data
    from TableB where object_id = p_object_id;
    TYPE v_text_data_t is table of TableA.text_data%type index by binary_integer;
    v_text_data v_text_data_t;
    v_temp clob ;
    r2 c2%rowtype;
    begin
    open c1;
    loop
    FETCH c1 BULK COLLECT INTO v_object_id ;
    for i in 1..v_object_id.count loop
    dbms_lob.createtemporary(v_temp,TRUE);
    open c2(v_object_id(i));
    loop
    fetch c2 into r2;
    exit when c2%NOTFOUND;
    dbms_lob.append(v_temp,r2.temp_data);
    end loop;
    close c2;
    v_text_data(i) := '';
    v_text_data(i) := v_temp;
    -- DBMS_OUTPUT.PUT_LINE (length(v_text_data(i)));
    dbms_lob.freetemporary(v_temp);
    end loop;
    forall counter in 1..v_text_data.count
    update TableA
    set text_data = concat(text_data,v_text_data(counter))
    where object_id = v_object_id(counter);
    DBMS_OUTPUT.PUT_LINE ('Update performed!');
    commit;
    EXIT WHEN c1%NOTFOUND;
    end loop;
    close c1;
    exception
    when others then
    DBMS_OUTPUT.PUT_LINE ('Update not performed!');
    end;
    -- Last elapse time 333 sec for 8k text_data data if i use 16k block size
    -- Last elapse time 1503 sec for 2k text_data data if i use 8k block size
    ->> Am I going rigth way???
    Please Help...
    Cheers :)
    Rushang Kansara
    Message was edited by:
    Rushang Kansara
    Message was edited by:
    Rushang Kansara

    Here is an example that shows SQL and PL/SQL methods. Note that the DBMS_LOB.WriteAppend() call is the wrong call to use (as I did above. The correct call to use (for appending CLOB to a CLOB) is DBMS_LOB.Append() (as shown below).
    SQL> create table my_docs
    2 (
    3 doc_id number,
    4 doc CLOB
    5 )
    6 /
    Table created.
    SQL>
    SQL> create sequence id
    2 start with 1
    3 increment by 1
    4 nomaxvalue
    5 /
    Sequence created.
    SQL>
    SQL>
    SQL> create or replace procedure AddXML( rowCount number DEFAULT 1000 ) is
    2 cursor curXML is
    3 select
    4 XMLElement( "ORA_OBJECT",
    5 XMLForest(
    6 object_id as "ID",
    7 owner as "OWNER",
    8 object_type as "TYPE",
    9 object_name as "NAME"
    10 )
    11 ) as "XML_DATA"
    12 from all_objects
    13 where rownum <= rowCount;
    14
    15 tmpClob CLOB;
    16 xml XMLType;
    17 lineCount number := 0;
    18 docID number;
    19 begin
    20 DBMS_LOB.CreateTemporary( tmpClob, TRUE );
    21
    22 open curXML;
    23 loop
    24 fetch curXML into xml;
    25 exit when curXML%NOTFOUND;
    26
    27 lineCount := lineCount + 1;
    28
    29 DBMS_LOB.Append(
    30 tmpClob,
    31 xml.GetCLOBVal() -- add the XML CLOB to our temp CLOB
    32 );
    33 end loop;
    34 close curXML;
    35
    36 insert
    37 into my_docs
    38 ( doc_id, doc )
    39 values
    40 ( id.NextVal, tmpClob )
    41 returning doc_id into docID;
    42
    43 commit;
    44
    45 DBMS_LOB.FreeTemporary( tmpClob );
    46 DBMS_OUTPUT.put_line( lineCount||' XML object(s) were appended to document '||docID );
    47 end;
    48 /
    Procedure created.
    SQL> show errors
    No errors.
    SQL>
    SQL> -- add 3 CLOBs of varying sizes
    SQL> exec AddXML
    1000 XML object(s) were appended to document 1
    PL/SQL procedure successfully completed.
    SQL> exec AddXML(100)
    100 XML object(s) were appended to document 2
    PL/SQL procedure successfully completed.
    SQL> exec AddXML(500)
    500 XML object(s) were appended to document 3
    PL/SQL procedure successfully completed.
    SQL>
    SQL> -- what are the sizes of the CLOBs and the total size?
    SQL> select
    2 doc_id,
    3 SUM( ROUND( LENGTH(doc)/1024 ) ) as "KB_SIZE"
    4 from my_docs
    5 group by
    6 ROLLUP(doc_id)
    7 /
    DOC_ID KB_SIZE
    1 98
    2 9
    3 47
    154
    SQL>
    SQL> -- add an empty CLOB
    SQL> insert into my_docs values( 0, NULL );
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> -- note that the new CLOB is zero KB in size
    SQL> select
    2 doc_id,
    3 ROUND( LENGTH(doc)/1024 ) as "KB_SIZE"
    4 from my_docs
    5 /
    DOC_ID KB_SIZE
    1 98
    2 9
    3 47
    0
    SQL>
    SQL> -- we add document 1 to 3 to document 0 using SQL
    SQL> update my_docs
    2 set doc = doc || (select t.doc from my_docs t where t.doc_id = 1 )
    3 where doc_id = 0;
    1 row updated.
    SQL>
    SQL> update my_docs
    2 set doc = doc || (select t.doc from my_docs t where t.doc_id = 2 )
    3 where doc_id = 0;
    1 row updated.
    SQL>
    SQL>
    SQL> update my_docs
    2 set doc = doc || (select t.doc from my_docs t where t.doc_id = 3 )
    3 where doc_id = 0;
    1 row updated.
    SQL>
    SQL> commit;
    Commit complete.
    SQL>
    SQL> -- what are the sizes now?
    SQL> select
    2 doc_id,
    3 ROUND( LENGTH(doc)/1024 ) as "KB_SIZE"
    4 from my_docs
    5 /
    DOC_ID KB_SIZE
    1 98
    2 9
    3 47
    0 154
    SQL>
    SQL>
    SQL> -- we do the adds again, but time time using a PL/SQL procedure to do it
    SQL> declare
    2 cursor c is
    3 select doc from my_docs where doc_id in (1,2,3);
    4
    5 updateClob CLOB;
    6 appendClob CLOB;
    7 begin
    8 -- we must lock the row for update and then we can write directly
    9 -- to that row's CLOB locator (without using the UPDATE SQL statement)
    10 select
    11 doc into updateClob
    12 from my_docs
    13 where doc_id = 0
    14 for update;
    15
    16
    17 open c;
    18 loop
    19 fetch c into appendClob;
    20 exit when c%NOTFOUND;
    21
    22 -- we append the CLOBs to document 0
    23 DBMS_LOB.Append( updateClob, appendClob );
    24 end loop;
    25
    26 -- .. and commit the changes to document 0's CLOB locator
    27 commit;
    28 end;
    29 /
    PL/SQL procedure successfully completed.
    SQL>
    SQL>
    SQL> -- what are the sizes now?
    SQL> select
    2 doc_id,
    3 ROUND( LENGTH(doc)/1024 ) as "KB_SIZE"
    4 from my_docs
    5 /
    DOC_ID KB_SIZE
    1 98
    2 9
    3 47
    0 308
    SQL>

  • ExitFrame is executing 3 times, not once

    I have an exitFrame function in a Behavior script placed on
    frame 10 of my score. Inside of it, there are a pair of trace
    statements, and a function is called. The two trace statements and
    the function execute three times, where I expect that they would
    only fire once. What is causing this? Does the play head exit the
    frame three times? Do I need to delete the whole thing after it
    executes once?
    There is a 3D sprite on the stage that is introduced at frame
    10. Does this create some sort of stutter in the playback?

    Do you have any other scripts on the same screen that use an
    updateStage() command? That will cause everything on the
    stage to
    re-run their prepareFrame, enterFrame, and exitFrame scripts

  • Entourage Calendar Events: Dates and times are not being saved accurately

    After an event has been created and saved, the date and time will change pushing the event forward, but not consistently. Some events jump forward a few hours others an entire day or more. I've been using this program for many years without fault but this problem started several days ago after a recent automated software update. It is not only happening with newly created events, it has also altered events saved weeks ago! (note: time zone is set accurately in the System Preferences and Entourage)

    I would check Microsoft's Entourage 2004 forum to see if others have experienced the same issue. Entourage 2004 has been replaced with Entourage 2008 awhile back. It may be those issues are fixed with 2008 and will never be in 2004, or you may need a later patch for 2004. If the automated software update was Microsoft's I'd contact Microsoft, if it was Apple's, this may just be a sign you need to upgrade your Microsoft to keep up with Apple. Whenever you do a system level software update you always need to verify compatibility bugs don't exist with the newer system when you are talking about other third party software. There are way too many third party software titles out there new and old for Apple to test with its own system given the time frame people desire updates.

  • Has anyone had problems in v5.0a of Iplanet calendar installed on a Sun box with creating events and daylight savings time?

    Events created around 4/6/2002 at 8pm get created with the wrong time (9pm) and there are several other creation and display problems tied to Daylight Savings in April and October. Version 5.1 of the software seems to fix that but we are looking for a fix until we can upgrade. We have been using Windows systems to access the calendar.
    Thanks.

    We have not seen exactly this, but many users appointments are lining up in the wrong time slots. Also, when scheduling, the time display is off by an hour. We have found what looks like a temporary fix.
    We noticed that the problem only affects users who have the start of the week set to Sunday (when daylight savings time started). Setting the week to start on Monday fixed our display problems (you can do it in the users, options section).
    I am placing a support call w/SUN.

  • Event Executing Itself Multiple Times

    Hello Experts,
    I have created a validation in the Sales Order Form for checking the Item Gross Profit greater than 0 .
    When user press tab from the UnitPrice column this checking is done but system is executing the event multiple time
    rather than once .It makes the checking very slow each time this check occurs event occur mulitple times.
    Please suggest what to do .
    Thanks & Regards,
    Amit

    Hi,
    Please ensure that u r given necessary conditions before doing validation
    1. pval.BeforeAction = False
    2.Pval.ColumUID = "UrId"
    3.Pval.ItemUId = "UrMatId"
    4.pVal.InnerEvent
    By
    Firos C

  • How can I view my photos in "Events" like in iPhoto? How can I create events?  I have 55,000 photos and 1700 events so the only way I can possibly manage my photos is using events that are one slide in size.

    I have 55,000 images organized into about 1700 events. The only reasonable way to view my library is using events in iPhoto where each event has one image That still leaves 1700 images to sort through but that is a lot easier than 55,000 images.  In the side bar is a folder with "iPhoto Events" but those views still show all of the slides.  How can I create events and view my photos as events as in iPhoto?  Events are critical for large libraries and has been my primary way to sort images.
    Thanks!

    I had a problem a couple of months ago when iPhotos suddenly rearranged the order of my Events (Why won't iPhoto let me arrange my photos?) .  I was told "Use albums not events - events are not a good way to organize - albums and folder are designed for organisation and are very flexible".
    Haha!  I should have paid attention and read between the lines!  My iPhotos were highly organised groupings - not according to date but the way I wanted them - and it was so easy to do!  I see now that if I had them all in albums, as per the Apple Apologist suggestion, I wouldn't have this unholy mess I have been left with just to make iPhone & iCloud users happy.  I am now going through Photos and making Albums (of what used to be in my Events)  ... maybe I'll get this finished before they do another non user friendly update!

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • Events created on my iPhone 5 calendar are no longer syncing with iCal.

    Events created on my iPhone 5 calendar are no longer syncing with iCal on my Macbook Pro (Lion OSX). It works fine the other way around.
    I can't understand why, and cannot find a solution. Please help!

    You can no longer sync via iTunes. That method of sync was removed (and the 1000+ post thread is arguments over things tangientally related to that).
    You need to sync via other means than iTunes, then.
    One option is to use iCloud. If you sign into iCloud on all your devices, and then make sure your calendars are in the "iCloud" section on your devices, they should sync.
    If you don't want to use iCloud, you could use Google calendars, they operate much the same way (but may be less reliable).
    Or if you use Exchange for work, you could sync that way.
    Or if none of those are acceptable, you could install OS X Server and set up the calendar server on your local network and use it to sync. This is fairly straightforward "for setting up a UNIX calendar server" but it's not trivial and beyond the scope of a forum post to explain it all

  • "3.x Analyzer Server" EVENT taking more Time when Executing Query

    Hi All,
    When I am Executing the Query Through RSRT   taking more time. When I have checked the statistics
    and observed that "3.x Analyzer Server" EVENT taking more Time .
    What I have to do , How I will reduce this 3.x Analyzer Server EVENT time.
    Please Suggest me.
    Thanks,
    Kiran Manyam

    Hello,
    Chk this on query performance:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    Query Performance
    Reg,
    Dhanya

  • Pick a subject area at run time and create an analysis on this subject area.

    We have a requirement wherein we need to create analyses at run time. We want to give the flexibility to users to pick up a subject area on which they wish to create an analysis. This will be done through a dashboard prompt. Once the user picks up a subject area from the prompt, we will create the analyses at run time based on the selected subject area.
    The problem that we are facing at this point is how to create a dynamic 'FROM' clause for the analysis. As an example, consider the following scenario:
    1. There is a dashboard prompt called 'Select a DataStore'. The possible values are all the subject areas in the RPD. For simplicity, lets assume there are two values DS1 and DS2.
    2. If the user selects DS1, the analysis sql should be:
    select <colgroup1>, <colgroup2>
    from DS1;
    However, if the user selects DS2, the analysis sql should be:
    select <colgroup1>, <colgroup2>
    from DS2;
    Hence the requirement for a dynamic FROM clause.
    I tried using a presentation variable in the from clause but I get the sql syntax error.
    Is there a way of implementing this requirement?

    To work around the license issue, see the Microsoft Knowledge Base article LICREQST.EXE Requesting a License Key from an Object and download licreqst.exe. Run licreqst.exe and find "CWUIControlsLib.CWSlide.1" under the registered controls section and click on it. The license string at the top can be passed to Licenses.Add and then you should be able to dynamically create the Measurement Studio controls. For example:
    Private Sub Form_Load()
    Licenses.Add "CWUIControlsLib.CWSlide.1", "[Add license string from licreqst here]"
    Dim slide
    Set slide = Controls.Add("CWUIControlsLib.CWSlide.1", "slide")
    With slide
    .Top = 120
    .Width = 1215
    .Visible = True
    End With
    End Sub
    Creating controls like this would have an impact on performance since all calls are late bound. If you are using the Measurement Studio controls in a UserControl, though, you should not need to do this since the license would get compiled into the binary that contains the control. I don't think that you would have any problems creating your control since it would not be licensed.
    - Elton

  • ALV events for data_change  executing multiple times

    Hello Experts,
    I am using the event "data_changed" of cl_gui_alv_grid and its getting triggred multiple times based on
    no. of rows in my ALV grid output.
    For ex: if i have 5 rows and if i input a field in any cell in a new row, in data_changed event is triggered 2 times.
    The  LOOP AT er_data_changed->mt_mod_cells INTO ls_modified is executing 6 times as in above example
    even though is having only 1 entry.
    Can some one pls help me with this?
    Also i see the  toolbar event is often getting excuted multiples no of times making the application slow.
    Please suggest.
    Thanks
    Dan

    Dan,
    Maybe you've placed or doing something wrong, take this report as a pattern "BCALV_EDIT_03".
    Best regards,
    Alexandre

  • Since loading mavericks my calendar posts events one hour late.  That is, if mtg invite is for 9am it posts at 10am.  my pc clock and time zone are correct.

    Since loading mavericks my calendar posts events one hour late.  That is, if mtg invite is for 9am it posts at 10am.  my pc clock and time zone are correct.

    Hey Armando Stettner,
    Thanks for the question, and what a great question it is!
    With time zone support on, you can edit an individual event and change the time zone for that event. This list will include options for your default time zones, UTC, and "floating" - the latter of which is what you are looking for. Floating changes the event to occur at the specified time, local time.
    For information on changing an event's time zone, see the following resource:
    Calendar: Change an event’s time zone
    http://support.apple.com/kb/PH11531
    I look forward to hearing how this works for you.
    Cheers!
    Matt M.

  • Since I upgraded to Adobe Created Cloud, my photo editing processes are taking more than 10 times longer than they used to.  Why would this be?

    Since I upgraded to Adobe Created Cloud, my photo editing processes are taking more than 10 times longer than they used to.  Why would this be?

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

Maybe you are looking for

  • Limit transaction types when creating follow-up transactions

    Hi! We are operating in CRM 5. We have a requirement to only display certain tasks when creating followup document from an existing activity. Now, I thought that the copy control configuration would do the trick but I still see a big list of tasks, a

  • My Support Profile account broken - cannot see product details

    "My Support Profile" no longer functions properly and therefore I cannot manage my Apple products.  No one at Apple Support seems to know anythng about this or to whom, or where, to turn to get this fixed. Details of problem: When I log to My Support

  • Mac Book Air (mid 2013 thunderbolt) to a 30 inch 2560x1600

    Can i connect a Mac Book Air (mid 2013 thunderbolt) to a 30 inch 2560x1600 display? with the Mini DisplayPort to Dual-Link DVI Adapter or is it simpler than that? as the monitor has dual link DVI & HDMI 1.4

  • Music from itouch to computer

    I just got a new laptop and a new itouch. my old laptop was fried literally. i need to get the music from my old ipod put onto my new itouch and i would like it all on my new computer as well. any advice?

  • Bluetooth pairing no longer working

    Since upgrading to IOS7.0.3 my phone will no longer pair with the bluetooth in my car.  This is the only reason I can think of why the pairing would no longer complete.  Nothing else has changed.  Any ideas?