Event Handler is not being triggered- 11G Release2
Hi all,
I developed a postprocess event handler which I am expecting to be triggered when my custom task for trusted reconciliation run. I have deployed my event handler using plugin registration utility. I put a static block in my class to see if my class iz being initialized. I see that iti is initialized but event handler is never triggered (execute method is never called). Why it is not triggered? Any help is strongly appreciated... Below is my configuration for the event handler..
<?xml version='1.0' encoding='utf-8'?>
<eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel/orchestration-handlers.xsd">
<action-handler class="com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
entity-type="User"
operation="ANY"
name="PostProcessEventHandler"
stage="postprocess" order="1002"
sync="TRUE"/>
</eventhandlers>
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
<plugin pluginclass=
"com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
version="1.0"
name="PostProcessEventHandler">
</plugin>
</plugins>
</oimplugins>
Tahnaks in advance,
BR
ALİYE
Hi Nayan,
I have cheked the plugins table and my plugin is in there.Thenchecked mds_paths table I have four records there (I have deployed and undeployed few times) wich are as follow:
path element name
http://www.oracle.com/schema/oim/platform/kernel action-handler
http://www.oracle.com/schema/oim/platform/kernel action-handler
http://xmlns.oracle.com/schema/oim/platform/kernel eventhandlers
http://www.oracle.com/schema/oim/platform/kernel eventhandlers
Which schema is corrent? Is there something wrong with these records that causes my handler to do not trigger ?
Thanks a lot
BR
Aliye
Similar Messages
-
Button's Event Handler Method not getting triggered
To add a button I have written the following code:
clear ls_button.
l_import = 'Mass Upload'.
l_enabled = 'X'.
clear ls_button.
ls_button-on_click = 'UPLOAD'. "IMPORT FILE
ls_button-text = l_import.
ls_button-enabled = l_enabled.
INSERT ls_button INTO rt_buttons INDEX 5.
Created a new Event Handler method for it and wrote the following code:
gr_file_popup = comp_controller->window_manager->create_popup(
iv_interface_view_name = 'ZSRQM_INCID_H/FileUploadwindow'
iv_usage_name = 'ZCufileupload'
iv_title = l_title ).
gr_file_popup->set_on_close_event( iv_view = me iv_event_name = 'upload' ).
gr_file_popup->open( ).
When i run in th component in debug mode,my event is not getting triggered.
Please suggest.
Regards
NajamTry the following code in first part...
clear ls_button.
l_import = 'Mass Upload'.
clear ls_button.
ls_button-on_click = 'UPLOAD'. "IMPORT FILE
ls_button-text = l_import.
ls_button-page_id = me->component_id.
ls_button-enabled = abap_true.
INSERT ls_button INTO rt_buttons INDEX 5. -
Overhead user exit (COOM0001) not being triggered for specific plant
Hello all,
I was wondering if anyone came across this situation before. I activated user exit COOM0001 for overhead calculation. This user exit is triggered when I create PCE for plant A but not plant B.
I can't figure out why it is not being triggered for plant B at all. I put a break point in function module EXIT_SAPLKASC_001, EXIT_SAPLKASC_002 and EXIT_SAPLKASC_003 and the system didn't stop in anyone of these function module.
Any help is greatly appreciated.
Regards,
CassandraHi
It seems that you are a Functional Consultant.
Please follow the following simple step for any userexit to see where all its been called.
1. Go To T. Code SMOD
2. Enter the Exit name COOM0001
3. Click on the COMPONANTS RADIO BUTTON and DISPLAY
4. U get Function Modules
EXIT_SAPLKASC_001
EXIT_SAPLKASC_002
EXIT_SAPLKASC_003
5. Now individually double click on each FM and put a break point ther.
6. Open a new session and see wheather it stop at the break-points of the T. code you are looking for.
I havent used this user exit, so no comments on how it ll be use ful.
Reward points if useful
Thank-You
regards
vinsee -
Event Handler is not getting trigger for Freely Programmed search help
Hi All,
I am having a component comp1 defined for value help with one event. In component comp2 i want to call the comp1 but the event handler which i have created is not getting triggered. Any reasons for it.
Thanks
RaghavendraHi Kumar,
Please check these forum threads.
Re: Help required on Freely Programmed Input help
Re: Custom search help -
Handling Unit not being assigned to TO for an outbound delivery
Hi All
When I create a TO for an outbound delivery then a handling unit is not being assigned to the TO.
I cannot confirm the TO as it complains about the non assignment of HU.
I have done the following so far:
1. Set up a default packing material w.r.t WhNo and movement type.
2. Defined a packing group and then assigned the packing group to the packing material.
3. Set 1 to the indicator for automatic HU creaion in customizations for automatic HU creation.
Is there something I am missing in the configuration?
Any suggestions would help.
Thanks,
ArupHello,
HU never get assign at the time of creation of TO. You can assign pick HU at the time of confirmation of TO. There are two ways
Use transaction code LH01 and assign pick HU
OR
(ii)Or at the time of confirmation of TO click on pack tab and complete the packing
Thanks,
Milind C -
Integration Process is not being Triggered
Hi Gurus,
I have a file to file scenario in which I am using BPM to make a synch call in between.
Everything appears to be fine in IR and ID.
But, Intergration Process is not being determined as a receiver and hence, IP is not getting triggered.
When I checked the trace.
At top it says.. 1 Recvr is determined.
<Trace level="2" type="T">O U T B O U N D - B I N D I N G</Trace>
<Trace level="2" type="T">Cache Content is up to date</Trace>
<Trace level="2" type="T">determine OUTBOUND BINDING for:</Trace>
<Trace level="2" type="T">-SENDER_SYSTEM</Trace>
<Trace level="2" type="T">-IP_NAME</Trace>
At bottom it says.. no recr determined as shown below.
<Trace level="1" type="T">no interface found</Trace>
<Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
<Trace level="1" type="T">Hence set action to DEL</Trace>
Could you please help me to resolve this issue..
Thanks in Advance..
PushkarHi Bhavesh,
Thanks for a quick reply.. well.. cache refresh doesnt help me..
I created a couple of more scenarios.. n every where i m getting the same error..
When I check the IP in the process builder.. i.e. using transaction SXMB_MONI_BPE,
I find an extra container operation step "Initialize System Element" just after recieve step.
I am wondering about this step.. I have worked on BPM earlier but have never noticed this step..
Regards..
Pushkar... -
Hey all! We have Windows Integrated Authentication (WIA) working fine on our dev environment but for some reason can't duplicate it on our Prod servers.
By accessing the dev url it auto-authenticates me and I can see the SSO via the IIS log files.
However when I access our Prod URL the SSO files (SSOLogin.aspx) aren't being triggered.
I've checked that the SSO folder in IIS is set for Integrated Auth and anonymous access has been removed. Our config files look to be in sync and the auth service is set for SSO. I'm a little baffled why its not triggering.
Any ideas?Assign the listener to the stage, not this...
stage.addEventListener(KeyboardEvent.KEY_DOWN, eventKeyDown);
and be sure to Disable Keyboard Shortcuts via the Flash Player's Control menu options -
Dynamic Action not being triggered in Batch
Hi Gurus,
We have the below Dynamic Action that is not getting triggered when we run a Batch to Create IT2010. We are using TCode PTE1 to create the batch.
2010 4 5 P T001P-MOLGA='10'
2010 4 10 P PSPAR-TCLAS='A'
2010 4 12 P P2010-LGART='4023'
2010 4 15 I INS,2001,,,(P2010-BEGDA),(P2010-ENDDA)/D
2010 4 20 **P2001-AWART='0100'
2010 4 21 W P2001-AWART='1300'
2010 4 25 W P2001-STDAZ=P2010-ANZHL
I have read a few posts on how this can be done, but not very clear as to whether it can even be achieved.
This Dynamic Action works fine when we manually Create an IT2010 record via PA30, it creates the IT2001 in the background.
Cheers,
AnilHello Anil,
Please check the following note, I think note should be helpful in this case.
386027 Dynamic actions
1564499 Processing initial values which are not valid in
Best Regards,
Deepak. -
My action event handler isn't being invoked when I activate a button
The button is of type 'submit' and I have an event handler defined in my Page bean, but it isn't getting called.
Do you have a message group component on your page? There might be a validation or some other error that is preventing the action.
-
Mail not being triggered in background
Hi Experts,
I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail with attachments to the user. The program in which the FM is used is scheduled in background. The problem is in my dev system, the mail is getting triggered without any issues but in Quality system, the mail is not getting triggered but the job runs successfully. I got some expection with sy-subrc = 2 , sy-msgid = SO ,sy-msgtyp=A ,sy-msgno=013,sy-msgvi=ADDR_PERS_COMP_COMM_GET in QA . When i tried to debug the background job, mail gets triggered successfully.
Can you please share your valuable suggestions in this regard.
Regards,
VijayalakshmiHi Vijayalakshmi..
Can you please check whether the mail is reaching your sap outbox using tcode sbwp..
From what i understood if it is working fine in DEV and not in quality then it could be the mail configuration issue in QA.
You can also try one more thing. just got to sbwp and send a mail to the email id.
Regards
Ansari -
DATA_CHANGED event handler is not triggered after input.(OO ALV)
Dear Experts,
What I did:
I register Enter as the trigger event for data_changed event, and I put my checking logic in data_changed_handler which is a method of a local class. When the checking fails, I put messages using er_data_changed->add_protocal_entry to show messages.
My checking is simple, if the cell is empty, error messages pops up tells that this cell can not be blank for this row.
My problem:
When there is no entry in the alv list(Only this situation), I insert a new entry, the cell which is required is empty, I press Enter, data_changed event is triggered, the message pops up saying that the cell is required. Then close the pop up message window, I input something in the cell, and press enter. The data_changed event is not triggered.
Is there any1 has any ideas on this problem?
Vicnent
Edited by: Changjiu Tan on Sep 7, 2009 1:33 PMMETHOD HANDLE_DATA_CHANGED. "#EC NEEDED
*<<< BEGIN MODIFY EXAMPLE CODE
* u4FDDu5B58u30C7u30FCu30BFu3092u7DE8u96C6u3059u308Bu3000START
DATA: LW_INS TYPE LVC_S_MOCE,
LV_FNAME TYPE LVC_FNAME,
LW_MOD TYPE LVC_S_MODI,
LV_MAX TYPE I,
LV_RES(12) TYPE C,
LW_LIST TYPE ZTSRE012,
LV_ROWID TYPE LVC_S_ROID,
LT_MOD TYPE LVC_T_MODI,
LV_COLID TYPE LVC_S_COL,
LV_ROW_ID TYPE LVC_S_ROW,
LV_COL_ID TYPE LVC_S_COL.
* u73FEu5728u306Eu30D5u30A9u30FCu30ABu30B9u4F4Du7F6Eu3092u53D6u5F97
CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
IMPORTING
ES_ROW_ID = LV_ROW_ID
ES_COL_ID = LV_COL_ID.
LOOP AT GT_LIST INTO LW_LIST.
IF LW_LIST-ID > LV_MAX.
LV_MAX = LW_LIST-ID.
ENDIF.
ENDLOOP.
* u30B0u30EBu30FCu30D7ID
LV_FNAME = CNS_ID.
LOOP AT ER_DATA_CHANGED->MT_INSERTED_ROWS INTO LW_INS.
LV_MAX = LV_MAX + 1.
CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
EXPORTING
I_ROW_ID = LW_INS-ROW_ID
I_FIELDNAME = LV_FNAME
I_VALUE = LV_MAX.
ENDLOOP.
CLEAR: LV_FNAME.
LT_MOD[] = ER_DATA_CHANGED->MT_GOOD_CELLS[].
* u30C7u30FCu30BFu30C1u30A7u30C3u30AF
LOOP AT LT_MOD INTO LW_MOD.
IF LW_MOD-FIELDNAME = CNS_ZZTTSN.
LV_COLID-FIELDNAME = LW_MOD-FIELDNAME.
LV_ROWID-ROW_ID = LW_MOD-ROW_ID.
CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
EXPORTING
IS_COLUMN_ID = LV_COLID
IS_ROW_NO = LV_ROWID.
CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
IMPORTING
E_VALUE = LV_RES.
IF LV_RES IS INITIAL.
CALL METHOD ER_DATA_CHANGED->ADD_PROTOCOL_ENTRY
EXPORTING
I_MSGID = CNS_MSGID
I_MSGTY = CNS_MSGTY
I_MSGNO = CNS_MSGNO
I_FIELDNAME = LW_MOD-FIELDNAME
I_ROW_ID = LW_MOD-ROW_ID.
ENDIF.
CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
EXPORTING
I_ROW_ID = LW_MOD-ROW_ID
I_FIELDNAME = LW_MOD-FIELDNAME
I_VALUE = LV_RES.
ENDIF.
CLEAR: LV_RES,
LV_COLID,
LV_ROWID.
ENDLOOP.
CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
EXPORTING
IS_ROW_ID = LV_ROW_ID
IS_COLUMN_ID = LV_COL_ID.
ENDMETHOD. "handle_data_changed
Edited by: Changjiu Tan on Sep 7, 2009 1:31 PM
Edited by: Changjiu Tan on Sep 7, 2009 1:32 PM -
BTE 1020 not being triggered though everything is active.
I have implemented BTE 1020. In BF24, I have a customer product called ZBTE2040, text, no RFC, and active is checked. In BF34, I have event 00001020, product ZBTE1020, no country or appl, and my "Z" function module. When I go through debug, I'm coming to a part in the SAP code that is not working correctly. When the FM OPEN_FI_PERFORM_00001020_E is called, I can see that it goes to table TBE34 and finds my customer product from BF24. There is however a part of the code from LITSRF01 (form TABLE_FILL) that is not working:
*------ At this stage, there can only be one entry left -
READ TABLE ITPS34 INDEX 1.
IF SY-SUBRC = 0
AND NOT ITPS34-PRDKT IS INITIAL.
CLEAR TBE24.
Read data from context -
SUPPLY PRDKT = ITPS34-PRDKT
TO CONTEXT CP_CT.
DEMAND RFCDS = TBE24-RFCDS
AKTIV = TBE24-AKTIV
FROM CONTEXT CP_CT.
Application activated ? -
IF TBE24-AKTIV = 'X'.
MOVE-CORRESPONDING ITPS34 TO APCUSTAB.
APCUSTAB-RFCDS = TBE24-RFCDS.
COLLECT APCUSTAB.
CLEAR EMPTY.
ENDIF.
ENDIF.
========================
When it executes the DEMAND statement above, field TBE24-AKTIV is not filled in even though when I go to table TBE24, the field = "X". Through debug mode, if I go ahead and change the value to "X" after the DEMAND statement, my "Z" function module is executed.
Can anyone provide any insight? The system is SAP ECC 6.0.
ThanksHi,
I had the same problem once. Could not figure out what was causing it. I just activated everything and move the transport again. I am working in 4.6C though.
As you are debuging the code, i would suggest that you put a watchpoint on TBE24 and see where it is being populated first time and where else it is being changed. This way you can track down the reason why the AKTIV field is blank.
Let me know if you have any question.
Regards,
RS -
Workflow template PE_Approve01 not being triggered when attendee is booked
Hello
Have copied and configured the workflow template for approval of bookings. When i test the workflow from tcode swdd it is executed, but when i try and book an attendde for an event using tcode pv00 the workflow is not triggered. Is this the correct tcode that triggers the workflow or it needs ESS for it to work?I hope you might be using the workflow template WS1200160 for approval booking for this workflow tempalte you have to activate the event linkage between the BOR event PDRELA_025 -> moveRequested if your requirement is to trigger the workflow for Pre booking the you have to use the BOR event PDRELA_027 -> Created , all you have to do is ,
1. Goto PFTC transaction, select the task type as workflow template.
2. Mention the workflow template number open in chnage mode and clcik on the tab Triggering Events and select the BOR type as BOR and BOR any one one of the above mentioned BOR's and any one of the events and activate the linkage by clicking on the buton present in the first column... -
Network Policy Server Event ID 6272 not being forwarded to Event Collector.
Hi there
I have configured an Event Subscription to collect events from 2 DCs that run RADIUS for network switches. It appears the events are being forwarded okay, I am getting the Security events (Logon and Logoff) on the event collector PC. However I am not getting
any of the Network Policy Server security events (specifically Event IDs 6272), to centrally audit RADIUS logins to switches.
The subscription is collector initiated, and I have added Network Service to the Event Log Readers Group. Is there something I am missing in the setup requirements for these events to be forwarded?
Thank you,
Kind regards
HyltonHi Gabriel101,
Could you offer us more information about your environment, such as what edition server you are using, whether your AD and NPS role on the same server, whether your NPS working
properly now, whether you can receive others security auditing.
The related KB:
NPS Local Log File Status
http://technet.microsoft.com/en-us/library/cc735386(v=ws.10).aspx
Event ID 6272 — NPS Authentication Status
http://technet.microsoft.com/en-us/library/cc735388(v=ws.10).aspx
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Rule-Generator Adapter is not being triggered
I have created a rule-generator adapter and assigned it to pre-insert and pre-update of a process form (mapped the return value to process form field) but the system does not trigger the adapter when I add the resource to user. Any ideas why this happens?
Regards,
KostasI tried with an entity adapter but the effect is the same (restarted the server). It looks like the system does trigger the pre-insert and pre-update events. Any ideas?
Maybe you are looking for
-
Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them. For instance I have 1200 photos on my iPhone Camera Roll. Some of
-
Officejet Pro 8500 A909g All-in-One series, Printer Won`t print
The printer will not print from my computer running windows 7- 64bit. I am connected wirelessly through a Lynksys router with both the computer and printer, Howerver; I cannot get the printer to print from the computer. I have tried reinstalling the
-
A Designer with a H/Parallax and a bag of goodies
Hello, hopefully theres a person who knows the location to these - or can answer them??? Started using EA last week, and from a PS and AI background and I love it. But I have an issue with the concept that is taken shape, and now I cannot complete it
-
Hi all, In VA03 - header - Order data tab - i added a field A and i appended in VBKD DBtable . where can i write the code to save it. Edited by: vijay krishna on Jan 3, 2008 10:45 AM
-
Deploying from JDev 10131 to BPELPM in AS101202
Couple of questions: 1) Is it possible to do the above (across the versions above) ? 2) Why is it that when I go to the integration server connection server wizard, and go to step 2 of 3 (ie. "Connection"), and select a valid Application Server and h