Skip to Content
author's profile photo Former Member
Former Member

am getting problem in this program problem is when am sending mail via Excel document

please help me ..... am getting problem in this program problem is when am sending mail via Excel document... am not able get the header all the fields ...because solist1 line length is 255 by default ...But here my requirement is more than that so how to increase the LENGTH for the displaying remaining ............

iattach TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE, "default length 255

'

'

'

' FORM build_xls_data .

CONSTANTS:con_tab1 TYPE c VALUE cl_abap_char_utilities=>horizontal_tab, con_cret1 TYPE c VALUE cl_abap_char_utilities=>cr_lf.

* " Displaying Column Headings for Excel sheet

CONCATENATE 'Doc Category' 'Activity Type' 'Date' 'Time' 'Time Zone' 'Mobile User' 'User Group' 'User Name' 'Transmit Type' 'App Mode' 'Logical system' 'Communication Number' 'Device Platform' 'Device Type' 'Device ID' 'Device Serial Number' 'Device UDID' 'SAP Object ID' 'Activity Number' 'Deletion Flag' 'Document Type' 'Activity Type' 'First Name' 'Last Name' 'Company Code' 'Plant' 'Area'

INTO iattach SEPARATED BY con_tab1. APPEND iattach .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.