2010 Sep 07 10:59 AM
Hi experts,
My requirement is to do something with specified materials created/changed in MM01/02 t.code. Because material must be created succesfull , there is no any EXIT for that.
Because of that I have configured abap events(SWEC, SWEL) which are triggered after MM01/02 commit.
To be sure that event was triggered by a specific transaction I have made EXPORT TO MEMORY in one of the USER_EXIT - without result (no values was later imported).
Is there any method to check which transaction has trigger the event ?
Also is there any chance get the values in IMPORT FROM MEMORY in event code ?
Really thanks.
Daniel.
Edited by: Daniel Duras on Sep 7, 2010 12:04 PM
Hi experts,
My requirement is to do something with specified materials created/changed in MM01/02 t.code. Because material must be created succesfull , there is no any EXIT for that.
Because of that I have configured abap events(SWEC, SWEL) which are triggered after MM01/02 commit.
To be sure that event was triggered by a specific transaction I have made EXPORT TO MEMORY in one of the USER_EXIT - without result (no values was later imported).
Is there any method to check which transaction has trigger the event ?
Also is there any chance get the values in IMPORT FROM MEMORY in event code ?
Really thanks.
Daniel.
Edited by: Daniel Duras on Sep 7, 2010 12:04 PM
2010 Sep 07 11:29 AM
Hi,
I'm not sure if we can capture the tcode which triggered in the events. If for certain materials you would like to trigger, I would assume that it is required to be executed irrespective of the transaction which created / updated the same.
In the objkey you will be getting the material number. Which you can pass to tables ( By now it would have been saved in the database ) and get the relevant information for validation.
You can use INDX table to export and import.
Hope it helps.
Sujay
2010 Sep 07 11:54 AM
If in SWELS transaction you have enabled the trace. Then In SWEL transaction you will get the event triggered list
2010 Sep 07 12:04 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |