Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Trigger an event after an IDOC is being created.

Hi,

Can anyone tell me how to start on this:

I want to run a function module after an IDOC comes into our system (and is saved in the DB).

The idoc creates an inbound delivery and I have to change a value on this delivery.

I was trying to create an event that calls my function module.

Via the processing code of the IDOC I see that the object type: IDOCPACKET has an end event: MASSINPUTFINISHED

So I tried to create an enty with this object type and event in the transaction SWETYPV :

BOR Object Type IDOCPACKET MASSINPUTFINISHED SUBSCRIBE

And here in the details I've put Reciever Call: Function module and below the name of my function module. And put the linkage actived.

But now when I try transaction SWUE i don't seem to create the event. I'm wordering what I'm doing wrong...;

thanks!

Caroline,

Tags:
Not what you were looking for? View more on this topic or Ask a question