Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with Mail attachement

Former Member
0 Likes
670

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 ,

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.

5 REPLIES 5
Read only

Former Member
0 Likes
646

Hi,

when landscape is upgrade, first check unicode, syntax check and slin check. then u will find the differences.

Regards,

Bhaskar

Read only

Former Member
0 Likes
646

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.

Read only

Former Member
0 Likes
646

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.

Read only

Former Member
0 Likes
646

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

Read only

Former Member
0 Likes
646

Got the answer