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

How to Add an 'attachment description' field to all transactions which include an attachment URL, and save this on a notification

Hi All,

Could you please help on the below requirement.

I have a attachment URL . Now i want to display the Description or name of the attachment in place of URL. When i click the description or name it has to trigger the URL.

Kind Regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2013 at 09:27 AM

    hi sudhir,

    In a scenerio of send an attachment through program i have faced this type issue , i have done it like this . the attachement subject itself is the attacment description. hope you can do like this.

    the code is like this :

    * * Attach the File, the Attachment type should be BIN to accept any kind of attachment

    * Including Videos, Audio files Etc..

    CALL METHOD cl_document_bcs=>create_document
    i_type = 'BIN'
    i_subject = 'Employe Terms and Cond PDF Attachment' "mail_subject
    * i_length =
    * i_language = SPACE
    * i_importance =
    * i_sensitivity =
    i_text = lt_message_body
    * i_hex =
    * i_header =
    * i_sender =
    result = lo_document.
    CATCH cx_document_bcs .

    *Add attachment
    i_attachment_type = 'PDF'
    i_attachment_subject = ' Application for mail PDF attachment' " attachment Description
    i_att_content_hex = t_att_content_hex ).

    CATCH cx_document_bcs INTO lx_document_bcs.


    hope it will resolve your issue.



    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.