2009 May 28 4:53 PM
Hello,
I need help.
I want to send mail with an attachement; is a document .csv. The program is going to use in background.
The problem is that I know the field separator ( but I don't how can i do to jump a line.
My code is like that:
text = CL_DOCUMENT_BCS=>string_to_soli( IP_STRING = lv_line ).
attachment = cl_document_bcs=>create_from_text(
i_text = text
I_DOCUMENTTYPE = 'CSV'
i_length = '11'
i_subject = 'attachment...' ).
add (existing) attachment to main document
CALL METHOD DOCUMENT->ADD_DOCUMENT_AS_ATTACHMENT
EXPORTING
IM_DOCUMENT = attachment
.
Hello,
I need help.
I want to send mail with an attachement; is a document .csv. The program is going to use in background.
The problem is that I know the field separator ( but I don't how can i do to jump a line.
My code is like that:
text = CL_DOCUMENT_BCS=>string_to_soli( IP_STRING = lv_line ).
attachment = cl_document_bcs=>create_from_text(
i_text = text
I_DOCUMENTTYPE = 'CSV'
i_length = '11'
i_subject = 'attachment...' ).
add (existing) attachment to main document
CALL METHOD DOCUMENT->ADD_DOCUMENT_AS_ATTACHMENT
EXPORTING
IM_DOCUMENT = attachment
.
2009 May 28 4:55 PM
Hello again,
I forgot this previous code of lv_line.
lv_line = 'werks;bukrs\n1000;1000'
I want to show in the file:
WERKS BUKRS
1000 1000
Thanks in advance
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |