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

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

RE:[sap-dev] How to Attach Dynamic Internal Table As Attachment in Mail

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

Reply from TerryB on Jun 4 at 1:20 PM
You have to have a defined structure for <OUTPUT_STRUC>. That structure would be the same as your dynamic itab, except the packed fields would be replaced by text fields. The key to this technique is that the two structures must have the same number of components, in the same order.
Once you have an itab with all the packed values converted to text, try function module CBRC_LIB2_CONVERT_ITAB_TO_CSV to convert it to a tab-delimited byte stream that you will attach to the email.
Cheers,
Terry

---------------Original Message---------------
From: Avik Ghosh
Sent: Tuesday, May 29, 2012 8:03 AM
Subject: How to Attach Dynamic Internal Table As Attachment in Mail

HI All,

I have a requirement, where I need to attach a dynamic internal table as excel to email. The email integration part is done, however I am facing issues while attaching the content of the dynamic internal table to excel.

Regards
Avik

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
 
TerryB  
Senior SAP Developer
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

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