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

Dude about SO_OBJECT_SEND

Former Member
0 Likes
577

Hello Everyone,

i´m using fm so_object_send to send emails with one attached file of a financial document to . My requirement is to send various files in the same email, is this posible with this function?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
551

Hi

Kindly use

FM - SO_DOCUMENT_SEND_API1

1. Put all content together into the contents_bin or the contents_txt (or a combination of both).

2. Add entry into the packing_list table for each individual element.

objpack-transf_bin = 'X'.

objpack-head_start = body_counter.

objpack-head_num = 1.

objpack-body_start = body_counter.

objpack-body_num = tab_lines.

objpack-doc_type = extention.

objpack-obj_name = objhead.

move objhead to

objpack-obj_descr.

body_counter = body_counter + tab_lines.

objpack-doc_size = tab_lines * 255.

append objpack.

We keep a counter for each element. Provide the starting position of each element and its total lenght.

Regards

Renu

Hello Everyone,

i´m using fm so_object_send to send emails with one attached file of a financial document to . My requirement is to send various files in the same email, is this posible with this function?

1 REPLY 1
Read only

Former Member
0 Likes
552

Hi

Kindly use

FM - SO_DOCUMENT_SEND_API1

1. Put all content together into the contents_bin or the contents_txt (or a combination of both).

2. Add entry into the packing_list table for each individual element.

objpack-transf_bin = 'X'.

objpack-head_start = body_counter.

objpack-head_num = 1.

objpack-body_start = body_counter.

objpack-body_num = tab_lines.

objpack-doc_type = extention.

objpack-obj_name = objhead.

move objhead to

objpack-obj_descr.

body_counter = body_counter + tab_lines.

objpack-doc_size = tab_lines * 255.

append objpack.

We keep a counter for each element. Provide the starting position of each element and its total lenght.

Regards

Renu