Application Development 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: 

SO_NEW_DOCUMENT_ATT_SEND_API1

MichiFr
Participant
0 Kudos

Hi,

I'm using the mentioned FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail to specific SAP users.

I'm adding some text in the body of the message and wanted to add the same functionality like R/3 uses when sending workflow messages with an added attachment.

To clarify a little more: When the system sends a workflow message which has got an attachment I can go into my inbox and click an URL-like line listed under "Objects and Attachments" inside the message pane at the bottom of the Business Workplace.

Using this way I can open the attachment e.g. with Windows Notepad or smthg similar.

How can I create a message using the FM from above and add a "link" inside the message text to jump to a given transaction?

I already use the parameters

doc_chng-proc_type = 'T'.
doc_chng-proc_name = 'IW53'.
doc_chng-skip_scren = 'X'.

objpara-name = 'IQM'.
objpara-low = '20000063'.
APPEND objpara.

to jump to transaction e.g. IW53, however I have to use the context menu of the mail entry and click at item 'Execute'.

cu,

Michael

1 REPLY 1

vinod_gunaware2
Active Contributor
0 Kudos

Hi

In standard mail task.

double click on that particular(Mail sent).

By default there is method 'SELFITEM'. U just need to f4

and pick the methods as per ur requirement.

NOTES_APPEND Add attachements

NOTE_APPEND Append attachements

NOTE_Change Change attachements

NOTE_create creeate attachements

NOTE_Display Dispaly attachements

This may be usefule to u

Regard

vinod