Skip to Content
author's profile photo Former Member
Former Member

Add attachment to email with long attachment name

Hello fellow SDN-readers,

when using the FM "SO_DOCUMENT_SEND_API1" or class cl_document_bcs, you can add an attachment. In both cases the attachment name is limited to 50 chars. I need to send an attachment with a longer name.

How is this possible?

Regards

F.Braun

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 09:41 AM

    Hi,

    Even in SAP Business worplace the attachment name cant be more than 50 characters. This is a limitation.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 12:26 PM

    The problem is, that SAP internally, you can only use the 50 given chars. But it is possible to send an email to an external address with the filenam being longer than 50 chars.

    s. Blog from Gregor Wolf: [Extend Thomas Jungu2019s simple mail function with Attachment Filename|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3707] [original link is broken] [original link is broken] [original link is broken]; (Thx@Gregor)

    @Siva Prakash: interally you are right, only 50 chars allowed.

    Regards

    Friederike Braun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 12:27 PM

    see last comment.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.