Event for infotype 1001 updates doesn't trigger

Hi everyone,
I'm facing the following problem at HR Workflow
I've created the object ZEHSBUS900, subtype of PDOTYPE_SH. And so, created two events: NOTIFYCREATE and NOTIFYUPDATE.
At SWEHR3 transaction, I have this two entries:
S     Position     1001     Relationships     A003     Belongs to     INS          0     ZEHSBUS900     NOTIFYCREATION
S     Position     1001     Relationships     A003     Belongs to     UPD          0     ZEHSBUS900     NOTIFYUPDATE
But when I create or update an infotype 1001, only the NOTIFYCREATION is triggered. I mean, the UPD operation doesn't work.
What is stange is that I've made this kind of implementation at another system and it's working fine ( a creation at 1001 triggers NOTIFYCREATION and modifications trigger NOTIFYUPDATE ).
Do you know what could be missing?
Thanks in advance,
Raphael Xavier

Hi Abdullah!
Thank you for the tip, but it still doesn't work this way. As what I've said before, what is strange is that problem occurs in one system and didn't occur in another one, and the same procedure was used in both.
What I did to "solve" this was using a function instead calling the event at SWEHR3. In this function there is a verification if it is an insert ou update operation and then a call to the function SWE_EVENT_CREATE.
It wasn't the best solution, but still was a solution.
If anyone has any idea what it can be, I'm still interested about it.
Raphael

Similar Messages

  • Creation of subtype for Infotype 1001

    Hi all
    My client wants two reporting realtionship ( like A002) to be done. So I tried through Matrix which i was unable to do so.
    I tried to solve this problem by copying the existing subtype A002 with time constraint 2 ( for IT1001). Everything is fine in IMG and when trying to create the relationship via subtype in Easy access it is throwing error as Time constraint is missing but when i checked it is there in the table .
    can anyone suggest how to handle this issue.
    Regards
    Raji

    Hi Raji,
    As I have understood with you is that the Time Constraint is not changed properly. My client also had a requirement at that time i prepared a document.
    If you put a mail on my ID [email protected] I will forward that document to you
    reg
    Govind

  • I've been using samsung for a long time and I just changed into an iPhone 5s and the most important thing I need is my calendar appointments , but in the notification center it doesn't show my events for tomorrow , will there be an updated or this soon?

    I've been using samsung for a long time and I just changed into an iPhone 5s and the most important thing I need is my calendar appointments , but in the notification center it doesn't show my events for tomorrow and it doesn't even show more than 1 event  , will there be an updated or this soon? Or should I just shift back to samsung?????

    Go to settings/notification centre and make sure today vie and calendar day view are both on

  • Segment E1PITYP occurs for each subtype of Infotype 1001 in update mode

    Hi,
    I am using transaction PFAL and IDoc HRMD_A for transferring HR data.
    In update mode the resulting IDoc contains segment E1PITYP for each subtyp (for example A002) of Infotype 1001 even if it contains no segments of type E1P1001.
    Could somebody explain this and is it possible to avoid this behavior?
    Thanks and regards
    Patrick

    Hi,
    thanks for your answer.
    Still I am little bit confused and want give an more detailed description of my problem.
    If I export an organizational unit in initial mode I have for example 5 segments of type E1PITYP and each of them has a subsegment (for example E1P1001).
    Export of the same organizational unit in update mode results in more than 200 segments of type E1PITYP and all of them without subsegment.
    This seems to happen for all infotypes (not only 1001 like I thought before).
    Now I want to understand why this happens and if it's possible to update an organizational unit without segments of type E1PITYP that don't have a subsegment.
    Regards
    Patrick

  • Good way to trigger exit event for VI's loaded in subpanels?

    Sorry if this is a novice question, but I haven't gotten much traction searching for an answer the last couple days.
    I have a setup that uses remote panels for an interactive "lab."  The panel loads a reentrant VI that is just a tab control, the front of which has a user/password/lab selection form, and upon proper credentials being entered tabs to one large subpanel.  This panel loads the selected lab VI, which is itself just a rudimentary VI with 2+ subpanels, each of which loads a specific instrument.  The instrument VI's are being held open by the subpanels, so that if the user closes the browser everything exits.  It all seems to work fine so far.
    What I'm wondering is if there is a simple way to force a handful of commands/cleanup-actions before these instrument VI's leave memory.  One device in particular ramps high voltage on start, and I'd like to ramp it down as part of a cleanup step.  Is there an easy way to incorporate this with my setup?  If not, what's the best way fundamentally to handle something like this?  I'm far from an expert, but if there is a lot better way to design a setup like this I'd love to hear it. 
    Thanks for any help.

    Thanks for the reply.
    I actually have toyed with both the application close? and panel close? events.  Panel close doesn't seem to trigger off a subpanel (I think I read that in the help too).  Application close doesn't trigger because I have to keep the highest level vi's front panel open or the remote panel doesn't display anything, and for my purpose that interface has to be active 24/7, even if individual labs aren't in use. 
    Maybe I should rephrase the question... is there any way to detect when a vi loaded in a subpanel is about to be taken out of memory because the subpanel is no longer viewing it? 
    I'm thinking if not perhaps there is a way to detect if a VI is loaded in a subpanel with another independent VI, and when that VI sees that the instrument VI in question is no longer running (due to the subpanel closing) it takes the appropriate action, rather than integrating cleanup into the instrument itself....  Anyone have any experience with this?

  • 640 - No event raised for Infotype 19 (SWEHR1/2/3)

    G'day all,
    I'm trying to raise events when Infotype 0019 is inserted/changed/deleted.
    I've had a poke through SWEHR1/2/3 to find similar entries. Most of the Person related infotypes are linked to Objects with an ultimate parent object of EMPLOYEEI. As such I've tried as an initial test to get the CREATED event of this object raised.
    In SWEHR1 I've created an entry as follows:
    Ob - P
    IT - 0019
    Obj.Type - EMPLOYEEI
    In SWEHR3 I've created entries as follows:
    Ob - P
    IT - 0019
    Updat - INS
    Obj.Type - EMPLOYEEI
    Event - CREATED
    Ob - P
    IT - 0019
    Updat - UPD
    Obj.Type - EMPLOYEEI
    Event - CREATED
    (This second update entry was simply to see if my problems were related purely to insertion.)
    When I create a 0019 record for an employee no event is getting raised.
    I've debugged through the Function HR_EVENT_CREATE while executing PA30 and in the end it calls SWE_EVENT_CREATE with everything looking fine. However no event is raised.
    We are on 640 basis supp.pk 15 now. OSS note 904851 was found and applied while we were still on 14.
    I can't find anything else on OSS, this forum or WUG that seems applicable.
    There aren't any ST22 Dumps, RFC issues or System Log entries.
    Can anyone shed light onto what I may be missing??
    Many thanks,
    Mark

    G'day all,
    Just a quick update. I received the following response from the MIT WUG which solved my issue. I've been waiting to see if I could get the same response from Alla here to be able to fully award points... oh well.
    Have fun,
    Mark
    >>>>
    You are right OSS note 904851 partially fixing the problem. It's required to have an active WF in order to publish an event.
    We are having the same problem with HR events and I got a replay from SAP support.
    “It’s an error in business workflow which has been corrected by the note no. 913330. Please implement it and the problem
    should be solved."
    I tested it and it's correcting the problem.
    Thanks, Alla Ostrowsky.
    <<<<<

  • Event ON_STD_FUNCTION_BEFO doesn't trigger

    Hi all,
    I need to add some check before ALV add a new line to the grid or remove one line from the gird, but the event ON_STD_FUNCTION_BEFO was not  triggered.And during debuging, I found that if the std is 'APPEDN ROW' or  'INSTER ROW' or 'CHECK_DATA' or 'Remove' the event won't be triggered but if the std is 'export' or 'print', it will be triggered.
    is there anything config should be done or anything else?
    Thank you very much!
    BR, Julia

    Hi,
      I'm facing the same problem and I found useful info in OSS note [1358811|https://websmp130.sap-ag.de/sap(bD1pdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1358811]
      it seems that ON_STD_FUNCTION_BEFO and ON_STD_FUNCTION_AFTE are triggered only for functions considered as service such as settings, settings_open, settings_close, filter, filter_define, filter_delete, sort, sort_define, sort_delete, pdf, export, export_excel...
      functions for deletion or inserting of rows are not treated this way and doesn't trigger any event. Function check is not treated as service but triggers event ON_DATA_CHECK.
      the relevant code is the method implementation IF_SALV_WD_COMP_TABLE_EVENTS~DO_FUNCTION_STD of class CL_SALV_WD_C_TABLE_V_TABLE.
    I think the only way to solve this is disabling standard function and replacing it with a custom function.
    Hope this helps.
    Stefano

  • Subsequent to Yosemite or updates, my repeating calendar events can not be updated as before. When I update an event (of the repeating event) on my MacBook Pro; its reverts back when I shut it down and come back, and doesn't update other devices?

    Subsequent to Yosemite or updates, my repeating calendar events can not be updated as before. When I update an event (of a repeating event) on my MacBook Pro; its reverts back when I shut it down and come back, and doesn't update other devices?
    Has anyone experienced this and does anyone know a fix?

    This is incredibly frustrating for me too!
    I have a repeated monthly event for a discount at a store that is offered on the first Tuesday of every month. So I have a repeated event taking place on the 1st of every month. In the previous month I reset next month's date from the 1st to whatever date falls on the first Tuesday.
    But ever since upgrading to Yosemite, I am experiencing the same problem as the original person who posted. The date saves on my calendar but does not sync to my iCloud. When I reboot the computer, the date reverts back to the 1st.
    I'm thankful I don't have any events that needed to be tracked because ALL of my previous changes in the past have reverted back to the 1st of the month. I would have been in the same terrible situation as yaz999 in having to manually change every event in previous months.
    Why hasn't this bug been fixed yet???!!!

  • Why doesn't my macbook pro let me update certain applications? It says "You have updates available for other accountsTo update this application, sign in to the account you used to purchase it.

    Why doesn't my macbook pro let me update certain applications? It says "You have updates available for other accountsTo update this application, sign in to the account you used to purchase it.

    it's also likely that you used two different apple IDs to purchase apps. if that's the case then you simply have to log out of your app store, and log into the other account to update the apps.
    from experience it's not possible to syncronise purchased content from two different accounts. but you can always give Apple a call.

  • My Itunes account tells me i need to update it to version 10.6.1, but when I click download and the computer (mac 2007) goes to the "checking for softwares" page it doesn't find the update?

    my Itunes account tells me i need to update it to version 10.6.1, but when I click download and the computer (mac 2007) goes to the "checking for softwares" page it doesn't find the update? Help me please, what do I do?

    Try updating to 10.6.3.25.
    A .dmg installer for iTunes version 10.6.3.25 for Mac OS can be found at the following download page on the Apple website:
    iTunes 10.6.3

  • Software Update doesn't have any new software for your computer at this time

    HI
    I manged to get all my updates downlaoded and on my server, i have currently enabled 133 of 400 updates.
    I have changed my snow leopard machine to point to the internal update server
    But then after a while of checking this displays software Update doesn't have any new software for your computer at this time
    Which is a Lie, because i know there are updates on the server that the computer needs to have.
    Any Ideas
    Many Thanks

    Oh i forgot to say in consol (from the client) i get can't instantiate distribution from server address  error Domain=NSXMLParserErrorDomain code=70 etc
    Any ideas anyone?

  • Function module for access OM Data from infotype 1001

    We had a function module for accessing OM data viz. Infotype 1001. Could you let me know.
    Advanced thanks,
    Dasaradh kosana

    Hi Dasaradh,
          Do you want the fm which fetches the data from HRP1001 , if this is the case you can use this FM RH_READ_INFTY_1001.
    Reward Points if it is helpful
    Regards,
    Kiran I

  • When i select an event for move to trash, it doesn't appear in the trash to be emptied. where is it?

    I have iMovie 10.0.4. When I select an event for 'move to trash' it doesn't appear in the trash to be emptied there. Where is it?

    Thanks for the reply, have checked and that seems to be the problem, I have plugged in my ipad and the missing app has appeared.

  • Update trigger syntax for multiple collumn update

    Hi
    I would like to create an update trigger that updates 3 collumns in another table.
    This works for one collumn:
    CREATE OR REPLACE TRIGGER DBNAME.Update_EVENT
    BEFORE UPDATE
    ON DBNAME.DB_EVENTS
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    UPDATE DB_EVENT_LOG ELOG
    SET
    COMPLETION_EVENT = :NEW.COMPLETION_EVENT
         WHERE :OLD.RECORD_ID = ELOG.RECORD_ID ;
    EXCEPTION
    WHEN OTHERS THEN
    -- log the error and re-raise
    RAISE;
    END ;
    but this does not work for multiple collumns:
    CREATE OR REPLACE TRIGGER DBNAME.Update_EVENT
    BEFORE UPDATE
    ON DBNAME.DB_EVENTS
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    UPDATE DB_EVENT_LOG ELOG
    SET
    (COMPLETION_EVENT
    , COMPLETION_DT_TM
    , COMPLETED_BY)
    =
    (:NEW.COMPLETION_EVENT
    , :NEW.COMPLETION_DT_TM
    , :NEW.COMPLETED_BY)
         WHERE :OLD.RECORD_ID = ELOG.RECORD_ID ;
    EXCEPTION
    WHEN OTHERS THEN
    -- log the error and re-raise
    RAISE;
    END ;
    What am i doing wrong?

    Try selecting from DUAL:
    SQL> CREATE TABLE emp_test AS SELECT * FROM emp
    Table created.
    SQL> CREATE OR REPLACE TRIGGER emp_trg
       AFTER UPDATE
       ON emp
       FOR EACH ROW
    BEGIN
       UPDATE emp_test
          SET (sal, comm) = (SELECT :NEW.sal,
                                    :NEW.comm
                               FROM DUAL)
        WHERE empno = :NEW.empno;
    END;
    Trigger created.
    SQL> UPDATE emp
       SET sal = 5000,
           comm = 5000
    WHERE empno = 7369
    1 row updated.
    SQL> SELECT empno,
           sal,
           comm
      FROM emp_test
    WHERE empno = 7369
         EMPNO        SAL       COMM
          7369       5000       5000

  • Problem in updating Data for infotype P0009 through BADI

    Hi,
    we are facing a problem while trying to update value of Date field for infotype P0009 through PA30.
    we have tried to update by using BADI hrpad00infty, we are providing value in new_innnn structure of method
    AFTER_INPUT, but the value is not getting updated for that PARNR.
    Can anyone help me regarding the same?

    Hi
    HRPAD00INFTY BADI methods don't allow to modify any values of the current record being processed, but there's a possible wworkaround accessing memory fields using field-symbols:
    method IF_EX_HRPAD00INFTY~AFTER_INPUT.
      FIELD-SYMBOLS: <fs> type p0009.
      assign ('(MP000900)P0009') TO <FS>.
    if sy-subrc eq 0. 
      <FS>-YOURFIELD = YOUR_VALUE.
    endif.
    endmethod.

Maybe you are looking for