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

Email send from a dynpro

Former Member
0 Likes
1,056

Hi!!

During UI programming, when the user is saving the data, an email send is wanted.

My requirements:

1. a popup has to apper, where the user can enter any email addresses, but in this popup there has to be a few pre-defined email addresses.

2. Send the email to all given addressen in the popup, using the data what the user gave on the dynpro.

3. The data should appear within the email and NOT as an attachment.

Thank you in advance

Tamá

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,039

Hi,

check if u can use HR_FBN_GENERATE_SEND_EMAIL Fm........else use 'SO_DOCUMENT_SEND_API1'

For popup use POPUP_GET_VALUES der in the F4 help u can give the predefined mail IDs.

Cheers,

Will.

Edited by: Will smith on Jan 31, 2008 10:01 AM

Hi!!

During UI programming, when the user is saving the data, an email send is wanted.

My requirements:

1. a popup has to apper, where the user can enter any email addresses, but in this popup there has to be a few pre-defined email addresses.

2. Send the email to all given addressen in the popup, using the data what the user gave on the dynpro.

3. The data should appear within the email and NOT as an attachment.

Thank you in advance

Tamá

7 REPLIES 7
Read only

Former Member
0 Likes
1,040

Hi,

check if u can use HR_FBN_GENERATE_SEND_EMAIL Fm........else use 'SO_DOCUMENT_SEND_API1'

For popup use POPUP_GET_VALUES der in the F4 help u can give the predefined mail IDs.

Cheers,

Will.

Edited by: Will smith on Jan 31, 2008 10:01 AM

Read only

0 Likes
1,039

Unfortunately HR_FBN_GENERATE_SEND_EMAIL does not exists in 4.6c... The other one seems cool...

Is there an easy way to get unlimited email addresses using a popup window? An FM maybe?

Read only

0 Likes
1,039

For popup use POPUP_GET_VALUES der in the F4 help u can give the predefined mail IDs.

see the documentation for this FM in se37

Read only

0 Likes
1,039

Thanx, it will be good...

Read only

0 Likes
1,039

Tamás,

POPUP_GET_VALUES is good for more values as well (there is an internal table when you call the FM) however it is only good for a predefined number of possible entries, not that flexible, like you want...

hope this helps

ec

Read only

0 Likes
1,039

Hi,

No u can get more than one values in popup.........

Num of records in that salv table = no of fields in popup...........

u can give predefined email-ids in input hlp......

Cheers,

Will.

Read only

0 Likes
1,039

Yea, I figured it out also... Fortunately it's more easy than building up a new dynpro with table control so I've decided to use this one...