2006 Jan 16 11:15 AM
Hi all,
I need to send a mail thru sap connect which contains the xls attachment, In this attachment the header part(i.e) (columns heading(more than 255 chars))some of the headings are getting truncated. but in the data part all datas are showing without any truncation. plz advice where is problem? is this with length of header or some other
.Below is sample code:
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'ORDERS'.
APPEND objhead.
Creation of the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'XLS'.
objpack-obj_name = 'WEBSITE'.
objpack-obj_descr = 'Test.XLS'.
objpack-doc_size = tab_lines * 255.
APPEND objpack.
Note : objbin contains tow records
1. header(its above 255 chars) - its getting truncated
2. corresponding data - it show all the values but some of heading are missing
plz anybody can give me suggesstion how to proceed.
Thx,
palani
Hi all,
I need to send a mail thru sap connect which contains the xls attachment, In this attachment the header part(i.e) (columns heading(more than 255 chars))some of the headings are getting truncated. but in the data part all datas are showing without any truncation. plz advice where is problem? is this with length of header or some other
.Below is sample code:
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'ORDERS'.
APPEND objhead.
Creation of the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'XLS'.
objpack-obj_name = 'WEBSITE'.
objpack-obj_descr = 'Test.XLS'.
objpack-doc_size = tab_lines * 255.
APPEND objpack.
Note : objbin contains tow records
1. header(its above 255 chars) - its getting truncated
2. corresponding data - it show all the values but some of heading are missing
plz anybody can give me suggesstion how to proceed.
Thx,
palani
2006 Jan 16 11:24 AM
In the documentation the doc size is calculated like this:
(lines - 1) * 255 + (length of last line)
Probably not relevant, but who know...
2011 Aug 16 5:58 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |