cancel
Showing results for 
Search instead for 
Did you mean: 

preprocessing of event handlers

former_member193027
Participant
0 Kudos

What is the functionality of preprocessing of event handlers.What are the benefits one derives by using this functionality.

Accepted Solutions (0)

Answers (2)

Answers (2)

sukumar_perumalsamy
Participant
0 Kudos

Hi Dipak,

Preprocessing Functionality provides the custom validation check before posting the events to event handlers .

Example when posting the event from webui or idoc  you can enable the date validation or location validation .

Sample scenario :

if you are posting a event from location which is not maintained in location master  based on custom check you can respond to event sender or park the idoc in error status and reprocess it later using BD87.

even you can enable the custom table validation which is not supported in standard EM solution.

BR

Sukumar

former_member190756
Active Contributor
0 Kudos

Preprocessing is carried out at the beginning of Event Message BAPI. You can change the Event Message, do customer specific checks etc.

It is used for various use cases.

Also check docu in SPRO.

Best regards,

Steffen

former_member193027
Participant
0 Kudos

Can you provide some examples to understand it better.Also for preprocessing to work is there any function module or just configuratiuon will activate this functionality.

Berthold_vH
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

you can have a look at this blog: http://scn.sap.com/community/scm/event-management/blog/2007/12/04/scem--web-interface-check-event-me...

It is an (old) example how you can use the preprocessing functions. You need to create the function via customizing under Event Messages, Status Queries, and Web Interface -> Define Criteria for Event Message Processing. Here you find also more information in the help.

Best regards,

Berthold

former_member190756
Active Contributor
0 Kudos

Hello Dipak,

check the TM-EM Integration guide:

http://help.sap.com/SCENARIOS_BUS2012/helpdata/EN/CC/EF6891DBCB4CF59ECC8BC77E680528/CG_TM_EM.pdf

and note 1527790.

There is an example that shows how you could use it. Only one use case for that you can use it but it shows what is possible.

Best regards,

Steffen