Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from avikg on Jun 4 at 3:15 PM Thanks Terry for your message. But the thing is that the function module should be valid in SCM Landscape. In that case I have re declared a structure of SOLI and assigned to <output_struc> and then wrote the code mentioned by you. And later attaching the way I have done. It's working. But there is only single issue i.e. in a structure I have field which do summation of rest of the packed values, which it is not doing currently. But I am really thankful to you for all the help you offered over here. Regards, Avik
| | | ---------------Original Message--------------- From: Terry Barker Sent: Monday, June 04, 2012 1:21 PM Subject: How to Attach Dynamic Internal Table As Attachment in Mail 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 | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |