Skip to Content
0

Special character is appended in Email excel attachment

Feb 27, 2017 at 11:14 AM

114

avatar image
Former Member

Hi Experts,

We are facing issue while sending excel file attachment through EMAIL here we are getting special character multiple '#' at the last column even my last column is not coming fully.Total columns character count is 180. For sending Email we are using FM SO_DOCUMENT_SEND_API1.

Thanks in advance

Regards,

Ravi K

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Raymond Giuseppi
Feb 27, 2017 at 12:00 PM
1

You could try to use class CL_BCS and not old fashioned FMs. You didn't explain which tool you used to create the Excel attachment?

Share
10 |10000 characters needed characters left characters exceeded
Oliver Wurm Feb 27, 2017 at 12:21 PM
-1

Hi Ravi,

extra characters at the end of the file could mean the file length is nor properly passed. Please check if FM SO_DOCUMENT_SEND_API1 is called with the column DOC_SIZE populated with the right value for each Attachment Line in tables parameter PACKING_LIST.Regards,Oliver
                            
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Don't use the FMs. Use the classes. The FMs have always been problematic. The classes work much better.

0
Richard Harper Feb 27, 2017 at 04:00 PM
0

Also, # when shown in a variable display denotes a non-displayable character.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 28, 2017 at 08:00 AM
0

Hi Experts,

Thanks for your inputs problem of '#' is resolved but still one more problem we are facing there are gaps between the Sentences For example if i want message as "SO blocked due to change in PO pricing" it will be coming as " Sale Order 0000001532 block ed due to change in PO pricing" or material number as " 26529131000RXBB1" then it will be coming like "2652913100 0RXBB1" or Quantity as " 50.000" then it will be coming like " 5 0.000" in mail excel attachment means gaps are coming also some of the quantity are left aligned in column and some of the quantity are right aligned in same column.

please help.

Thanks in advance

Regards

Ravi k


Share
10 |10000 characters needed characters left characters exceeded