2008 Mar 20 10:01 AM
Hi ,
Currently landscape is updated to Unicode,
i'm getting blankspace after each character in the attachemnt.
i have tested the same program on diffrent servers which is working properly.
is this the unicode issue or help me out how to resolve the problem.
Hi Avinash,
Check entry of File type in table TSOTD.
Blank spaces after each character may be because of file type missing in table.
Refer a sample code to update file type table TSOTD .
After updating the file type try agaiin. Hope it solves ur issue.
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-001.
PARAMETERS : p_file TYPE so_obj_tp OBLIGATORY,
p_desc TYPE so_tp_des.
SELECTION-SCREEN END OF BLOCK b.
START-OF-SELECTION.
DATA: wa_tsotd TYPE tsotd,
wa_tsott TYPE tsott.
*-- File Type
wa_tsotd-objtp = p_file.
wa_tsotd-deflt = 'X'.
*-- File Type Description
wa_tsott-langu = 'E'.
wa_tsott-objtp = p_file.
wa_tsott-tpdes = p_desc.
*-- Update File type and Description
MODIFY tsott FROM wa_tsott.
COMMIT WORK.
MODIFY tsotd FROM wa_tsotd.
COMMIT WORK.
CLEAR: wa_tsotd,wa_tsott.
Reward points if this helps.
Manish
2008 Mar 20 10:03 AM
Hi,
when landscape is upgrade, first check unicode, syntax check and slin check. then u will find the differences.
Regards,
Bhaskar
2008 Mar 20 10:06 AM
Hi,
It looks like Unicode issue only, but anyway.. have a look in the generated spool and find how it is coming there.
Reward if helpful.
Regards.
2008 Mar 20 10:16 AM
I have checked the using UCCHECK, there are no errors program is syntactically correct. I have tried to over come the problem using the class CL_ABAP_CONV_OUT_CE to convert the attachment content to external format.
But i don't this is the right solution, i need to add the logic as per the external system in all the program which sends the attachment through mail.
2008 Mar 20 10:28 AM
Hi Avinash,
Check entry of File type in table TSOTD.
Blank spaces after each character may be because of file type missing in table.
Refer a sample code to update file type table TSOTD .
After updating the file type try agaiin. Hope it solves ur issue.
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-001.
PARAMETERS : p_file TYPE so_obj_tp OBLIGATORY,
p_desc TYPE so_tp_des.
SELECTION-SCREEN END OF BLOCK b.
START-OF-SELECTION.
DATA: wa_tsotd TYPE tsotd,
wa_tsott TYPE tsott.
*-- File Type
wa_tsotd-objtp = p_file.
wa_tsotd-deflt = 'X'.
*-- File Type Description
wa_tsott-langu = 'E'.
wa_tsott-objtp = p_file.
wa_tsott-tpdes = p_desc.
*-- Update File type and Description
MODIFY tsott FROM wa_tsott.
COMMIT WORK.
MODIFY tsotd FROM wa_tsotd.
COMMIT WORK.
CLEAR: wa_tsotd,wa_tsott.
Reward points if this helps.
Manish
2008 Nov 03 11:45 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |