We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-dev] Sending four attachmets in email using so_new_document_att_send_api1

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by rmanju
on Sep 11 at 9:32 AM
I am using so_new_document_att_send_api1 to send four CSV attachments.
The internal table it_objpack consists of attachment details.
My problem here is to retrieve the exact rows to display in each attachment.

In the first and second attachment, the vales are populated correctly.
The third attachment retrieves both the value of 3rd & 4th Excel.


it_objpack-transf_bin = 'X'.
it_objpack-head_start = 1.
it_objpack-head_num = 1.
it_objpack-body_start = l_table_lines + 1.

DESCRIBE TABLE it_objbin LINES l_table_lines.


it_objpack-body_num = l_table_lines.
it_objpack-doc_type = 'CSV'.
it_objpack-obj_name = 'Wire IDOCS'.
it_objpack-obj_descr = 'Wire IDOCS'.
it_objpack-doc_size = l_table_lines * 255.
APPEND it_objpack.

There should be some changes made in the above code.

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language