‎2006 Oct 24 7:38 AM
Hi,
I use this as my testing code
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
get syntax error :
con_tab (con_cert) must be a char type data object .
I'm using ECC5.0 ,kernel 640,non-unicode.
I have try to use
CONSTANTS: con_cret(2) TYPE c VALUE '0D', "OK for non Unicode
con_tab(2) TYPE c VALUE '09'. "OK for non Unicodebut the attachment xls file have no content.
Also, i try
CONCATENATE ... in byte mode
get syntax error 2.
Any ideas?
Message was edited by: wayne weng
‎2006 Oct 24 8:43 AM
Hi,
Try:
CONSTANTS: con_tab(1) TYPE x VALUE '09'.
Best regards,
Guillaume
‎2006 Oct 24 8:58 AM
I feel the below statement should be replaced by
CONCATENATE con_cret it_attach INTO it_attach.
Replace it by
CONCATENATE it_attach con_cret INTO it_attach.
‎2007 Apr 25 7:19 AM