2012 Jun 06 4:57 PM
Hi,
Through program i need to send e-mail and text file as a attachment, to do this i am using SO_NEW_DOCUMENT_ATT_SEND_API1 function module.
E-mail is send to external user and also attachment is being send.
But lines in the file are getting truncated, the text in line is displayed only upto 129 characters whereas maximum legnth is 255.
I have set DOC_SIZE parameter of packing list to --> ( lv_tab_lines - 1 ) * 255 + STRLEN( wa_message ).
lv_tab_lines varaibles contain the total number of record in the attachement data internal table.
wa_message is the work area for the internal table.
I am converting the attachment data(internal table) into hex data by using FM SO_SOLITAB_TO_SOLIXTAB and passing the converted data to parameter of fm CONTENTS_HEX.
In debugging mode I can see full data before converting it to hex data but in attachment file the text in line is displayed upto 129 characters only.
Is there any way to display full line.
Regards,
Fattesingh
2012 Jun 06 5:25 PM
Hi,
Try to use CL_BCS class, check for example programs starting with BCS_EXAMPLE*.
BCS_EXAMPLE_1
BCS_EXAMPLE_2
BCS_EXAMPLE_3
BCS_EXAMPLE_4
BCS_EXAMPLE_5
BCS_EXAMPLE_6
BCS_EXAMPLE_7
BCS_EXAMPLE_8
Thanks & Regards
Bala krishna
2012 Jun 06 5:25 PM
Hi,
Try to use CL_BCS class, check for example programs starting with BCS_EXAMPLE*.
BCS_EXAMPLE_1
BCS_EXAMPLE_2
BCS_EXAMPLE_3
BCS_EXAMPLE_4
BCS_EXAMPLE_5
BCS_EXAMPLE_6
BCS_EXAMPLE_7
BCS_EXAMPLE_8
Thanks & Regards
Bala krishna