Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger Code on Service Entry Sheet Creation

Former Member
0 Likes
900

Dear All,

I'm in desperate need of assistance in order to run some code which will send email notification whenever a service entry sheet is created

I searched alot for a BADI that may enable this but didnt find any, I tried some of the user exits related to ML81 but didnt find the one which is ran immediatly after saving of a new service entry sheet, plus i don't think thats the best way to do it.

just today i researched a little about events in business objects and i found an event "ServiceEntrySheet.Created"; in BUS2091

in package ML, but i have no idea how i can utilize it in order to run some code which can have access to the specific entry sheet data and do some processing and email sending.

In summary , I need a way to trigger code whenever service entry is created, unfortunately i have no experience in workflows so not sure how i can use them, but if someone could point me to the right direction for implementing such requirement i'd appreciate it

3 REPLIES 3
Read only

Former Member
0 Likes
750

Hi,

Please check this user exit.

SRVMAIL Processing of mail before generation of sheet.

Regards

Hiren K.Chitalia

Read only

0 Likes
750

Hi Hiren,

I tested this exit serveral times but unfortunatly it doesnt get called in the process.

only one which i got to work is SRVESSR but it is triggered before not after saving.

thanks for response hopefully will get it to work.

Read only

0 Likes
750

hi khalid,
          Did you get any exit after save in service entry sheets. I have a requirement where i need the same type of exit after save. any help wud be great...