cancel
Showing results for 
Search instead for 
Did you mean: 

Sending event with attachment from TM to EM

Former Member
0 Kudos

Hello TM/EM experts,

I Wonder if anybody already use TM to send event in EM with document attached.

It is possible in EM to attach a document and in TM you have a tab where you can put your attachment, but the link between these two things so not seem obvious to me.

Does any one know where the document added in TM are stored so maybe I can create an event if a new document has been added in this table ?

Thank you in advance for your time !

Perrine

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190756
Active Contributor
0 Kudos

Here something similar was discussed:

http://scn.sap.com/thread/3400190

Best regards,

Steffen

Former Member
0 Kudos

Hi Perrine,

The below link gives you Prerequisties (Path to save, Procedure (to add in RFC SAPTRX/BAPI_EH_ADDEVENTMSG_02 when TM sends data to SAP EM) and adding attachment via SAP EM WebUI.

Adding Attachments to Event Messages

When SAP TM sends with attachment, it sends via RFC /SAPTRX/BAPI_EH_ADDEVENTMSG_02 or BAPI EventHandler.AddEventMessages02, it fill blocks in the table TRACKFILEBIN (binary file) or TRACKFILECHAR (text file) and fill the fields in header table TRACKFILEHEADER.  You can see in above link, how the flow happens.

However, if you are too specific about SAP TM where the documents are stored, then the ideal place would be SAP TM forum to post this discussion.

Regards


GGOPII

Former Member
0 Kudos

Thank you Gopi,

I will move my topic then.

Perrine

former_member186607
Active Contributor
0 Kudos

Hi,

I do not know anybody, who already did this, but it should be possible by enhancing the TM standard as described in your TM thread: http://scn.sap.com/thread/3716530

Best regards, Daniel